Skip to content

GetAreaProperty

One of the mode’s values on an area.

GetAreaProperty(name, key)
Parameter Type
name string the area
key string the value’s name

string|number|boolean - the value; nil when the area has none of that name

if GetAreaProperty(area, "owner") ~= GetPlayerName(pid) then
SendClientMessage(pid, COLOR_RED, "This plot is someone else's.")
end

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