2 Command Readers
#1

Hey,

Is it somehow possible to use zcmd and strtok? Like..

this
pawn Код:
if(strcmp(cmdtext, "/white", true) == 0)
    {
        SetPlayerColor(playerid, COLOR_WHITE);
        return 1;
    }
under OnPlayerCommandText

and
pawn Код:
CMD:commands(playerid, params[])
{
    SendClientMessage(playerid, lightgreen, "----------------------------------");
    SendClientMessage(playerid, lightgreen, "* {B4B5B7}/admins /vips /report /stats /cmds /help");
    SendClientMessage(playerid, lightgreen, "----------------------------------");
    return 1;
}
under nothing? Cuz now all the strcmp commands doesn't work. It's all in one gamemode.
Reply


Messages In This Thread
2 Command Readers - by Kudoz - 08.01.2015, 18:25
Re: 2 Command Readers - by Rabea - 08.01.2015, 18:46
Re: 2 Command Readers - by Kudoz - 08.01.2015, 18:51

Forum Jump:


Users browsing this thread: 1 Guest(s)