[SOLVED] Commmands donґt work (/help)
#3

Let me show you alittle trick. instead of doing
Код:
	if(strcmp(cmd, "/help", true) == 0)
do it like this
Код:
if(!strcmp(cmdtext,"/help",true)) {
and to fix your codes.
Код:
if(!strcmp(cmdtxt,"/help",true)) {
	  SendClientMessage(playerid, YELLOW,"General Help");
		return 1;}
	if(!strcmp(cmdtxt,"/commands",true)) {
	  SendClientMessage(playerid, YELLOW,"Commands Help");
      return 1;}
To use your commands type "/help" and "/commands"
Reply


Messages In This Thread
[SOLVED] Commmands donґt work (/help) - by Flashy - 01.06.2010, 15:17
Re: Commmands donґt work - by ReVo_ - 01.06.2010, 15:21
Re: Commmands donґt work - by -Rebel Son- - 01.06.2010, 15:36
Re: Commmands donґt work - by Flashy - 01.06.2010, 15:50
Re: Commmands donґt work - by MastahServers - 01.06.2010, 15:53
Re: Commmands donґt work - by Naxix - 01.06.2010, 16:10
Re: Commmands donґt work - by Flashy - 01.06.2010, 16:26
Re: [SOLVED] Commmands donґt work (/help) - by MadeMan - 01.06.2010, 16:37
Re: [SOLVED] Commmands donґt work (/help) - by [XST]O_x - 01.06.2010, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)