The Lab
PROPSET native

_ADD_PROP_SET_FOR_VEHICLE

returns void2 paramsbuild 1207

Sets the main prop set of a vehicle, typically the cargo or decoration layout shown on wagons and carts.

Request the prop set first and wait until it is loaded.

Signature

C
void _ADD_PROP_SET_FOR_VEHICLE(Vehicle vehicle, Hash propset); // 0xD80FAF919A2E56EA b1207

Parameters

#NameType
1vehicleVehicle
2propsetHash

Facts

Facts about _ADD_PROP_SET_FOR_VEHICLE
Name
_ADD_PROP_SET_FOR_VEHICLE
Hash
0xD80FAF919A2E56EA
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(0xD80FAF919A2E56EA, -- _ADD_PROP_SET_FOR_VEHICLE
  0, -- Vehicle vehicle
  GetHashKey("name") -- Hash propset
)
JavaScript
Citizen.invokeNative("0xD80FAF919A2E56EA", // _ADD_PROP_SET_FOR_VEHICLE
  0, // Vehicle vehicle
  GetHashKey("name") // Hash propset
);
C#
Function.Call((Hash)0xD80FAF919A2E56EA, // _ADD_PROP_SET_FOR_VEHICLE
  0, // Vehicle vehicle
  (uint)API.GetHashKey("name") // Hash propset
);
All PROPSET natives

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