| Property | Value |
|---|---|
| Native Name | FORCE_USE_AUDIO_GAME_OBJECT |
| Hash | 0x4F0C413926060B38 |
| Return Type | void |
| Build | 1207 |
| Parameters | vehicle (Vehicle), gameObjectName (char*) |
Description: This native sets the audio to the specific vehicle hash's audioNameHash.
Usage
Lua (Direct):
ForceUseAudioGameObject(vehicle, gameObjectName)
Lua (Hash):
Citizen.InvokeNative(0x4F0C413926060B38, vehicle, gameObjectName)