_GET_NUM_DRAFT_VEHICLE_LOGS
Returns how many logs the draft vehicle vehicle carries.
Signature
int _GET_NUM_DRAFT_VEHICLE_LOGS(Vehicle vehicle); // 0x288CBB414C3C2FBB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| Name | _GET_NUM_DRAFT_VEHICLE_LOGS |
|---|---|
| Hash | 0x288CBB414C3C2FBB |
| 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(0x288CBB414C3C2FBB, -- _GET_NUM_DRAFT_VEHICLE_LOGS
0, -- Vehicle vehicle
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x288CBB414C3C2FBB", // _GET_NUM_DRAFT_VEHICLE_LOGS
0, // Vehicle vehicle
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x288CBB414C3C2FBB, // _GET_NUM_DRAFT_VEHICLE_LOGS
0 // Vehicle vehicle
);Related VEHICLE natives
- _GET_NUM_DRAFT_VEHICLE_HARNESS_PED
- _GET_NUM_DRAFT_VEHICLE_STRAPS
- _GET_NUM_BREAKABLE_VEHICLE_LOCK_OBJECTS
- _GET_DRAFT_VEHICLE_DESIRED_SPEED
- _GET_NUM_CARS_FROM_TRAIN_CONFIG
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- GET_VEHICLE_TRAILER_VEHICLE
- _GET_BALLOON_OBJECT_FROM_VEHICLE
- _GET_BREAKABLE_VEHICLE_LOCK_OBJECT
- _GET_BREAKABLE_VEHICLE_LOCKS_STATE
- _GET_PED_IN_DRAFT_HARNESS
- _GET_TRAIN_TRACK_FROM_TRAIN_VEHICLE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.