local hillArea = createColRectangle ( 392.38784790039, 1784,4426269531, 0, 15, 15 )
local hillRadar = createRadarArea ( 392.38784790039, 1784.4426269531,-300,300, 0, 55, 0, 175 )
ZombieLimit = get("zombies.MaxZombies")-- HOW MANY ZOMBIES SHOULD EXIST AT MAXIMUM?
ZombieStreaming = get("zombies.StreamMethod") -- 1 to constantly stream zombies, 0 to only allow zombies to spawn via.........and so on
and now the part with SetElementData
function player_Connect()
setElementData (hillRadar, "zombieProof", true)
setElementData ( source, "dangercount", 0 )
end
addEventHandler ( "onPlayerConnect", getRootElement(), player_Connect )
please note that it doesn t matter if i use hillArea or hillRadar..it has the same effect