AUDIO_TRIGGER_EXPLOSION
Plays the explosion sound name at the given coordinates.
Signature
void AUDIO_TRIGGER_EXPLOSION(const char* name, float x, float y, float z); // 0x374F0E716BFCDE82 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | name | const char* |
| 2 | x | float |
| 3 | y | float |
| 4 | z | float |
Facts
| Name | AUDIO_TRIGGER_EXPLOSION |
|---|---|
| Hash | 0x374F0E716BFCDE82 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x374F0E716BFCDE82, -- AUDIO_TRIGGER_EXPLOSION
"text", -- const char* name
0.0, -- float x
0.0, -- float y
0.0 -- float z
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x374F0E716BFCDE82", // AUDIO_TRIGGER_EXPLOSION
"text", // const char* name
0.0, // float x
0.0, // float y
0.0 // float z
);Function.Call((Hash)0x374F0E716BFCDE82, // AUDIO_TRIGGER_EXPLOSION
"text", // const char* name
0.0f, // float x
0.0f, // float y
0.0f // float z
);Related AUDIO natives
- AUDIO_IS_MUSIC_PLAYING
- ADD_ENTITY_TO_AUDIO_MIX_GROUP
- _GET_ENTITY_AUDIO_MIX_GROUP
- _HAS_SOUND_AUDIO_NAME_FINISHED
- _IS_SCRIPTED_AUDIO_CUSTOM
- _SET_AUDIO_SCENESET
- _START_AUDIO_SCENESET
- _STOP_ALL_SCRIPTED_AUDIO_SOUNDS
- _STOP_AUDIO_SCENESET
- _TRIGGER_MUSIC_EVENT_WITH_HASH
- DISABLE_PED_PAIN_AUDIO
- FORCE_USE_AUDIO_GAME_OBJECT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.