Skip to content

IsPlayerControllable

Whether the player’s keyboard is theirs right now.

IsPlayerControllable(pid)
Parameter Type
pid number the player

boolean - false while held

if not IsPlayerControllable(pid) then SendClientMessage(pid, COLOUR_RED, "Wait for the round to start.") end

TogglePlayerControllable · the Players group of the index