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.
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