The Lab
VEHICLE native

_SET_BATCH_TARP_HEIGHT

returns void3 paramsbuild 1207

Sets the tarp height of vehicle, optionally immediately.

Signature

C
void _SET_BATCH_TARP_HEIGHT(Vehicle vehicle, float height, BOOL immediately); // 0x31F343383F19C987 b1207

Parameters

#NameType
1vehicleVehicle
2heightfloat
3immediatelyBOOL

Facts

Facts about _SET_BATCH_TARP_HEIGHT
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.

Lua
Citizen.InvokeNative(0x31F343383F19C987, -- _SET_BATCH_TARP_HEIGHT
  0, -- Vehicle vehicle
  0.0, -- float height
  false -- BOOL immediately
)
JavaScript
// 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
);
C#
Function.Call((Hash)0x31F343383F19C987, // _SET_BATCH_TARP_HEIGHT
  0, // Vehicle vehicle
  0.0f, // float height
  false // BOOL immediately
);
All VEHICLE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.