getVehicleModelAccelerationMaxMods
GET_VEHICLE_MODEL_ACCELERATION_MAX_MODS0x53409B5163D5B846The GTA V native GET_VEHICLE_MODEL_ACCELERATION_MAX_MODS of the VEHICLE namespace, as LS:MP client scripts call it: the global function getVehicleModelAccelerationMaxMods, in JavaScript and in Lua.
getVehicleModelAccelerationMaxMods(modelHash: Hash): numbergetVehicleModelAccelerationMaxMods(modelHash: Hash): numberUsage
JavaScript
const value = getVehicleModelAccelerationMaxMods(modelHash);Lua
local value = getVehicleModelAccelerationMaxMods(modelHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
modelHash | Hash | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
9.8 * thrust if air vehicle, else 0.38 + drive force?
Full list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json
Reference
- Namespace
- Vehicle VEHICLE
- In the game
float GET_VEHICLE_MODEL_ACCELERATION_MAX_MODS(Hash modelHash)- Hash
0x53409B5163D5B846- Formerly
_GET_VEHICLE_MODEL_DOWN_FORCE_GET_VEHICLE_MODEL_ESTIMATED_AGILITY