Squirrel/Server/Functions/Sounds/PlayFrontEndSound
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|PlayGameSound}} This function players an internal GTA sound. == Syntax == <code>sound PlayGameSound( player plr, int sound )</code> <code>sound PlayGameSound( …') |
|||
Line 4: | Line 4: | ||
== Syntax == | == Syntax == | ||
− | <code> | + | <code>bool PlayGameSound( player plr, int sound )</code> |
− | <code> | + | <code>bool PlayGameSound( player plr, int sound, Vector pos )</code> |
− | <code> | + | <code>bool PlayGameSound( player plr, int sound, float x, float y, float z )</code> |
== Arguments == | == Arguments == |
Revision as of 14:38, 15 October 2010
This function players 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.