Skip to content

IsPlayerScreenBlocked

Whether a screen is refused to a player.

IsPlayerScreenBlocked(pid, screen)
Parameter Type
pid number the player
screen string the screen’s name

boolean

if IsPlayerScreenBlocked(pid, "inventory") then SendClientMessage(pid, COLOR_WHITE, "Your hands are tied.") end

SetPlayerScreenBlocked · the The game’s screens group of the index