SA-MP Forums Archive
GetVehicleModelMass - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: GetVehicleModelMass (/showthread.php?tid=607290)



GetVehicleModelMass - WeirdestYeti - 17.05.2016

So i heard about function - GetVehicleModelMass, but i can`t find anything about it.

All id did is find one git inc. and inside readme is a text.

Code:
Allows you to use functions such as "modelMass" which is the same as "GetVehicleModelMass".
But i found zero information about GetVehicleModelMass.

anyone heard about it ?


Re: GetVehicleModelMass - Sew_Sumi - 17.05.2016

Seen this elsewhere upon searching for GetVehicleModelMass.

Code:
This contains extracted vehicle model data from GTA:SA handling.cfg file



Re: GetVehicleModelMass - JasperM - 17.05.2016

From what I know, GetVehicleModelMass is not a function in a_samp.inc, but in the .inc you found, there is a function called "vehModelMass(modelid)", which returns the mass as it appeared in handling.cfg.


Re: GetVehicleModelMass - Spmn - 17.05.2016

https://sampforum.blast.hk/showthread.php?tid=438678


Re: GetVehicleModelMass - Sew_Sumi - 18.05.2016

Spmn got it... That's a nice thread to peruse.