Noobiest question ever :P
#2

I don't really understand what you are trying to do with that code but I do understand that if you replace:
Код:
foreach(Player,i)
{    
	switch(Texts)    
	{        
		case 1: 
		{ 
			SetTimerEx("SendTxtMsgD",10000,0,"i",i); Texts=1;
		}        
		case 2: 
		{ 
			SetTimerEx("SendTxtMsgD",5000,0,"i",i); Texts=2;
		}        
		case 3: 
		{ 
			SetTimerEx("SendTxtMsgD",5000,0,"i",i); Texts=3;
		}        
		case 4: 
		{ 
			SetTimerEx("SendTxtMsgD",5000,0,"i",i); Texts=4;
		}       
		case 5: 
		{ 
			SetTimerEx("SendTxtMsgD",5000,0,"i",i); Texts=5;
		}    
	}
}
with :

Код:
foreach(Player,i)
{    
	switch(Texts)    
	{        
		case 1: 
		{ 
			SetTimerEx("SendTxtMsgD",500,0,"i",i); Texts=1;
		}        
		case 2: 
		{ 
			SetTimerEx("SendTxtMsgD",500,0,"i",i); Texts=2;
		}        
		case 3: 
		{ 
			SetTimerEx("SendTxtMsgD",500,0,"i",i); Texts=3;
		}        
		case 4: 
		{ 
			SetTimerEx("SendTxtMsgD",500,0,"i",i); Texts=4;
		}       
		case 5: 
		{ 
			SetTimerEx("SendTxtMsgD",500,0,"i",i); Texts=5;
		}    
	}
}
The textdraws will hide after 500 milliseconds and I guess that's what you wanted to do?

Note: I have done nothing but change the time you set. If you have any problem or want something else, let me know.
Reply


Messages In This Thread
Noobiest question ever :P - by [L3th4l] - 12.07.2010, 19:20
Re: Noobiest question ever :P - by DJDhan - 12.07.2010, 20:22
Re: Noobiest question ever :P - by -Rebel Son- - 13.07.2010, 02:20
Re: Noobiest question ever :P - by TheInnocentOne - 13.07.2010, 02:38
Re: Noobiest question ever :P - by -Rebel Son- - 13.07.2010, 02:40

Forum Jump:


Users browsing this thread: 2 Guest(s)