Help warning 213: 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: Help warning 213: tag mismatch (
/showthread.php?tid=425607)
Help warning 213: tag mismatch -
Broker - 26.03.2013
hello guys.. i get this warning :
Код:
E:\Server\GTA SA\SAMP\Dedicated Server\LOL v1.1.6\gamemodes\LOL.pwn(24562) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warnings.
and the pawn code :
Код:
new targetid, tname[MAX_PLAYER_NAME];
new name[MAX_PLAYER_NAME], string[128], string2[128];
if(targetid != gotost[playerid] == 1) <- eror
whats wrong ?
Re: Help warning 213: tag mismatch -
Neil. - 26.03.2013
Do you really have the intention to create objects at the world id of 400?
pawn Код:
CreateDynamicObject(18791, 1723.37, 1523.87, 233.31, 354.32, 13.90, 68.19, 400.0);
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);
EDIT: Remove all of your world id parameters. WorldID's doesn't use Floats.
Re: Help warning 213: tag mismatch -
Om3n - 26.03.2013
try remove all ", 400.0" and try it again.
Re: Help warning 213: tag mismatch -
Gamer_007 - 26.03.2013
Just change 400.0 to 400.It will work.I too was getting error in the 3D Label then i saw :P
Re: Help warning 213: tag mismatch -
Broker - 26.03.2013
thanks all.. its work..
and i have problem again :
Код:
new targetid, tname[MAX_PLAYER_NAME];
new name[MAX_PLAYER_NAME], string[128], string2[128];
if(targetid != gotost[playerid] == 1) <- eror
whats wrong ?