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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag Mismatch (/showthread.php?tid=165354)



Tag Mismatch - juuleman - 04.08.2010

Hey Guys,

Im getting a warning when i compile my script but i don't understand it. I get this warning:

Код:
P:\EastCoast Real Life ServeR\EastCoast Real Life ServeR\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\samp03asvr_win32\gamemodes\Ec-rls.pwn(4576) : warning 213: tag mismatch
On this line:

pawn Код:
GetVehicleHealth(vehicleid, health);
Maybe i am just stupid and i don't see it but please someone help me...


Re: Tag Mismatch - Dolph - 04.08.2010

pawn Код:
new vehicleid;
    vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleHealth(vehicleid, health);



Re: Tag Mismatch - juuleman - 04.08.2010

Quote:
Originally Posted by Dolph
Посмотреть сообщение
pawn Код:
new vehicleid;
    vehicleid = GetPlayerVehicleID(playerid);
    GetVehicleHealth(vehicleid, health);
Yeah i got that, but still i get the warning...


Re: Tag Mismatch - juuleman - 04.08.2010

[Sorry for the double post]

Ah nvm, got it.

I had:

pawn Код:
new health;
But needed:
pawn Код:
new Float:health;
Thanks for the help anyway!