IsPlayerInvisible

Checks if a player is currently invisible.

Syntax

Susano.IsPlayerInvisible(playerId) -> invisible

Parameters

playerId (int): Target player identifier.

Return(s)

invisible (boolean): true if the player is invisible, false otherwise.

Example(s)

local me = PlayerId()
if Susano.IsPlayerInvisible(me) then
  print("You are invisible")
else
  print("You are visible")
end

Last updated