19.05.2014, 15:34
Hi there!
Today, for the first time in this forum publish any thing.
1. What is it?
It is a library that contains the data of the original vehicle handling from GTA SA.
We can download the vehicle weight, number of gears, the mass center of the vehicle, maximum speed, acceleration, Intertia, engine type, drive type, etc...
2. What are the Functions:
Currently, these functions can only return through vehicleid. In the future implementation of the right of appeal is also using the same vehicle model.
URL to source: https://github.com/l0nger/SAMP-Handling
Download library: https://github.com/l0nger/SAMP-Handl...ive/master.zip
License: GPLv2
Peace.
Today, for the first time in this forum publish any thing.
1. What is it?
It is a library that contains the data of the original vehicle handling from GTA SA.
We can download the vehicle weight, number of gears, the mass center of the vehicle, maximum speed, acceleration, Intertia, engine type, drive type, etc...
2. What are the Functions:
Код:
-- Functions return a floating-point number native Float:GetVehicleMass(vehicle); native Float:GetVehicleDragCoeff(vehicle); native Float:GetVehicleFrontRearBias(vehicle); native GetVehicleCenterMass(vehicle, &Float:cx, &Float:cy, &Float:cz); native Float:GetVehicleSusAntiDriveMul(vehicle); native Float:GetVehicleSusHighSpeedDpg(vehicle); native Float:GetVehicleSusLowerLimit(vehicle); native Float:GetVehicleSusUpperLimit(vehicle) native Float:GetVehicleSusForceLvl(vehicle); native Float:GetVehicleSteeringLock(vehicle); native Float:GetVehicleTurnMass(vehicle); native Float:GetVehicleTractionMultiplier(vehicle); native Float:GetVehicleEngineAccel(vehicle); native Float:GetVehicleEngineInertia(vehicle); native Float:GetVehicleTractionBias(vehicle); native Float:GetVehicleTractionLoss(vehicle); native Float:GetVehicleTractionLoss(vehicle); native Float:GetVehicleDistSeatOffset(vehicle); native Float:GetVehicleSusDamping(vehicle); native Float:GetVehicleCollisionDmg(vehicle); native Float:GetVehicleMaxVelocity(vehicle); -- Functions returning an integer native GetVehicleNumberOfGear(vehicle); native GetVehiclePercentSubMerged(vehicle); -- Functions return a string native GetVehicleEngineType(vehicle); native GetVehicleDriveType(vehicle);
URL to source: https://github.com/l0nger/SAMP-Handling
Download library: https://github.com/l0nger/SAMP-Handl...ive/master.zip
License: GPLv2
Peace.