SA-MP Forums Archive
Easy fix needed. - 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)
+--- Thread: Easy fix needed. (/showthread.php?tid=372275)



Easy fix needed. - andrew2695 - 25.08.2012

I would like to know how to fix the following warning.

pawn Код:
new Float:health;
GetVehicleHealth(vehicleid, health);
new RepairCost = (health/10)*1.75;
pawn Код:
warning 213: tag mismatch



Re: Easy fix needed. - ZBits - 25.08.2012

whihc line?


Re : Easy fix needed. - andrew2695 - 25.08.2012

pawn Код:
new RepairCost = (health/10)*1.75;



Re: Easy fix needed. - ikkentim - 26.08.2012

new RepairCost = floatround((health/10)*1.75);