Skip to content

ClosePlayerScreens

Closes the game’s player screens on a player’s screen - and the loot and trade screens.

ClosePlayerScreens(pid)
Parameter Type
pid number the player

boolean - false before the player is in the world or for a game that cannot

function OnPlayerDamage(pid, attacker, damage)
ClosePlayerScreens(pid) -- no rummaging in a bag under a sword
end

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