setGoonBossVehicle
SET_GOON_BOSS_VEHICLE0xAB31EF4DE6800CE9The GTA V native SET_GOON_BOSS_VEHICLE of the VEHICLE namespace, as LS:MP client scripts call it: the global function setGoonBossVehicle, in JavaScript and in Lua.
setGoonBossVehicle(vehicle: Vehicle, toggle: boolean): voidsetGoonBossVehicle(vehicle: Vehicle, toggle: boolean)Usage
JavaScript
setGoonBossVehicle(vehicle, toggle);Lua
setGoonBossVehicle(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.
Used for GTAO CEO/Associate spawned vehicles.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_GOON_BOSS_VEHICLE(Vehicle vehicle, BOOL toggle)- Hash
0xAB31EF4DE6800CE9- Introduced
- Game build 573 legacy numbering