API
All exports and events that script provides for developers.
Exports
startTreeBuild
Start prop placer for building tree.
Side:
client
Usage:
startSnowmanBuild
Start prop placer for building snowman.
Side:
client
Usage:
isEntitySnowmanPart
Returns true/false if provided entity is part of building process of man snowman
Side:
client
Usage:
getTrees
Returns table of all cached trees from database around map
Side:
server
Usage:
getTreesByOwner
Returns table of all cached trees from database around map by provided owner id in parameter
Side:
server
Usage:
getCollectedPresents
Returns all player's collected presents for present hunt directly and synchronously from database
Side:
server
Usage:
getSpawnedSnowmans
Returns all currently spawned snowmans.
Side:
server
Usage:
isEntitySnowman
Returns if entity in parameter is snowman built by script
Side:
server
Usage:
getPresentsPositions
Returns table of all positions from
shared/present-hunt/sh-positions.lua
for present huntSide:
shared
Usage:
Last updated