SA-MP Forums Archive
textdraw dont show - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: textdraw dont show (/showthread.php?tid=271687)



textdraw dont show - PlasticKiller - 25.07.2011

I have a problem
I created new textdraw and there is that:
Код:
new Textdraw0;
Код:
public OnGameModeInit()
{	
           Textdraw0 = TextDrawCreate(4.000000,450.000000,"5Stars");
	TextDrawAlignment(Textdraw0,3);
	TextDrawBackgroundColor(Textdraw0,0x000000ff);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,0.599998,2.200000);
	TextDrawColor(Textdraw0,0xff0000ff);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetShadow(Textdraw0,10);


...(dont show)
	return 1;
}
Код:
public OnPlayerConnect(playerid)
{
      TextDrawShowForPlayer(playerid, Textdraw0);
}
Код:
public OnPlayerDisconnect(playerid)
{
       TextDrawHideForPlayer(playerid, Textdraw0);
}
warnings:
Код:
E:\5STARS~1\GAMEMO~1\5stars.pwn(112) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(113) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(114) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(115) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(116) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(117) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(118) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(119) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(120) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(139) : warning 213: tag mismatch
E:\5STARS~1\GAMEMO~1\5stars.pwn(158) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


11 Warnings.
and textdraw dont want to show ingame
pls help


Re: textdraw dont show - Vince - 25.07.2011

new Text:Textdraw0;


Re: textdraw dont show - PlasticKiller - 25.07.2011

thx but ingame dont want to showes textdraw


Re: textdraw dont show - PlasticKiller - 25.07.2011

help?