Tag MishMatch.. Dont think so? - 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: Tag MishMatch.. Dont think so? (
/showthread.php?tid=314662)
Tag MishMatch.. Dont think so? -
milanosie - 30.01.2012
I get a Tag MishMatch warning here:
pawn Код:
sellprice[playerid] = House[h][hprice] /= 1.25;
but not on this:
pawn Код:
sellprice[playerid] = House[h][hprice] /= 2;
how to fix this?
Re: Tag MishMatch.. Dont think so? -
DiDok - 30.01.2012
Use the Float: tag, you are dividing by floating point value, or do:
Код:
sellprice[playerid] = (House[h][hprice] * 4) / 5
Re: Tag MishMatch.. Dont think so? -
Babul - 30.01.2012
pawn Код:
sellprice[playerid] = House[h][hprice] * 100 / 125;
will avoid stress maybe