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



Warning 213: Tag Mismatch - xplor09edy - 27.10.2012

Hey Im sad because of this warning:
Код:
D:\Jocuri\SAMP SERVERS\Stuntage Revolution World\gamemodes\samp.pwn(1034) : warning 213: tag mismatch
Here is the code:
At the top of script:
Код:
#define version 2.3
On player connect:
Код:
        new CONNECTINFO[2024];
	strcat(CONNECTINFO, "Welcome to Stunt Revolution World\n");
	strcat(CONNECTINFO, "Current version of server: %d\n\n", version);
	SPD(playerid, connect, DIALOG_STYLE_MSGBOX, ""L"Stunt "W"Revolution "L"World", CONNECTINFO, "Close", "");
How can i solve this?



Re: Warning 213: Tag Mismatch - [HK]Ryder[AN] - 27.10.2012

Change it to
pawn Код:
#define version "2.3"



Re: Warning 213: Tag Mismatch - xplor09edy - 27.10.2012

Solved with this
Код:
format(vers, sizeof(vers), "Current version of server: %d\n\n", version);
	strcat(CONNECTINFO, vers);