IS_VEHICLE_SEAT_FREE
Returns true if seat seatIndex of vehicle is free.
Signature
BOOL IS_VEHICLE_SEAT_FREE(Vehicle vehicle, int seatIndex); // 0xE052C1B1CAA4ECE4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | seatIndex | int |
Facts
| Name | IS_VEHICLE_SEAT_FREE |
|---|---|
| Hash | 0xE052C1B1CAA4ECE4 |
| 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(0xE052C1B1CAA4ECE4, -- IS_VEHICLE_SEAT_FREE
0, -- Vehicle vehicle
0 -- int seatIndex
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xE052C1B1CAA4ECE4", // IS_VEHICLE_SEAT_FREE
0, // Vehicle vehicle
0, // int seatIndex
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xE052C1B1CAA4ECE4, // IS_VEHICLE_SEAT_FREE
0, // Vehicle vehicle
0 // int seatIndex
);Related VEHICLE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.