AUDIO
159 natives, 63 of them described.
- ABORT_SCRIPTED_CONVERSATIONAbortScriptedConversation
Not described yet
- ADD_LINE_TO_CONVERSATIONAddLineToConversation
Not described yet
- ADD_LINE_TO_MOBILE_PHONE_CALLAddLineToMobilePhoneCall
This command should be called for each line of speech in the conversation.
- ADD_LINE_TO_SCRIPTED_CONVERSATIONAddLineToScriptedConversation
Not described yet
- ADD_NEW_CONVERSATION_SPEAKERAddNewConversationSpeaker
Not described yet
- ADD_NEW_FRONTEND_CONVERSATION_SPEAKERAddNewFrontendConversationSpeaker
Not described yet
- AMBIENT_AUDIO_BANK_NO_LONGER_NEEDEDAmbientAudioBankNoLongerNeeded
Unloads a ambient audio bank.
- CAN_BE_DESCRIBED_AS_A_CARCanBeDescribedAsACar
Not described yet
- CANCEL_CURRENTLY_PLAYING_AMBIENT_SPEECHCancelCurrentlyPlayingAmbientSpeech
Not described yet
- CLOSE_MIC_PEDCloseMicPed
Not described yet
- DISABLE_END_CREDITS_FADEDisableEndCreditsFade
Not described yet
- DISABLE_FRONTEND_RADIODisableFrontendRadio
Not described yet
- DISABLE_GPSDisableGps
Not described yet
- DISABLE_POLICE_SCANNERDisablePoliceScanner
Not described yet
- DONT_ABORT_CAR_CONVERSATIONSDontAbortCarConversations
Not described yet
- ENABLE_CHASE_AUDIOEnableChaseAudio
Not described yet
- ENABLE_END_CREDITS_FADEEnableEndCreditsFade
Sets the end of credits fade.
- ENABLE_FRONTEND_RADIOEnableFrontendRadio
Allows radio to be played in the frontend.
- ENABLE_GPS_IN_VEHICLEEnableGpsInVehicle
Not described yet
- ENABLE_POLICE_SCANNEREnablePoliceScanner
Not described yet
- ENABLE_SCRIPT_CONTROLLED_MICROPHONEEnableScriptControlledMicrophone
Not described yet
- FIND_STATIC_EMITTER_INDEXFindStaticEmitterIndex
Not described yet
- FIX_AMBIENCE_ORIENTATIONFixAmbienceOrientation
Not described yet
- FIX_SCRIPT_MIC_TO_CURRENT_POSISITIONFixScriptMicToCurrentPosisition
Not described yet
- FORCE_FULL_VOICEForceFullVoice
Forces the ped to scream.
- FORCE_INITIAL_PLAYER_STATIONForceInitialPlayerStation
Not described yet
- FORCE_RADIO_TRACKForceRadioTrack
Not described yet
- FREEZE_RADIO_STATIONFreezeRadioStation
Not described yet
- GET_AUDIBLE_MUSIC_TRACK_TEXT_IDGetAudibleMusicTrackTextId
Not described yet
- GET_AUDIO_ROOM_IDGetAudioRoomId
Not described yet
- GET_CURRENT_SCRIPTED_CONVERSATION_LINEGetCurrentScriptedConversationLine
Not described yet
- GET_CUTSCENE_AUDIO_TIME_MSGetCutsceneAudioTimeMs
Not described yet
- GET_PLAYER_HAS_TRACKSGetPlayerHasTracks
Not described yet
- GET_PLAYER_RADIO_MODEGetPlayerRadioMode
Not described yet
- GET_PLAYER_RADIO_STATION_INDEXGetPlayerRadioStationIndex
Gets the index of the current players radio station.
- GET_PLAYER_RADIO_STATION_NAMEGetPlayerRadioStationName
Gets the name the players radio station.
- GET_PLAYER_RADIO_STATION_NAME_ROLLGetPlayerRadioStationNameRoll
Not described yet
- GET_RADIO_NAMEGetRadioName
Not described yet
- GET_SOUND_IDGetSoundId
Returns an new id for a sound.
- GET_SPEECH_FOR_EMERGENCY_SERVICE_CALLGetSpeechForEmergencyServiceCall
Returns a zone name for the emergency service call.
- GET_STATIC_EMITTER_PLAYTIMEGetStaticEmitterPlaytime
Not described yet
- GET_STREAM_BEAT_INFOGetStreamBeatInfo
Not described yet
- GET_STREAM_PLAYTIMEGetStreamPlaytime
Not described yet
- HANDLE_AUDIO_ANIM_EVENTHandleAudioAnimEvent
Not described yet
- HAS_SOUND_FINISHEDHasSoundFinished
Checks that a sound has finished playing.
- HELI_AUDIO_SHOULD_SKIP_STARTUPHeliAudioShouldSkipStartup
Not described yet
- HIGH_FALL_SCREAMHighFallScream
Not described yet
- IS_AMBIENT_SPEECH_DISABLEDIsAmbientSpeechDisabled
Checks if ambient speech for char has been disabled.
- IS_AMBIENT_SPEECH_PLAYINGIsAmbientSpeechPlaying
Checks if ambient speech is currently playing.
- IS_ANY_SPEECH_PLAYINGIsAnySpeechPlaying
Checks if any type of speech is playing.
- IS_GAME_IN_CONTROL_OF_MUSICIsGameInControlOfMusic
Not described yet
- IS_LAZLOW_STATION_LOCKEDIsLazlowStationLocked
Not described yet
- IS_MISSION_COMPLETE_PLAYINGIsMissionCompletePlaying
Checks if the mission complete audio is playing.
- IS_MOBILE_PHONE_CALL_ONGOINGIsMobilePhoneCallOngoing
Checks if a mobile phone call is currently happening.
- IS_MOBILE_PHONE_RADIO_ACTIVEIsMobilePhoneRadioActive
Checks if the moblie phone radio is active.
- IS_PAIN_PLAYINGIsPainPlaying
Not described yet
- IS_RADIO_HUD_ONIsRadioHudOn
Not described yet
- IS_RADIO_RETUNINGIsRadioRetuning
Checks if the radio is tuning to a station.
- IS_SCRIPTED_CONVERSATION_ONGOINGIsScriptedConversationOngoing
Not described yet
- IS_SCRIPTED_SPEECH_PLAYINGIsScriptedSpeechPlaying
Checks if scripted speech is currently playing.
- LOCK_LAZLOW_STATIONLockLazlowStation
Not described yet
- MISSION_AUDIO_BANK_NO_LONGER_NEEDEDMissionAudioBankNoLongerNeeded
Unloads a mission audio bank.
- MUTE_GAMEWORLD_AND_POSITIONED_RADIO_FOR_TVMuteGameworldAndPositionedRadioForTv
Not described yet
- MUTE_GAMEWORLD_AUDIOMuteGameworldAudio
Mutes the game world audio.
- MUTE_POSITIONED_RADIOMutePositionedRadio
Not described yet
- MUTE_STATIC_EMITTERMuteStaticEmitter
Not described yet
- NEW_MOBILE_PHONE_CALLNewMobilePhoneCall
Sets up the script for a new call.
- NEW_SCRIPTED_CONVERSATIONNewScriptedConversation
Not described yet
- ON_FIRE_SCREAMOnFireScream
Not described yet
- PANIC_SCREAMPanicScream
Not described yet
- PAUSE_SCRIPTED_CONVERSATIONPauseScriptedConversation
Not described yet
- PLAY_AUDIO_EVENTPlayAudioEvent
Plays back a specified sound.
- PLAY_AUDIO_EVENT_FROM_OBJECTPlayAudioEventFromObject
Plays back a specified sound from an object.
- PLAY_AUDIO_EVENT_FROM_PEDPlayAudioEventFromPed
Plays back a specified sound from an ped.
- PLAY_AUDIO_EVENT_FROM_VEHICLEPlayAudioEventFromVehicle
Plays back a specified sound from an vehicle.
- PLAY_FIRE_SOUND_FROM_POSITIONPlayFireSoundFromPosition
If the sound is a one-shot (non-looping) then a soundId of -1 is usually used.
- PLAY_SCRIPTED_CONVERSATION_FRONTENDPlayScriptedConversationFrontend
Not described yet
- PLAY_SOUNDPlaySound
Plays back a sound with the name soundName.
- PLAY_SOUND_FROM_OBJECTPlaySoundFromObject
Plays back a sound from an object's location.
- PLAY_SOUND_FROM_PEDPlaySoundFromPed
Plays back a sound from an ped's location.
- PLAY_SOUND_FROM_POSITIONPlaySoundFromPosition
Plays back a sound from an absolute position.
- PLAY_SOUND_FROM_VEHICLEPlaySoundFromVehicle
Plays back a sound from an vehicle's location.
- PLAY_SOUND_FRONTENDPlaySoundFrontend
Plays back a sound "frontend" - at full volume, panned centrally.
- PLAY_STREAM_FROM_OBJECTPlayStreamFromObject
Plays a preloaded stream back from a specified object.
- PLAY_STREAM_FROM_PEDPlayStreamFromPed
Plays a preloaded stream back from a specified ped.
- PLAY_STREAM_FRONTENDPlayStreamFrontend
Not described yet
- PRELOAD_STREAMPreloadStream
Not described yet
- PRELOAD_STREAM_WITH_START_OFFSETPreloadStreamWithStartOffset
Not described yet
- PREVIEW_RINGTONEPreviewRingtone
Plays a preview of a ringtone.
- REGISTER_SCRIPT_WITH_AUDIORegisterScriptWithAudio
Registers a script with audio; a neccesary step for loading sound banks and using script sound commands.
- RELEASE_SCRIPT_CONTROLLED_MICROPHONEReleaseScriptControlledMicrophone
Not described yet
- RELEASE_SOUND_IDReleaseSoundId
Releases a sound ID.
- REMOVE_CLOSE_MIC_PEDRemoveCloseMicPed
Not described yet
- REMOVE_SCRIPT_MICRemoveScriptMic
Not described yet
- REPORT_CRIMEReportCrime
Not described yet
- REPORT_DISPATCHReportDispatch
Not described yet
- REPORT_POLICE_SPOTTING_SUSPECTReportPoliceSpottingSuspect
Not described yet
- REPORT_SUSPECT_ARRESTEDReportSuspectArrested
Not described yet
- REPORT_SUSPECT_DOWNReportSuspectDown
Not described yet
- REPORT_TAGGED_RADIO_TRACKReportTaggedRadioTrack
Not described yet
- REQUEST_AMBIENT_AUDIO_BANKRequestAmbientAudioBank
Requests and checks that a ambient audio bank has loaded.
- REQUEST_MISSION_AUDIO_BANKRequestMissionAudioBank
Requests and checks that a mission audio bank has loaded.
- RESTART_SCRIPTED_CONVERSATIONRestartScriptedConversation
Call this to restart a conversation that you have previously paused with PAUSE_SCRIPTED_CONVERSATION.
- RETUNE_RADIO_DOWNRetuneRadioDown
Not described yet
- RETUNE_RADIO_TO_STATION_INDEXRetuneRadioToStationIndex
Retunes the radio station to the specified index.
- RETUNE_RADIO_TO_STATION_NAMERetuneRadioToStationName
Not described yet
- RETUNE_RADIO_UPRetuneRadioUp
Not described yet
- SAY_AMBIENT_SPEECHSayAmbientSpeech
Plays a line of a char's ambient dialogue.
- SAY_AMBIENT_SPEECH_WITH_VOICESayAmbientSpeechWithVoice
Plays a line of ambient dialogue in a different char's voice.
- SET_AMBIENT_VOICE_NAMESetAmbientVoiceName
Sets a character to use a specific voice different to the one associated with their model.
- SET_BRIANS_MOODSetBriansMood
Not described yet
- SET_GPS_VOICE_FOR_VEHICLESetGpsVoiceForVehicle
Not described yet
- SET_LOBBY_MUTE_OVERRIDESetLobbyMuteOverride
Not described yet
- SET_LOCAL_PLAYER_PAIN_VOICESetLocalPlayerPainVoice
Not described yet
- SET_LOCAL_PLAYER_VOICESetLocalPlayerVoice
Not described yet
- SET_LOUD_VEHICLE_RADIOSetLoudVehicleRadio
Not described yet
- SET_MISSION_PICKUP_SOUNDSetMissionPickupSound
Not described yet
- SET_MOBILE_PHONE_RADIO_STATESetMobilePhoneRadioState
Sets if the phone radio is active.
- SET_MOBILE_RADIO_ENABLED_DURING_GAMEPLAYSetMobileRadioEnabledDuringGameplay
Not described yet
- SET_MOBILE_RING_TYPESetMobileRingType
Sets the mobile ring type.
- SET_PED_IS_BLIND_RAGINGSetPedIsBlindRaging
Sets the ped to sound angry.
- SET_PED_IS_DRUNKSetPedIsDrunk
Sets the ped so they sound drunk.
- SET_PED_MOBILE_RING_TYPESetPedMobileRingType
Not described yet
- SET_PLAYER_PAIN_ROOT_BANK_NAMESetPlayerPainRootBankName
Not described yet
- SET_ROMANS_MOODSetRomansMood
Not described yet
- SET_SCRIPT_MIC_LOOK_ATSetScriptMicLookAt
Not described yet
- SET_SCRIPT_MIC_POSITIONSetScriptMicPosition
Not described yet
- SET_SIREN_WITH_NO_DRIVERSetSirenWithNoDriver
Plays the siren audio without a driver in a car.
- SET_STREAM_PARAMSSetStreamParams
Not described yet
- SET_TAXI_GARAGE_RADIO_STATESetTaxiGarageRadioState
Sets the radio in the garage on or off.
- SET_TRAIN_AUDIO_ROLLOFFSetTrainAudioRolloff
Not described yet
- SET_VARIABLE_ON_SOUNDSetVariableOnSound
Sets a variable on a sound.
- SET_VOICE_ID_FROM_HEAD_COMPONENTSetVoiceIdFromHeadComponent
Gives a char with a multiplayer model (M_Y_MULTIPLAYER, F_Y_MULTIPLAYER) a voice that fits its head.
- SKIP_RADIO_FORWARDSkipRadioForward
Not described yet
- SKIP_TO_NEXT_SCRIPTED_CONVERSATION_LINESkipToNextScriptedConversationLine
Not described yet
- START_CUSTOM_MOBILE_PHONE_RINGINGStartCustomMobilePhoneRinging
Starts the player's mobile phone ringing using a custom ringtone specified by ringtoneId.
- START_END_CREDITS_MUSICStartEndCreditsMusic
Not described yet
- START_MOBILE_PHONE_CALLStartMobilePhoneCall
Starts the actual mobile phone dialogue playing.
- START_MOBILE_PHONE_CALLINGStartMobilePhoneCalling
Not described yet
- START_MOBILE_PHONE_RINGINGStartMobilePhoneRinging
Not described yet
- START_PED_MOBILE_RINGINGStartPedMobileRinging
Not described yet
- START_SCRIPT_CONVERSATIONStartScriptConversation
Not described yet
- STOP_END_CREDITS_MUSICStopEndCreditsMusic
Not described yet
- STOP_MOBILE_PHONE_RINGINGStopMobilePhoneRinging
Stops a mobile phone ringing.
- STOP_PED_MOBILE_RINGINGStopPedMobileRinging
Not described yet
- STOP_PED_SPEAKINGStopPedSpeaking
Stops a ped from saying any of their ambient dialogue.
- STOP_PREVIEW_RINGTONEStopPreviewRingtone
Stops the preview playing.
- STOP_SOUNDStopSound
Stops a playing sound by its sound id.
- STOP_STREAMStopStream
Stops a stream that is being played by the script.
- TRIGGER_LOADING_MUSIC_ON_NEXT_FADETriggerLoadingMusicOnNextFade
Not described yet
- TRIGGER_MISSION_COMPLETE_AUDIOTriggerMissionCompleteAudio
Not described yet
- TRIGGER_POLICE_REPORTTriggerPoliceReport
Plays a police report.
- TRIGGER_VIGILANTE_CRIMETriggerVigilanteCrime
Not described yet
- UNFREEZE_RADIO_STATIONUnfreezeRadioStation
Not described yet
- UNLOCK_GENERIC_NEWS_STORYUnlockGenericNewsStory
Not described yet
- UNLOCK_LAZLOW_STATIONUnlockLazlowStation
Unlock the lazlow radio station.
- UNLOCK_MISSION_NEWS_STORYUnlockMissionNewsStory
Sets a news story to be played a specific time.
- UNPAUSE_RADIOUnpauseRadio
Not described yet
- UNREGISTER_SCRIPT_WITH_AUDIOUnregisterScriptWithAudio
Unregisters a script with audio.
Descriptions by the HappinessMP community, licensed under CC BY-SA 4.0. You may reuse them if you name HappinessMP as the source and share your version under the same license.