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)
+--- Thread: TAg mismatch (/showthread.php?tid=405877)



TAg mismatch - CBCandyBoy - 08.01.2013

when i compiled i got many tag mismatch errors

Код:
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5751) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5752) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5753) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5754) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5755) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5756) : warning 213: tag mismatch
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5757) : warning 213: tag mismatch
and the lines
Код:
	MP = TextDrawCreate(519.000000, 411.000000, "~r~RGX ~b~: ~g~GAMING");
	TextDrawBackgroundColor(MP, 255);
	TextDrawFont(MP, 2);
	TextDrawLetterSize(MP, 0.350000, 1.200000);
	TextDrawColor(MP, -175963905);
	TextDrawSetOutline(MP, 1);
	TextDrawSetProportional(MP, 1);
please help me


Re: TAg mismatch - Roel - 08.01.2013

Change

new MP;

to

new Text:MP;


Re: TAg mismatch - CBCandyBoy - 08.01.2013

after adding a new warning

Код:
C:\Users\Rajan\Desktop\final server v9 satdm\gamemodes\SATDM_v9.pwn(5751) : warning 221: label name "Text" shadows tag name
and those warnings remain


Re: TAg mismatch - Roel - 08.01.2013

Show me the code where you define MP


Re: TAg mismatch - CBCandyBoy - 08.01.2013

oh done man thx for help +Rep