GET_VEHICLE_MODEL_NUMBER_OF_SEATS
Hash
0x9A578736FF3A17C3Runtime name
GetVehicleModelNumberOfSeatsNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x2AD93716F184EDA4Signature
int GET_VEHICLE_MODEL_NUMBER_OF_SEATS(Hash modelHash);Parameters
| Name | Type | Description |
|---|---|---|
modelHash | Hash | — |
Returns int
Usage
local retval = GetVehicleModelNumberOfSeats(modelHash)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9A578736FF3A17C3, modelHash, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetVehicleModelNumberOfSeats(modelHash);
// by hash
const retval = Citizen.invokeNative('0x9A578736FF3A17C3', modelHash, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9A578736FF3A17C3, modelHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.