The Lab
AUDIO native

FORCE_USE_AUDIO_GAME_OBJECT

returns void2 paramsbuild 1207

Makes vehicle use the audio profile audioName instead of its default sounds.

Signature

C
void FORCE_USE_AUDIO_GAME_OBJECT(Vehicle vehicle, const char* audioName); // 0x4F0C413926060B38 b1207

Parameters

#NameType
1vehicleVehicle
2audioNameconst char*

Facts

Facts about FORCE_USE_AUDIO_GAME_OBJECT
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.

Lua
Citizen.InvokeNative(0x4F0C413926060B38, -- FORCE_USE_AUDIO_GAME_OBJECT
  0, -- Vehicle vehicle
  "text" -- const char* audioName
)
JavaScript
Citizen.invokeNative("0x4F0C413926060B38", // FORCE_USE_AUDIO_GAME_OBJECT
  0, // Vehicle vehicle
  "text" // const char* audioName
);
C#
Function.Call((Hash)0x4F0C413926060B38, // FORCE_USE_AUDIO_GAME_OBJECT
  0, // Vehicle vehicle
  "text" // const char* audioName
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.