_GET_VEHICLE_LIVERY
Returns the livery index of vehicle.
Signature
int _GET_VEHICLE_LIVERY(Vehicle vehicle); // 0xBB765B8FD49A796C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | _GET_VEHICLE_LIVERY |
|---|---|
| Hash | 0xBB765B8FD49A796C |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xBB765B8FD49A796C, -- _GET_VEHICLE_LIVERY
0, -- Vehicle vehicle
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xBB765B8FD49A796C", // _GET_VEHICLE_LIVERY
0, // Vehicle vehicle
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xBB765B8FD49A796C, // _GET_VEHICLE_LIVERY
0 // Vehicle vehicle
);Related VEHICLE natives
- _GET_VEHICLE_DOORS_LOCKED_FOR_TEAM
- _GET_VEHICLE_IS_PROP_SET_APPLIED
- _GET_VEHICLE_OWNER
- _GET_VEHICLE_TINT
- _GET_VEHICLE_TURRET_SEAT
- GET_VEHICLE_TRAILER_VEHICLE
- _GET_BALLOON_OBJECT_FROM_VEHICLE
- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
- _GET_BREAKABLE_VEHICLE_LOCKS_STATE
- _GET_DRAFT_VEHICLE_DESIRED_SPEED
- _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
- _GET_NUM_DRAFT_VEHICLE_HARNESS_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.