ARE_ANY_VEHICLE_SEATS_FREE
Returns false if every seat is occupied.
Hash
0xA0A424505A1B6429Runtime name
AreAnyVehicleSeatsFreeNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2D34FC3BC4ADB780Signature
BOOL ARE_ANY_VEHICLE_SEATS_FREE(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns BOOL
Description
Returns false if every seat is occupied.
Usage
local retval = AreAnyVehicleSeatsFree(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0xA0A424505A1B6429, vehicle, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = AreAnyVehicleSeatsFree(vehicle);
// by hash
const retval = Citizen.invokeNative('0xA0A424505A1B6429', vehicle, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xA0A424505A1B6429, vehicle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.