Quote:
Originally Posted by Scrillex
pawn Код:
if(strcmp("/help", cmdtext, true) == 0) { if(!sscanf(params,"s[40]", help)) { if(strcmp(help,"new", true) == 0) {
} else if(strcmp(help,"_", true) == 0) {
} // And so on. } else { SendClientMessage(playerid, -1,"/help new, _, _, _, _"); } return 1; }
Not tested... So if itsn't working then look how to recode it to strcmp!
|
I think you forgot to add this: new help;