Squirrel/Server/Functions/Sounds/PlayFrontEndSound
From Liberty Unleashed Wiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
{{Squirrel/Title|PlayGameSound}} | {{Squirrel/Title|PlayGameSound}} | ||
− | This function | + | This function plays an internal GTA sound. |
== Syntax == | == Syntax == |
Revision as of 14:39, 15 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.