Text Draws
#1

ok i get nice Program / script for making Text Draws but when i script them i have problem ... all work fine no errors or warnings but when i connect to the server my textdraw show for less than 1 second and deasapear so fast ... -.- i wanna this textdraw when player connect for 5 sec or somewhere there ... how i can make that ?

here is my script:

// Top Of My Script

Код:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
Than OnGameModeInit

Код:
Textdraw0 = TextDrawCreate(291.000000,31.000000,"LOL");
	Textdraw1 = TextDrawCreate(202.000000,40.000000,"WELCOME!");
	Textdraw2 = TextDrawCreate(131.000000,61.000000,"Revolution Server (0.2X)");
	TextDrawUseBox(Textdraw0,1);
	TextDrawBoxColor(Textdraw0,0x000000ff);
	TextDrawTextSize(Textdraw0,0.000000,477.000000);
	TextDrawAlignment(Textdraw0,2);
	TextDrawAlignment(Textdraw1,0);
	TextDrawAlignment(Textdraw2,0);
	TextDrawBackgroundColor(Textdraw0,0x000000ff);
	TextDrawBackgroundColor(Textdraw1,0x0000ffff);
	TextDrawBackgroundColor(Textdraw2,0x0000ffff);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,1.000000,47.000000);
	TextDrawFont(Textdraw1,3);
	TextDrawLetterSize(Textdraw1,1.100000,1.000000);
	TextDrawFont(Textdraw2,3);
	TextDrawLetterSize(Textdraw2,0.699999,2.000000);
	TextDrawColor(Textdraw0,0x000000ff);
	TextDrawColor(Textdraw1,0xffffffff);
	TextDrawColor(Textdraw2,0xffffffff);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetOutline(Textdraw2,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetProportional(Textdraw1,1);
	TextDrawSetProportional(Textdraw2,1);
	TextDrawSetShadow(Textdraw0,1);
	TextDrawSetShadow(Textdraw1,1);
	TextDrawSetShadow(Textdraw2,1);
and than i try under OnPlayerConnect With This:

Код:
TextDrawShowForPlayer(playerid,Text:Textdraw0);
	TextDrawShowForPlayer(playerid,Text:Textdraw1);
	TextDrawShowForPlayer(playerid,Text:Textdraw2);
	
	TextDrawDestroy(Textdraw0);
	TextDrawDestroy(Textdraw1);
	TextDrawDestroy(Textdraw2);
what is the problem ? anyone can help please ?

ty for any help

now i go sleep
Reply


Messages In This Thread
Text Draws - by Geekzor - 08.08.2009, 22:21
Re: Text Draws - by paytas - 08.08.2009, 22:22
Re: Text Draws - by ev0lution - 08.08.2009, 22:23
Re: Text Draws - by Geekzor - 08.08.2009, 22:28
Re: Text Draws - by Jefff - 08.08.2009, 22:29
Re: Text Draws - by Sergei - 08.08.2009, 22:30
Re: Text Draws - by Geekzor - 09.08.2009, 12:17

Forum Jump:


Users browsing this thread: 1 Guest(s)