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=620491)
Tag mismatch -
NealPeteros - 30.10.2016
Is there something wrong in these lines of code?
PHP код:
new Float:health;
GetPlayerHealth(playerid,health);
pInfo[playerid][pHealth] = health;
Re: Tag mismatch -
Jayse - 30.10.2016
pHealth doesn't have Float: tag. Either add Float: tag to it in the enum or de-tag the health variable using _: (not recommend)
Re: Tag mismatch -
NeXoR - 30.10.2016
Don't use _: it can occur bugs, switch pHealth into Float
Health in your enumerator