Interface administrators, moderator
2,858
edits
No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
|type = event | |type = event | ||
|games = iii vc sa iv | |games = iii vc sa iv | ||
|desc = a resource | |desc = a resource has started. The event is triggered after all script files have been ran in the resource's meta.xml file. | ||
|arg1 = Resource resource The resource which has started. | |arg1 = Resource resource The resource which has started. | ||
| | |notes = This event can be used with [[bindEventHandler|bindEventHandler]].<br> | ||
The [[OnResourceReady|OnResourceReady]] is also called at the same as this event IF the resource is ready (ready = all files downloaded). | |||
|cancel = true | |cancel = true | ||
|exampleLua = addEventHandler("OnResourceStart", function(event,resource) | |exampleLua = addEventHandler("OnResourceStart", function(event,resource) | ||