Skip to content

IsPlayerCameraSet

Whether the mode’s camera holds the player’s view.

IsPlayerCameraSet(pid)
Parameter Type
pid number the player

boolean - true after SetPlayerCamera until ResetPlayerCamera

if not IsPlayerCameraSet(pid) then TogglePlayerControllable(pid, true) end

SetPlayerCamera · ResetPlayerCamera · the Players group of the index