OnClientSoundBeat: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "{{Client event}} __NOTOC__ {{New feature/item|4.0140|1.3.0|4162| This event is triggered when a '''sound''' beats. }} ==Parameters== <syntaxhighlight lang="lua"> int time </syntaxhighlight> *'''time''...")
 
No edit summary
Line 1: Line 1:
{{Client event}}
{{Client event}}
__NOTOC__  
__NOTOC__  
{{New feature/item|4.0140|1.3.0|4162|
{{New feature|4.0140|1.3.1|
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}}
==Parameters==  
==Parameters==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Line 18: Line 19:
-- Not done yet
-- Not done yet
</syntaxhighlight>
</syntaxhighlight>
==Requirements==
{{Requirements|n/a|1.3.0-9.04162}}


==See Also==
==See Also==

Revision as of 22:35, 10 September 2012

ADDED/UPDATED IN VERSION 1.3.1 :

This event is triggered when a sound beats.

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

Parameters

int time
  • time: the time of the beat

Source

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

Example

-- Not done yet

Requirements

Minimum server version n/a
Minimum client version 1.3.0-9.04162

Note: Using this feature 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

Shared