Difference between revisions of "OnClientSoundBeat"

From Multi Theft Auto: Wiki
Jump to: navigation, search
m
m (fixed 'event will does not work')
Line 4: Line 4:
 
This event is triggered when a '''sound''' beats.
 
This event is triggered when a '''sound''' beats.
 
}}
 
}}
{{Note|This event will does not work correctly before 1.3.1-9-04627}}
+
{{Note|This event does not work correctly pre 1.3.1-9-04627}}
 
==Parameters==  
 
==Parameters==  
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">

Revision as of 06:19, 13 September 2012

FROM VERSION 1.3.1 ONWARDS

This event is triggered when a sound beats.

[[{{{image}}}|link=]] Note: This event does not work correctly pre 1.3.1-9-04627

Parameters

int theTime
  • theTime: the time of the beat

Source

The source of this event is the sound's element.

Example

-- Not done yet

Requirements

Minimum supported server n/a
Minimum supported client 1.3.0-9.04162
Note: Using this function requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.0-9.04162" />

See Also

Client sound events


Client event functions