The Lab
PROPSET native

_DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET

returns BOOL1 parambuild 1207

Returns true if the vehicle currently has a light prop set attached.

Signature

C
BOOL _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET(Vehicle vehicle); // 0xC9B4B3A36F81FD75 b1207

Parameters

#NameType
1vehicleVehicle

Facts

Facts about _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
Name
_DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
Hash
0xC9B4B3A36F81FD75
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xC9B4B3A36F81FD75, -- _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
  0 -- Vehicle vehicle
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xC9B4B3A36F81FD75", // _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
  0, // Vehicle vehicle
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xC9B4B3A36F81FD75, // _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
  0 // Vehicle vehicle
);
All PROPSET natives

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