The RedM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / RedM
Native reference
- AUDIOvoid
_0xDC93F0948F2C28F4
Description not yet documented
0xDC93F0948F2C28F4 - AUDIOBOOL
_0xDF947FE0D551684E
Description not yet documented
0xDF947FE0D551684E - AUDIOAny
_0xE600F61F54A444A6
Description not yet documented
0xE600F61F54A444A6 - AUDIOvoid
_0xE7E6CB8B713ED190
Description not yet documented
0xE7E6CB8B713ED190 - AUDIOvoid
_0xE891504B2F0E2DBA
Description not yet documented
0xE891504B2F0E2DBA - AUDIOvoid
_0xE9694B2D6CB87B06
seems to be a _SET_PED_* that accepts p1 from GET_PED_SONG_INDEX_HOST
0xE9694B2D6CB87B06 - AUDIOvoid
_0xEA546C31FD45F8CD
Description not yet documented
0xEA546C31FD45F8CD - AUDIOvoid
_0xEB4D592620B8C209
Description not yet documented
0xEB4D592620B8C209 - AUDIOvoid
_0xF092B6030D6FD49C
Name: ROPE_SETTINGS_DEFAULT
0xF092B6030D6FD49C - AUDIOAny
_0xF0EE69F500952FA5
Description not yet documented
0xF0EE69F500952FA5 - AUDIOvoid
_0xF232C2C546AC16D0
Description not yet documented
0xF232C2C546AC16D0 - AUDIOint
_0xF336E9F989B3518F
Description not yet documented
0xF336E9F989B3518F - AUDIOvoid
_0xF64034D533CE8AAC
Description not yet documented
0xF64034D533CE8AAC - AUDIOvoid
_0xFCDEC42B1C78B7F8
Description not yet documented
0xFCDEC42B1C78B7F8 - AUDIOvoid
_0xFD461D0ABA5559B1
Description not yet documented
0xFD461D0ABA5559B1 - AUDIOBOOL
_0xFE5C6177064BD390
Description not yet documented
0xFE5C6177064BD390 - AUDIOAny
_0xFFE9C53DEEA3DB0B
Description not yet documented
0xFFE9C53DEEA3DB0B - AUDIOvoid
ADD_ENTITY_TO_AUDIO_MIX_GROUP
``` All found occurrences in b678d: pastebin.com/ceu67jz8 ```
0x153973AB99FE8980 - AUDIOvoid
ADD_PED_TO_CONVERSATION
Description not yet documented
0x95D9F4BC443956E7 - AUDIOBOOL
AUDIO_IS_MUSIC_PLAYING
Old name: AUDIO_IS_SCRIPTED_MUSIC_PLAYING
0x845FFC3A4FEEFA3E - AUDIOvoid
AUDIO_TRIGGER_EXPLOSION
Description not yet documented
0x374F0E716BFCDE82 - AUDIOvoid
_BLOCK_SPEECH_CONTEXT
Description not yet documented
0x6378A235374B852F - AUDIOBOOL
CANCEL_MUSIC_EVENT
``` All music event names found in the b617d scripts: pastebin.com/GnYt0R3P ```
0x5B17A90291133DA5 - AUDIOvoid
CLEAR_AMBIENT_ZONE_LIST_STATE
Resets the list of ambients zones enabled/disabled status to its value before it was modified by this script. Default behaviour is that any state change only gets applied once the player leaves the zone.
0x120C48C614909FA4 - AUDIOvoid
CLEAR_AMBIENT_ZONE_STATE
Resets the ambient zone enabled/disabled status to its value before it was modified by this script Default behaviour is that any state change only gets applied once the player leaves the zone.
0x218DD44AAAC964FF - AUDIOvoid
CLEAR_CONVERSATION_HISTORY
Description not yet documented
0x33D51F801CB16E4F - AUDIOvoid
_CLEAR_CONVERSATION_HISTORY_FOR_SCRIPTED_CONVERSATION
Description not yet documented
0xEF51242E35242B47 - AUDIOBOOL
CREATE_NEW_SCRIPTED_CONVERSATION
Description not yet documented
0xD2C91A0B572AAE56 - AUDIOint
_CREATE_NEW_SCRIPTED_SPEECH
Create a scripted speech to control speech. If handle is less than 0, it's invalid. params struct for ScriptedSpeechParams see: PLAY_PED_AMBIENT_SPEECH_NATIVE Returns scriptedSpeech handle.
0x72E4D1C4639BC465 - AUDIOvoid
DISABLE_PED_PAIN_AUDIO
Description not yet documented
0xA9A41C1E940FB0E8 - AUDIOBOOL
DOES_CONTEXT_EXIST_FOR_THIS_PED
Checks if the context exists for the ped, searching through the voices in its PedVoiceGroup. The final argument can be set to true to allow searching in backup PVGs
0x49B99BF3FDA89A7A - AUDIOvoid
FORCE_PED_PANIC_WALLA
Forces the ambient peds into their panic walla state
0x062D5EAD4DA2FA6A - AUDIOvoid
FORCE_USE_AUDIO_GAME_OBJECT
This native sets the audio to the specific vehicle hash's audioNameHash.
0x4F0C413926060B38 - AUDIOint
GET_CURRENT_SCRIPTED_CONVERSATION_LINE
Description not yet documented
0x480357EE890C295A - AUDIOHash
_GET_ENTITY_AUDIO_MIX_GROUP
Description not yet documented
0x8B25A18E390F75BF - AUDIOHash
_GET_LAST_PLAYED_SPEECH_FOR_PED
Gets the hash for the last played speech line.
0x6BFFB7C276866996 - AUDIOint
_GET_LOADED_STREAM_ID_FROM_CREATION
Creates stream and returns streamId handle to be used with PLAY_STREAM_* natives https://github.com/femga/rdr3_discoveries/tree/master/audio/create_stream
0x0556C784FA056628 - AUDIOint
GET_MUSIC_PLAYTIME
Description not yet documented
0xE7A0D23DC414507B - AUDIOint
_GET_PED_SONG_INDEX_HOST
seems to be used for 0xE9694B2D6CB87B06
0x2DBBF0C5E19383EE - AUDIOint
GET_SOUND_ID
If a playback function has a soundId field but the sound doesn't need to be altered after triggering then pass a value of -1 for fire-and-forget playback, rather than getting a soundId. SoundId's can be reused, without needing to release them and grab a new one. If a sound's finished playing, you can reuse its SoundId to kick off another one. If the sound's not finished playing, it'll be stopped first (fading out or whatever is set up in RAVE by the sound designer), and the new one kicked off; usually it is safer to just get a new SoundId. SoundId's are not automatically cleaned up, you must use [RELEASE_SOUND_ID](#\_0x353FC880830B88FA) after you've finished using them to allow the engine to recycle the sound id.
0x430386FE9BF80B45
A living reference. Documentation coverage varies by native and source.