[Ajuda] Oque estб errado neste cуdigo?
#4

Tente:

pawn Код:
//====================================================================TAG's Admin
    if(IsPlayerAdmin(playerid))//Rcon
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == TEMPORARIO)//Temporario
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == SUBMODERADOR)//SubModerador
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == SUBADMIN)//SubAdmin
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == ADMIN)//Admin
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == SUPERADMIN)//SuperAdmin
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == GM)//GM
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
    if(!IsPlayerAdmin(playerid) && Stats[playerid][LEVELADMIN] == MODERADOR)//Moderador
    {
        format(string,256,"%s[PG]",PlayerName(playerid),string);
        SetPlayerName(playerid,string);
    }
//====================================================================TAG's Admin
Reply


Messages In This Thread
Oque estб errado neste cуdigo? - by 4G4M3N0M - 23.09.2014, 04:04
Re: Oque estб errado neste cуdigo? - by JonasGabriel - 23.09.2014, 04:23
Re: Oque estб errado neste cуdigo? - by ipsLuan - 23.09.2014, 11:38
Re: Oque estб errado neste cуdigo? - by DavidCosta - 23.09.2014, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)