OnResourceStart: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 7: Line 7:
|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>
|notes = This event can be used with [[bindEventHandler|bindEventHandler]].<br>
The [[OnResourceReady|OnResourceReady]] is also called IF the resource is ready (ready = all files downloaded).
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)
2,783

edits