The Lab
PROPSET native

_ADD_LIGHT_PROP_SET_TO_VEHICLE

returns void2 paramsbuild 1207

Adds a light prop set (such as lanterns) identified by lightPropset to the given vehicle.

Signature

C
void _ADD_LIGHT_PROP_SET_TO_VEHICLE(Vehicle vehicle, Hash lightPropset); // 0xC0F0417A90402742 b1207

Parameters

#NameType
1vehicleVehicle
2lightPropsetHash

Facts

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

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