Unknown command after some cmd's
#2

Try:
pawn Код:
if(strcmp(cmd,"/teams", true, 10) == 6)
    {
    new str[55],PN[MAX_PLAYER_NAME];
    SendClientMessage(playerid, COLOR_GREEN,"---[Teams]---");
    for(new i; i<GetMaxPlayers(); i++)
    {
        if(IsTeamLeader[i] == 1)
        {
        GetPlayerName(i,PN,MAX_PLAYER_NAME);
        format(str,sizeof(str),"- %s {FFFFFF}[ID%d] members: %d",PN,GetPlayerID(PN),TeamCount[i]);
        SendClientMessage(playerid, COLOR_GREEN,str);
        }
    }
    return 1;
    }
Reply


Messages In This Thread
Unknown command after some cmd's - by CutX - 05.08.2012, 11:21
Re: Unknown command after some cmd's - by Cxnnor - 05.08.2012, 11:22
AW: Unknown command after some cmd's - by CutX - 05.08.2012, 11:26
Re: Unknown command after some cmd's - by Cxnnor - 05.08.2012, 11:35
AW: Re: Unknown command after some cmd's - by CutX - 05.08.2012, 13:52
AW: Unknown command after some cmd's - by CutX - 05.08.2012, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)