Squirrel/Server/Functions/Sounds/PlayFrontEndSound
From Liberty Unleashed Wiki
(Difference between revisions)
m |
m (moved Squirrel/Server/Functions/Sounds/PlayGameSound to Squirrel/Server/Functions/Sounds/PlayFrontEndAudio: Renamed the function) |
Revision as of 23:31, 27 October 2010
This function plays an internal GTA sound.
Syntax
bool PlayGameSound( player plr, int sound )
bool PlayGameSound( player plr, int sound, Vector pos )
bool PlayGameSound( player plr, int sound, float x, float y, float z )
Arguments
- plr - The player to play the sound for
- sound - The ID of the sound to player
- pos - The position of where the sound should originate from
Example
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
Explanation for the example
-- Todo
Notes
-- List of used functions and other notes here.