setVehicleUsedForPilotSchool
SET_VEHICLE_USED_FOR_PILOT_SCHOOL0xE05DD0E9707003A3The GTA V native SET_VEHICLE_USED_FOR_PILOT_SCHOOL of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleUsedForPilotSchool, in JavaScript and in Lua.
setVehicleUsedForPilotSchool(vehicle: Vehicle, toggle: boolean): voidsetVehicleUsedForPilotSchool(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleUsedForPilotSchool(vehicle, toggle);Lua
setVehicleUsedForPilotSchool(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_USED_FOR_PILOT_SCHOOL(Vehicle vehicle, BOOL toggle)- Hash
0xE05DD0E9707003A3