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=440107)



Tag mismatch? - NicholasA - 28.05.2013

Код:
welcomeText = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
Gives me tag mismatch error


Re: Tag mismatch? - Red_Dragon. - 28.05.2013

Add this
pawn Код:
new Text:welcomeText;
and make sure you place the code you provided under OnGameModeInit and don't forget to add
pawn Код:
return 1;
if you didn't add it.


Re: Tag mismatch? - NicholasA - 28.05.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Add this
pawn Код:
new Text:welcomeText;
and make sure you place the code you provided under OnGameModeInit and don't forget to add
pawn Код:
return 1;
if you didn't add it.
Didn't work


Re: Tag mismatch? - Red_Dragon. - 28.05.2013

Please provide us with more information about your problem. How it didn't work ? Did it give more errors ?


Re: Tag mismatch? - NicholasA - 28.05.2013

Nevermind I have no idea what was wrong but when i changed the name of it it worked