Command + a word
#5

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;
}
Reply


Messages In This Thread
Command + a word - by Zex Tan - 14.01.2013, 08:46
Re: Command + a word - by Konstantinos - 14.01.2013, 09:41
Re: Command + a word - by Zex Tan - 14.01.2013, 12:06
Re: Command + a word - by LarzI - 14.01.2013, 12:13
Re: Command + a word - by mineralo - 14.01.2013, 12:21
Re: Command + a word - by Konstantinos - 14.01.2013, 12:28
Re: Command + a word - by mineralo - 14.01.2013, 12:32
Re: Command + a word - by Zex Tan - 14.01.2013, 12:36

Forum Jump:


Users browsing this thread: 2 Guest(s)