Skip to content

IsPlayerInvisible

Whether a player is invisible to other players.

IsPlayerInvisible(pid)
Parameter Type
pid number the player

boolean - true while SetPlayerInvisible hides them; false when not connected. One viewer’s own rule may differ: IsPlayerVisibleTo

if IsPlayerInvisible(pid) then SendClientMessage(pid, COLOR_GOLD, "Nobody sees you.") end

SetPlayerInvisible · IsPlayerVisibleTo · the Players group of the index