SA-MP Forums Archive
Tag mismatch? - 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 mismatch? (/showthread.php?tid=451235)



Tag mismatch? - thimo - 16.07.2013

Why do i get a tag mismatch from this:
pawn Код:
GivePlayerCash(playerid, AHouseData[i][price] * 0.75);
While anywhere else this does work:
pawn Код:
GivePlayerCash(playerid, Payment);



Re: Tag mismatch? - MP2 - 16.07.2013

Because it wants an integer, not a float. Use floatround().


Re: Tag mismatch? - thimo - 16.07.2013

Thank you!