Help with /o cmd. Annoying problem.
#4

Now it work, but /equip gives /buywep guns...

About /o, Unknown cmd...

xD :P

Also /r, only leader see it.
The code of /r is:
pawn Код:
CMD:r(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][Fmember] == 1 || PlayerInfo[i][Fleader] == 1)
        {
            new text[258];
            if(!sscanf(params, "s", text))
            {
                new name[MAX_PLAYER_NAME], string[258];
                GetPlayerName(playerid, name, sizeof(name));
                format(string, sizeof(string), "%s (radio): %s , Over.", name, text);
                SendClientMessage(i, TEAM_RADIO_COLOR, string);
                return 1;
            }
            else return SendClientMessage(playerid, COLOR_RED, "USAGE: /r [Text]");
        }
    }
    return 0;
}
Thank you for all help.
Reply


Messages In This Thread
Help with /o cmd. Annoying problem. - by ricardo178 - 15.01.2012, 13:03
Re: Help with /o cmd. Annoying problem. - by Soumi - 15.01.2012, 13:26
Re: Help with /o cmd. Annoying problem. - by milanosie - 15.01.2012, 13:31
Re : Help with /o cmd. Annoying problem. - by ricardo178 - 15.01.2012, 13:50
Re: Help with /o cmd. Annoying problem. - by Konstantinos - 15.01.2012, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)