6,834
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|desc = a resource stops | |desc = a resource stops | ||
|arg1 = Resource resource The resource which has stopped. | |arg1 = Resource resource The resource which has stopped. | ||
|arg2 = bool stoppingForRestart The status of whether the resource is restarting. | |arg2 = bool stoppingForRestart The status of whether the resource is restarting. (Where restarting is achieved via [[resource.restart|resource.restart]] or the restart command) | ||
|cancel = true | |cancel = true | ||
|exampleLua = addEventHandler("OnResourceStop", function(event,resource,stoppingForRestart) | |exampleLua = addEventHandler("OnResourceStop", function(event,resource,stoppingForRestart) |
edits