OnClientResourceStart: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Client event}}
{{Client event}}
[[Category:Incomplete Event]]
__NOTOC__  
__NOTOC__  
Triggered client side when a resource is initialized.
This event is triggered when a resource is started.


==Parameters==  
==Parameters==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
resource startedResource
resource startedResource
</syntaxhighlight>
</syntaxhighlight>  


*'''startedResource''': the resource that just started
*'''startedResource''': the resource that was started.
 
==Source==
The [[event system#Event source|source]] of this event is the client [[root element]].


==Example==  
==Example==  
This example does...
[[Category:Needs example]]
<syntaxhighlight lang="lua">
--This line does...
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>

Revision as of 15:38, 25 September 2007

This event is triggered when a resource is started.

Parameters

resource startedResource
  • startedResource: the resource that was started.

Source

The source of this event is the client root element.

Example