FORCE_USE_AUDIO_GAME_OBJECT
Makes vehicle use the audio profile audioName instead of its default sounds.
Signature
void FORCE_USE_AUDIO_GAME_OBJECT(Vehicle vehicle, const char* audioName); // 0x4F0C413926060B38 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | audioName | const char* |
Facts
| Name | FORCE_USE_AUDIO_GAME_OBJECT |
|---|---|
| Hash | 0x4F0C413926060B38 |
| 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(0x4F0C413926060B38, -- FORCE_USE_AUDIO_GAME_OBJECT
0, -- Vehicle vehicle
"text" -- const char* audioName
)Citizen.invokeNative("0x4F0C413926060B38", // FORCE_USE_AUDIO_GAME_OBJECT
0, // Vehicle vehicle
"text" // const char* audioName
);Function.Call((Hash)0x4F0C413926060B38, // FORCE_USE_AUDIO_GAME_OBJECT
0, // Vehicle vehicle
"text" // const char* audioName
);Related AUDIO natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.