IsPlayerScreenBlocked
Whether a screen is refused to a player.
Syntax
Section titled “Syntax”IsPlayerScreenBlocked(pid, screen)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
screen |
string | the screen’s name |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”if IsPlayerScreenBlocked(pid, "inventory") then SendClientMessage(pid, COLOR_WHITE, "Your hands are tied.") endSee also
Section titled “See also”SetPlayerScreenBlocked · the The game’s screens group of the index
