OnClientResourceStart: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Fixed source info)
No edit summary
Line 1: Line 1:
{{Client event}}
{{Client event}}
__NOTOC__  
__NOTOC__  
This event is triggered when a [[resource]] is started.
This event is triggered when a [[resource]] is started.  Please note that this is '''not''' triggered the same side as the serverside variant [[onResourceStart]].  The event is triggered when any ''clientside resources'' are started.  This means it is triggered when a clientside script is initiated after a download, which includes downloading after join.


==Parameters==  
==Parameters==  

Revision as of 12:52, 22 October 2007

This event is triggered when a resource is started. Please note that this is not triggered the same side as the serverside variant onResourceStart. The event is triggered when any clientside resources are started. This means it is triggered when a clientside script is initiated after a download, which includes downloading after join.

Parameters

resource startedResource
  • startedResource: the resource that was started.

Source

The source of this event is the started resource's root element.

Example