ThirdPerson

Hook Documentation for Third Person Module.

Functions

MODULE:ShouldDisableThirdperson(client)

Runs to check if third-person view is allowed.

Parameters

  • client Player

    The player client to check.

Returns

  • any

    bool True if third-person view should be disabled, false otherwise.

MODULE:thirdPersonToggled(state)

Called when the third-person mode is toggled.

Parameters

  • state Boolean

    Indicates whether the third-person mode is enabled (true) or disabled (false).