How to make a textdraw dissapear after a few seconds?
#1

Hey,

How do i make my textdraw dissappear after a few seconds? for example when you spawn it says "Welcome to the server" how do i make it dissapear 10 seconds later?

Thank You
Reply
#2

Use timer

In:

Код:
OnPlayerSpawn
Put this:

Код:
SetTimer("TextDrawKill",10000,0);
then somewhere in your script at the end e.g

Код:
forward TextDrawKill( );
TextDrawKill( )
{
	TextDrawDestroy(youtextdraw);
}
Reply
#3

Thank You. Also i have a problem. when i connect it shows a text draw but when i quit and go back on the server the text draw doesn't appear, it only appears if i restart the server

how do i make it show every time i connect?

Reply
#4

Put this in OnPlayerConnect

pawn Код:
TextDrawShowForPlayer(playerid, youtextdraw);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)