Ignore Number Commands?
#1

I'm trying to make a menu, and when its open, if you enter a number 1-10 it gives you that item on the textdraw. It works, but the only problem is that it spams the server client and server_log with numbers.

Example of command:
Код:
if(test[playerid] == 1)
  {
 	new Float:phealth;
 		
    	if (strcmp(text,"1",true) == 0)
		{
		
		}
		
	else if (strcmp(text,"2",true) == 0)
		{
		

		}...
Example of server_log.txt:
Код:
[19:36:14] [chat] [player]: 1
[19:36:15] [chat] [player]: 2
[19:36:16] [chat] [player]: 3
[19:36:17] [chat] [player]: 4
[19:37:14] [chat] [player]: 5
Is there a way to make it ignore these #'s/commands on the server_log? There will be thousands of these spamming the log if its left as is.

Reply


Messages In This Thread
Ignore Number Commands? - by DeerHooves - 18.02.2009, 22:54
Re: Ignore Number Commands? - by ICECOLDKILLAK8 - 18.02.2009, 23:05
Re: Ignore Number Commands? - by 1337pr0 - 19.02.2009, 02:33
Re: Ignore Number Commands? - by Joe Staff - 19.02.2009, 05:41
Re: Ignore Number Commands? - by Norn - 19.02.2009, 05:44
Re: Ignore Number Commands? - by DeerHooves - 19.02.2009, 08:01
Re: Ignore Number Commands? - by Norn - 19.02.2009, 08:08
Re: Ignore Number Commands? - by DeerHooves - 19.02.2009, 08:10
Re: Ignore Number Commands? - by Norn - 19.02.2009, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)