OnResourceStart
onResourceStart
Triggered after the current server resource has started and its scripts are ready.
Availability
This event is available in server-side scripts.
Callback signature
onResourceStart()
Parameters
This event does not pass parameters to its handler.
Examples
Handle the event:
addEventHandler("onResourceStart", resourceRoot, function()
outputDebugString("Resource started")
end)
Notes
- Attach this event to
resourceRootto handle only the current resource.