23.10.2010, 15:18
to my gm work good dont give any errors
try this :P
pawn Код:
stock GetVehicleDamage(vehicleid)
{
new Float:vhealth;
new Float:bubu;
GetVehicleHealth(vehicleid, vhealth);
vhealth = (100 / 1000 * vhealth);
bubu = (floatround(vhealth * 10.0) / 10.0);
return bubu;
}