SA-MP Forums Archive
Tag mismatch :S - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag mismatch :S (/showthread.php?tid=101525)



Tag mismatch :S - LTomi - 11.10.2009

Quote:

C:\Documents and Settings\LTomi\Dokumentumok\SA-MP\Gold RPG\gamemodes\goldrpg.pwn(8066) : warning 213: tag mismatch

Line 8066:
pawn Код:
GetPlayerHealth(i, health);
Where is the problem?


Re: Tag mismatch :S - woot - 11.10.2009

Make sure you defined "health" as a Float


Re: Tag mismatch :S - LTomi - 11.10.2009

SOLVED


Re: Tag mismatch :S - SpiderPork - 11.10.2009

Replace

pawn Код:
new health;
with
pawn Код:
new Float:health;



Re: Tag mismatch :S - LTomi - 11.10.2009

Thank you for helping.