Squirrel/Server/Functions/Sounds/FindSound
From Liberty Unleashed Wiki
(Difference between revisions)
(Created page with '{{Squirrel/Title|FindSound}} This function finds a ''Sound'' from an ID/name and returns the pointer. If no sound is found, ''null'' will be returned. == Syntax == <code>sound …') |
Revision as of 14:35, 15 October 2010
This function finds a Sound from an ID/name and returns the pointer. If no sound is found, null will be returned.
Syntax
sound FindSound( string name )
sound FindSound( int id )
Arguments
- name - The name of the sound (including extension) e.g. boo.mp3
- id - The ID of the sound to be found
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.