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=407414)



tag mismatch - GrInDzO - 13.01.2013

Hey again! Don't know why my last post delete, just ask for help..

Anyway, now i have only 1 warning:
pawn Код:
Turnirs2.pwn(618) : warning 213: tag mismatch
618 line:
pawn Код:
var4 = floatround(var3, 1);
What is wrong?


Re: tag mismatch - Infinity90 - 13.01.2013

Show us your var3


Re: tag mismatch - mineralo - 13.01.2013

pawn Код:
new var4 = floatround(var3, 1);
be sure that var3 was declared float ( new Float:var3)


Re: tag mismatch - Vince - 13.01.2013

The second argument is declared with the tag floatround_method:. Hence, tag mismatch. Use either of these: https://sampwiki.blast.hk/wiki/Floatround_method


Re: tag mismatch - GrInDzO - 16.01.2013

Var3:
pawn Код:
new Float:var3 = 0.0;