SET_VEHICLE_EXTRA
Hash
0xBB6F89150BC9D16BRuntime name
SetVehicleExtraNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x7EE3A3C5E4A40CC9Signature
void SET_VEHICLE_EXTRA(Vehicle vehicle, int extraId, BOOL disable);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
extraId | int | — |
disable | BOOL | — |
Returns void
Description
Note: only some vehicle have extras
https://github.com/femga/rdr3_discoveries/blob/master/vehicles/vehicle_modding/vehicle_extras.lua
Usage
SetVehicleExtra(vehicle, extraId, disable)
-- always works, by hash
Citizen.InvokeNative(0xBB6F89150BC9D16B, vehicle, extraId, disable)JavaScript and C#
SetVehicleExtra(vehicle, extraId, disable);
// by hash
Citizen.invokeNative('0xBB6F89150BC9D16B', vehicle, extraId, disable);Function.Call((Hash)0xBB6F89150BC9D16B, vehicle, extraId, disable);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.