PreloadMissionAudio
Jump to navigation
Jump to search
This function preloads a game sound into a specific sound slot. The sound can then be played with PlayMissionAudio.
Usage
Both server side and client side. thePlayer argument isn't used in client side version of this function.
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