setVehicleOnGroundProperly
SET_VEHICLE_ON_GROUND_PROPERLY0x49733E92263139D1The GTA V native SET_VEHICLE_ON_GROUND_PROPERLY of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleOnGroundProperly, in JavaScript and in Lua.
setVehicleOnGroundProperly(vehicle: Vehicle, p1: number): booleansetVehicleOnGroundProperly(vehicle: Vehicle, p1: number): booleanUsage
JavaScript
const result = setVehicleOnGroundProperly(vehicle, p1);Lua
local result = setVehicleOnGroundProperly(vehicle, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
p1 | float | number | number |
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Sets a vehicle on the ground on all wheels. Returns whether or not the operation was successful.
sfink: This has an additional param(Vehicle vehicle, float p1) which is always set to 5.0f in the b944 scripts.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL SET_VEHICLE_ON_GROUND_PROPERLY(Vehicle vehicle, float p1)- Hash
0x49733E92263139D1