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