7,072
edits
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
|cancel = true | |cancel = true | ||
|exampleLua = addEventHandler("OnResourceStop", function(event,resource,stoppingForRestart) | |exampleLua = addEventHandler("OnResourceStop", function(event,resource,stoppingForRestart) | ||
message("Resource ".. resouce.name .." has stopped."..(stoppingForRestart and " (restarting)" or ""), COLOUR_RED) | |||
end) | end) | ||
}} | }} | ||
edits