setPlaneAvoidsOthers
_SET_PLANE_AVOIDS_OTHERS0xBAFB99B304BC52A7The GTA V native _SET_PLANE_AVOIDS_OTHERS of the VEHICLE namespace, as LS:MP client scripts call it: the global function setPlaneAvoidsOthers, in JavaScript and in Lua.
setPlaneAvoidsOthers(vehicle: Vehicle, toggle: boolean): voidsetPlaneAvoidsOthers(vehicle: Vehicle, toggle: boolean)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
setPlaneAvoidsOthers(vehicle, toggle);Lua
setPlaneAvoidsOthers(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_PLANE_AVOIDS_OTHERS(Vehicle vehicle, BOOL toggle)- Hash
0xBAFB99B304BC52A7- Introduced
- Game build 3407 legacy numbering