SetSoundPosition

From Multi Theft Auto: Wiki
Revision as of 18:56, 26 December 2008 by Mekorea (talk | contribs) (New page: __NOTOC__ {{Client function}} Sets custom sound position in the GTA world. ==Syntax== <syntaxhighlight lang="lua">bool setSoundPosition ( string sound, float x, float y, float z )</syntaxhighlight> ===Required...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets custom sound position in the GTA world.

Syntax

bool setSoundPosition ( string sound, float x, float y, float z )

Required Arguments

  • sound: Name of the sound you want to play.
  • x: A floating point number representing the X coordinate on the map.
  • y: A floating point number representing the Y coordinate on the map.
  • z: A floating point number representing the Z coordinate on the map.


Returns

Returns true if the sound was successfully moved, false otherwise.


Example

TODO

Click to collapse [-]
Client
--TODO

See Also