_DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
Returns true if the vehicle currently has a light prop set attached.
Signature
BOOL _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET(Vehicle vehicle); // 0xC9B4B3A36F81FD75 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
Facts
| 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.
local result = Citizen.InvokeNative(0xC9B4B3A36F81FD75, -- _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
0 -- Vehicle vehicle
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xC9B4B3A36F81FD75", // _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
0, // Vehicle vehicle
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xC9B4B3A36F81FD75, // _DOES_VEHICLE_HAVE_ANY_LIGHT_PROP_SET
0 // Vehicle vehicle
);Related PROPSET natives
- _DOES_VEHICLE_HAVE_ANY_PROP_SET
- _ADD_LIGHT_PROP_SET_TO_VEHICLE
- _GET_VEHICLE_LIGHT_PROP_SET
- _IS_VEHICLE_LIGHT_PROP_SET_LOADED
- _DOES_PROP_SET_OF_TYPE_EXIST_NEAR_COORDS
- _ADD_ADDITIONAL_PROP_SET_FOR_VEHICLE
- _ADD_PROP_SET_FOR_VEHICLE
- _GET_VEHICLE_PROP_SET
- _GET_VEHICLE_PROP_SET_HASH
- _HAS_VEHICLE_TRAILER_PROP_SET_LOADED
- _IS_VEHICLE_PROP_SET_LOADED
- _IS_VEHICLE_PROP_SET_LOADED_ADDITIONAL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.