setForkliftForkHeight
SET_FORKLIFT_FORK_HEIGHT0x37EBBF3117BD6A25The GTA V native SET_FORKLIFT_FORK_HEIGHT of the VEHICLE namespace, as LS:MP client scripts call it: the global function setForkliftForkHeight, in JavaScript and in Lua.
setForkliftForkHeight(vehicle: Vehicle, height: number): voidsetForkliftForkHeight(vehicle: Vehicle, height: number)Usage
JavaScript
setForkliftForkHeight(vehicle, height);Lua
setForkliftForkHeight(vehicle, height)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
height | float | number | number |
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.
0.0 = Lowest 1.0 = Highest. This is best to be used if you wanna pick-up a car since un-realistically on GTA V forklifts can't pick up much of anything due to vehicle mass. If you put this under a car then set it above 0.0 to a 'lifted-value' it will raise the car with no issue lol
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_FORKLIFT_FORK_HEIGHT(Vehicle vehicle, float height)- Hash
0x37EBBF3117BD6A25