if player types "1" in chat
#8

Use the one ViruZZzZ_ChiLLL made,
Quote:
Originally Posted by ViruZZzZ_ChiLLL
pawn Код:
if(text[0] == '1')
{
 // do something here
 return 1;
}
Because, thats better than the one Fog made
Quote:
Originally Posted by Fog™
you mean command without /?,just dont add / then?

Код:
	if (strcmp("1", cmdtext, true, 10) == 0)//if he types 1
	{
		// then there will happen
		return 1;
	}
Reply


Messages In This Thread
if player types "1" in chat - by jamesbond007 - 11.06.2010, 06:53
Re: if player types "1" in chat - by WardenCS - 11.06.2010, 06:56
Re: if player types "1" in chat - by ViruZZzZ_ChiLLL - 11.06.2010, 07:04
Re: if player types "1" in chat - by jamesbond007 - 11.06.2010, 07:15
Re: if player types "1" in chat - by WardenCS - 11.06.2010, 07:20
Re: if player types "1" in chat - by jamesbond007 - 11.06.2010, 07:31
Re: if player types "1" in chat - by DJDhan - 11.06.2010, 08:19
Re: if player types "1" in chat - by Niixie - 11.06.2010, 08:35
Re: if player types "1" in chat - by jamesbond007 - 11.06.2010, 08:36

Forum Jump:


Users browsing this thread: 1 Guest(s)