setVehicleFullbeam
SET_VEHICLE_FULLBEAM0x8B7FD87F0DDB421EThe GTA V native SET_VEHICLE_FULLBEAM of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleFullbeam, in JavaScript and in Lua.
setVehicleFullbeam(vehicle: Vehicle, toggle: boolean): voidsetVehicleFullbeam(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setVehicleFullbeam(vehicle, toggle);Lua
setVehicleFullbeam(vehicle, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
It switch to highbeam when p1 is set to true.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_FULLBEAM(Vehicle vehicle, BOOL toggle)- Hash
0x8B7FD87F0DDB421E