IsPlayerCameraSet
Whether the mode’s camera holds the player’s view.
Syntax
Section titled “Syntax”IsPlayerCameraSet(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean - true after SetPlayerCamera until ResetPlayerCamera
Example
Section titled “Example”if not IsPlayerCameraSet(pid) then TogglePlayerControllable(pid, true) endSee also
Section titled “See also”SetPlayerCamera · ResetPlayerCamera · the Players group of the index
