FORCE_USE_AUDIO_GAME_OBJECT
Old name: _FORCE_VEHICLE_ENGINE_AUDIO
Hash
0x4F0C413926060B38Runtime name
ForceUseAudioGameObjectNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x4F0C413926060B38Signature
void FORCE_USE_AUDIO_GAME_OBJECT(Vehicle vehicle, const char* audioName);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
audioName | const char* | — |
Returns void
Description
Old name: _FORCE_VEHICLE_ENGINE_AUDIO
Usage
ForceUseAudioGameObject(vehicle, audioName)
-- always works, by hash
Citizen.InvokeNative(0x4F0C413926060B38, vehicle, audioName)JavaScript and C#
ForceUseAudioGameObject(vehicle, audioName);
// by hash
Citizen.invokeNative('0x4F0C413926060B38', vehicle, audioName);Function.Call((Hash)0x4F0C413926060B38, vehicle, audioName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.