API
Server side events
On events
On spawn
Example data
--Example pointData
-- 96 is ID of point
[96] = {
["model"] = rcore_easter_egg_05,
["pos"] = vec3(383.593140, -1828.449097, 27.601067),
["spawnTime"] = 1711301043,
["id"] = 96,
},
}Example data
AddEventHandler(triggerName("onSpawnPoint"), function(pointData)
--Spawned point
end)On delete
Example data
Example code
On pickup
Example data
Example code
Own reward
For this to work go to config and change value to true. If you change this to true our script will not give items to player and it will call server event with playerId, point data and model data where you can find values from config.
Example data
Example code
Last updated
Was this helpful?