SetSoundPosition: Difference between revisions
Jump to navigation
Jump to search
(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...) |
Cazomino05 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function}} | ||
Sets custom sound position | Sets custom sound seek position. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool setSoundPosition ( string sound, | <syntaxhighlight lang="lua">bool setSoundPosition ( string sound, int pos )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''sound:''' Name of the sound you want to play. | *'''sound:''' Name of the sound you want to play. | ||
*''' | *'''pos:''' An integet number representing the position you wish to seek to. | ||
===Returns=== | ===Returns=== | ||
Returns ''true'' if the sound was successfully moved, ''false'' otherwise. | Returns ''true'' if the sound position was successfully moved, ''false'' otherwise. | ||
Revision as of 19:28, 26 December 2008
Sets custom sound seek position.
Syntax
bool setSoundPosition ( string sound, int pos )
Required Arguments
- sound: Name of the sound you want to play.
- pos: An integet number representing the position you wish to seek to.
Returns
Returns true if the sound position was successfully moved, false otherwise.
Example
TODO
Click to collapse [-]
Client--TODO
See Also