SET_VEHICLE_ALLOW_NO_PASSENGERS_LOCKON
Makes the vehicle accept no passengers.
Hash
0xECB9E9BC887E8060Runtime name
SetVehicleAllowNoPassengersLockonNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x5D14D4154BFE7B2CSignature
void SET_VEHICLE_ALLOW_NO_PASSENGERS_LOCKON(Vehicle vehicle, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
toggle | BOOL | — |
Returns void
Description
Makes the vehicle accept no passengers.
Usage
SetVehicleAllowNoPassengersLockon(vehicle, toggle)
-- always works, by hash
Citizen.InvokeNative(0xECB9E9BC887E8060, vehicle, toggle)JavaScript and C#
SetVehicleAllowNoPassengersLockon(vehicle, toggle);
// by hash
Citizen.invokeNative('0xECB9E9BC887E8060', vehicle, toggle);Function.Call((Hash)0xECB9E9BC887E8060, vehicle, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.