SA-MP Forums Archive
Error: 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: Error: Tag Mismatch (/showthread.php?tid=347929)



Error: Tag Mismatch - Dodo9655 - 03.06.2012

pawn Код:
new carPos[4],
               v = GetPlayerVehicleID(playerid);
       
(558) GetVehiclePos(v, carPos[0], carPos[1], carPos[2]);
(559) GetVehicleZAngle(v, carPos[3]);
pawn Код:
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(559) : warning 213: tag mismatch
I could use some help, thanks.


Re: Error: Tag Mismatch - Edward156 - 03.06.2012

Your syntax is wrong, read these..
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
https://sampwiki.blast.hk/wiki/Function:GetVehiclePos
https://sampwiki.blast.hk/wiki/GetVehicleZAngle


Re: Error: Tag Mismatch - zbt - 03.06.2012

pawn Код:
new Float:carPos[4],



Re: Error: Tag Mismatch - [KSF]WARLOCK - 03.06.2012

Tag mismatch warnings never affect anything AFAIK. I would ignore it, as long as your script works properly.

EDIT: Here the syntax is wrong, so as others said, read the function on the wiki.


Re: Error: Tag Mismatch - Jonny5 - 03.06.2012

Quote:
Originally Posted by [KSF]WARLOCK
Посмотреть сообщение
Tag mismatch warnings never affect anything AFAIK. I would ignore it, as long as your script works properly.

EDIT: Here the syntax is wrong, so as others said, read the function on the wiki.
yes they can affect things!
having any warnings is not good.
it needs to have a float tag to ensure the proper operators are used when doing math with the values