_SET_BATCH_TARP_HEIGHT
Sets the tarp height of vehicle, optionally immediately.
Signature
void _SET_BATCH_TARP_HEIGHT(Vehicle vehicle, float height, BOOL immediately); // 0x31F343383F19C987 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | height | float |
| 3 | immediately | BOOL |
Facts
| Name | _SET_BATCH_TARP_HEIGHT |
|---|---|
| Hash | 0x31F343383F19C987 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x31F343383F19C987, -- _SET_BATCH_TARP_HEIGHT
0, -- Vehicle vehicle
0.0, -- float height
false -- BOOL immediately
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x31F343383F19C987", // _SET_BATCH_TARP_HEIGHT
0, // Vehicle vehicle
0.0, // float height
false // BOOL immediately
);Function.Call((Hash)0x31F343383F19C987, // _SET_BATCH_TARP_HEIGHT
0, // Vehicle vehicle
0.0f, // float height
false // BOOL immediately
);Related VEHICLE natives
- _SET_BALLOON_FACE_COORD
- _SET_BALLOON_GO_TO_COORD
- _SET_BALLOON_HOVER_STATE
- _SET_ALL_JUNCTIONS_CLEARED
- _SET_ALL_VEHICLE_GENERATORS_DISABLED_FOR_VOLUME
- _SET_CARGO_COMPARTMENT_OPEN
- _SET_DRAFT_ANIMAL_RANDOM_SEED
- _SET_DRAFT_VEHICLE_ALLOW_DRAFT_ANIMAL_AUTO_CREATION
- _SET_DRAFT_VEHICLE_ANIMALS_CAN_DETACH
- _SET_DRAFT_VEHICLE_DESIRED_SPEED
- _SET_DRAFT_VEHICLE_YOKE_CAN_BREAK
- _SET_FORCE_COACH_ROBBERY_LOOT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.