Server Functions
setPlayerHordeMode
Set horde mode for a player By default there are levels 1, 2 and 3, what a horde mode does is define a greater density of zombies around the players and greatly increase the detection radius of zombies close to the player
playerId:
number
value:
number|nil
By default in the settings, level 1 is light, level 2 is medium and level 3 is heavy, set to nil or false to disable horde mode and return the player density to the default from area
Example:
despawnZombies
Despawn all zombies
Example:
registerSafezone
Register a safezone in run-time
data: table
id:
string
coords:
vector3
radius:
number
createBlip?:
boolean
blipLabel?:
string
required if createBlip is true
despawnZombies:
boolean
removeSafezone
Remove a default or run-time created safezone
id:
string
Last updated