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