Skip to content

IsPlayerInArea

Whether a player is in an area now.

As of the last check, at most a tenth of a second ago.

IsPlayerInArea(pid, name)
Parameter Type
pid number the player
name string the area

boolean

if IsPlayerInArea(pid, "Market") then GivePlayerMoney(pid, -5) end

GetPlayerAreas · the The map’s areas group of the index