14.01.2013, 12:21
pawn Код:
OnPlayerCommandText(playerid,cmdtext);
{
new cmd[256],idx,tmp[256];
cmd = strtok(cmdtext,idx);
if(!strcmp(cmd,"/help",true))
{
tmp = strtok(cmdtext,idx);
if(!strcmp(tmp,"cmds",true))
{
//your codes
}
return 1;
}
return 1;
}