23.10.2010, 15:21
your piece of code always returns 0 to me...
try this piece if you want how many damage the car has
try this piece if you want how many damage the car has
Код:
stock GetVehicleDamage(vehicleid){ new Float:vhealth,Float:ags; GetVehicleHealth(vehicleid, vhealth); ags=1000-vhealth; return ags; }