[Ajuda] SetPlayerChatBubble
#1

Estou a criar setplayerchatbubble para adminstradores so que , ele nao esta aparecendo tem algo errado?
pawn Код:
SetTimer("CoisasADM", 1000, true);

public CoisasADM()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new string[256];
        new pname[MAX_PLAYER_NAME];
        GetPlayerName(i, pname, MAX_PLAYER_NAME);
        format(a_phile1, sizeof(a_phile1), DIRETORIO, pname);
        SetPlayerScore(i,DOF2_GetInt(a_phile1, "Level")); // Setando score p/ level ;D
        if(pAdmin[i] >= 1 && pAdmin[i] <= 5)
        {
            if(pAdmin[i] == 1)
            {
                SetPlayerChatBubble(i, "~> Moderador <~", 0x8080FFFF, 100.0, 10000);
            }
            if(pAdmin[i] == 2)
            {
                SetPlayerChatBubble(i, "~> Sub-Admin <~", 0x8080FFFF, 100.0, 10000);
            }
            if(pAdmin[i] == 3)
            {
                SetPlayerChatBubble(i, "~> Admin <~", 0x8080FFFF, 100.0, 10000);
            }
            if(pAdmin[i] == 4)
            {
                SetPlayerChatBubble(i, "~> Sub-Dono <~", 0x8080FFFF, 100.0, 10000);
            }
            if(pAdmin[i] == 5)
             {
                SetPlayerChatBubble(i, "~> Dono <~", 0x8080FFFF, 100.0, 10000);
            }
        }
        else {
            if(GetPlayerWantedLevel(i) > 0)
            {
                format(string,256,"~> Procurado Nivel %d <~",GetPlayerWantedLevel(i));
                SetPlayerChatBubble(i,string, Vermelho, 100.0, 10000);
            }
        }

    }
}
Reply


Messages In This Thread
[Ajuda] SetPlayerChatBubble - by PlayeR_TheReturN - 22.02.2012, 21:41
Re: [Ajuda] SetPlayerChatBubble - by paulor - 22.02.2012, 22:44
Re: [Ajuda] SetPlayerChatBubble - by PlayeR_TheReturN - 22.02.2012, 22:45
Re: [Ajuda] SetPlayerChatBubble - by zbt - 22.02.2012, 23:22
Re: [Ajuda] SetPlayerChatBubble - by Lucas_Alemao - 22.02.2012, 23:33
Re: [Ajuda] SetPlayerChatBubble - by PlayeR_TheReturN - 22.02.2012, 23:43
Re: [Ajuda] SetPlayerChatBubble - by iChriSsS-CM - 23.02.2012, 16:11
Re: [Ajuda] SetPlayerChatBubble - by PlayeR_TheReturN - 23.02.2012, 16:37
Re: [Ajuda] SetPlayerChatBubble - by iHaswell - 23.02.2012, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)