PreloadMissionAudio: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This function preloads a game sound into a specific sound slot. The sound can then be played with [[PlayMissionAudio]]. | This function preloads a game sound into a specific sound slot. The sound can then be played with [[PlayMissionAudio]]. | ||
==Syntax== | ==Syntax== |
Revision as of 23:30, 29 August 2007
This function preloads a game sound into a specific sound slot. The sound can then be played with PlayMissionAudio.
Syntax
Click to collapse [-]
Serverbool preloadMissionAudio ( player thePlayer, int sound, int slot )
Required Arguments
Click to collapse [-]
Clientbool preloadMissionAudio ( int sound, int slot )
Required Arguments
Returns
Returns true if the sound was successfully preloaded, false otherwise.
Example
See PlayMissionAudio.
See Also