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
#2

No it won't work both together
Reply
#3

Aw, alright. Thanks though
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)