/commands
#3

Try:
pawn Код:
#define COLOR_YELLOW 0xFFD800FF
#define COLOR_WHITE  0xFFFFFFFF

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mycommand", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_YELLOW, "-------commands------------");
        SendClientMessage(playerid, COLOR_WHITE, "/command1 /command2 /command3");
        SendClientMessage(playerid, COLOR_WHITE, "/command4 /command5 /command6");
        SendClientMessage(playerid, COLOR_YELLOW, "-------commands------------");
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
/commands - by davelord - 25.02.2011, 22:30
Re: /commands - by davelord - 25.02.2011, 22:33
Re: /commands - by Unknown123 - 25.02.2011, 23:12
Re: /commands - by davelord - 26.02.2011, 09:17

Forum Jump:


Users browsing this thread: 2 Guest(s)