[Ajuda] comando admin
#1

Esse code aqui eu peguei do lord_style == Todos os creditos a ele so que tб com um bug sei lб oque й
mais quando eu digito /admins funciona normal mais aparece server unknow command pq isso?
pawn Код:
CMD:admins(playerid)
{
    new Nome[24],string[80];
    GetPlayerName(playerid,Nome,sizeof(Nome));
    SendClientMessage(playerid, COR_GMX, "___________________[Administrador Online]__________________");
    for(new i = 0; i <= MAX_PLAYERS; i++)
    {
        if(PlayerInfo[i][pAdmin] == 1)
        {
            format(string,sizeof(string),"[ADMIN]: %s [Master]",Nome);
            SendClientMessage(playerid,COR_ERRO,string);
        }
        else if(PlayerInfo[i][pAdmin] == 2)
        {
            format(string,sizeof(string),"[ADMIN]: %s [Sub Dono]",Nome);
            SendClientMessage(playerid,USO,string);
        }
        else if(PlayerInfo[i][pAdmin] == 3)
        {
            format(string,sizeof(string),"[ADMIN]: %s [Dono]",Nome);
            SendClientMessage(playerid,Verde,string);
        }
    }
    return 1;
}
Reply


Messages In This Thread
comando admin - by Owtsiixx_Twd - 23.09.2012, 14:28
Re: comando admin - by .FuneraL. - 23.09.2012, 14:39
Re: comando admin - by Owtsiixx_Twd - 23.09.2012, 14:42
Re: comando admin - by Owtsiixx_Twd - 23.09.2012, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)