if player types "1" in chat
#4

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;
	}
why did you put 10 after true? isnt it suppose to be 1 because "1" is only one character or what?
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)