[Include] Extended Vehicle Information
#14

Quote:
Originally Posted by Jay_
Посмотреть сообщение
I wouldn't rely on the nMonetaryValue flag for anything other than cars or maybe motorbikes. IIRC it's the default value of the vehicle which then varies depending on the damage inflicted to it. The official description of the flag is "Used to calculate the Value of property damaged statistic."
I see. I was planning on making a list of realistic prices soon anyway, shame this isn't realistic.


Off-topic:

Quote:
Originally Posted by Kar
Посмотреть сообщение
pawn Код:
new Float:vehicle_weight;
GetVehicleModelInfoAsFloat(Junkyard_Dog, "fMass");
printf("Junkyard_Dog weighs %f Newtons", vehicle_weight);
You do realise Newtons is the unit for measuring force? The unit for mass is Kilograms (KG). This is also at the top of handling.cfg:

; > UNITS <
; ---------
; vehicle identifier 14 characters max
; dimensions in metres
; mass in Kg
; velocity in Km/h
; acceleration/deceleration in ms-2
; multipliers x1.0 is default
; angles in degrees
; Levels :- (L)ow, (M)edium, (H)igh
; buoyancy = percent submerged (> 100% vehicle sinks)
; engine type :- (P)etrol, (D)iesel, (E)lectric
; engine drive :- (F)ront, ®ear, (4)-wheel drive
Reply


Messages In This Thread
Extended Vehicle Information - by Vince - 21.05.2013, 14:13
Re: Extended Vehicle Information - by Kyle - 21.05.2013, 14:15
Re: Extended Vehicle Information - by RajatPawar - 21.05.2013, 15:41
Re: Extended Vehicle Information - by Littlehelper - 21.05.2013, 15:47
Re: Extended Vehicle Information - by DaRk_RaiN - 21.05.2013, 15:52
Re: Extended Vehicle Information - by Vince - 21.05.2013, 15:56
Re: Extended Vehicle Information - by Kreatyve - 21.05.2013, 19:27
Re: Extended Vehicle Information - by MP2 - 21.05.2013, 19:53
Re: Extended Vehicle Information - by Maxips2 - 22.05.2013, 10:26
Re: Extended Vehicle Information - by Alex Magaсa - 22.05.2013, 11:18
Re: Extended Vehicle Information - by Jay_ - 22.05.2013, 12:36
Re: Extended Vehicle Information - by Kar - 23.05.2013, 03:21
Re: Extended Vehicle Information - by Yiin - 23.05.2013, 08:09
Re: Extended Vehicle Information - by MP2 - 23.05.2013, 17:24
Re: Extended Vehicle Information - by TheArcher - 23.05.2013, 17:35
Re: Extended Vehicle Information - by Kar - 23.05.2013, 22:13
Re: Extended Vehicle Information - by startserv - 01.10.2014, 07:33
Re: Extended Vehicle Information - by Pottus - 01.10.2014, 08:35
Re: Extended Vehicle Information - by Luis- - 04.05.2015, 20:01
Re: Extended Vehicle Information - by Luis- - 19.05.2015, 18:00
Re: Extended Vehicle Information - by BiosMarcel - 31.01.2016, 19:39
Re: Extended Vehicle Information - by Tamer - 31.01.2016, 19:47
Re: Extended Vehicle Information - by Crayder - 01.02.2016, 16:18
Re: Extended Vehicle Information - by RotX - 24.09.2017, 17:06
Re: Extended Vehicle Information - by BiosMarcel - 24.09.2017, 19:03

Forum Jump:


Users browsing this thread: 3 Guest(s)