[Ajuda] Ajuda ChatBubble
#1

To tentando fazer um "ChatBubble" mas esta dando 4 erros

pawn Код:
public Adminmsg()
{
    for(new i = 0; i <= HighestID; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(AdminDuty[i] == 1 && PlayerInfo[i][pAdmin] > 0)
            {
                new sendername[MAX_PLAYER_NAME];
                new string[128];
                format(string, 128, "Admin %s: Posso ajudar ?", sendername);
                SetPlayerChatBubble( i, string, COLOR_YELLOW, 50.0, 9000);
            }
            else if(AdminAfk[i] == 1 && PlayerInfo[i][pAdmin] > 0)
            {
                new string[128];
                format(string, 128, "Admin %s: Estou ausente.", sendername);
                SetPlayerChatBubble( i, string, COLOR_GREEN, 50.0, 9000);
            }
            else if(PlayerInfo[i][pDonateRank] == 1)
            {
                new string[128];
                format(string, 128, "%s: V.I.P 1", sendername);
                SetPlayerChatBubble( i, string, COLOR_GREEN, 50.0, 9000);
            }
            else if(PlayerInfo[i][pDonateRank] == 2)
            {
                new string[128];
                format(string, 128, "%s: V.I.P 2", sendername);
                SetPlayerChatBubble( i, string, COLOR_GREEN, 50.0, 9000);
            }
            else if(PlayerInfo[i][pDonateRank] == 3)
            {
                new string[128];
                format(string, 128, "%s: V.I.P 3", sendername);
                SetPlayerChatBubble( i, string, COLOR_GREEN, 50.0, 9000);
            }
        }
    }
}

<<Os erros>>

Код:
C:\Documents and Settings\Yury Roque\Desktop\Sa-mp Server\gamemodes\gm.pwn(10577) : warning 235: public function lacks forward declaration (symbol "Adminmsg")
C:\Documents and Settings\Yury Roque\Desktop\Sa-mp Server\gamemodes\gm.pwn(10594) : error 017: undefined symbol "sendername"
C:\Documents and Settings\Yury Roque\Desktop\Sa-mp Server\gamemodes\gm.pwn(10600) : error 017: undefined symbol "sendername"
C:\Documents and Settings\Yury Roque\Desktop\Sa-mp Server\gamemodes\gm.pwn(10606) : error 017: undefined symbol "sendername"
C:\Documents and Settings\Yury Roque\Desktop\Sa-mp Server\gamemodes\gm.pwn(10612) : error 017: undefined symbol "sendername"
Reply


Messages In This Thread
[Ajuda] Ajuda ChatBubble - by yuryroque - 01.02.2012, 20:01
Re: [Ajuda] Ajuda ChatBubble - by Jorge_Braz - 01.02.2012, 20:10
Re: [Ajuda] Ajuda ChatBubble - by Jorge_Braz - 01.02.2012, 20:12
Re: [Ajuda] Ajuda ChatBubble - by JuniorPT - 01.02.2012, 20:12
Re: [Ajuda] Ajuda ChatBubble - by Lуs - 01.02.2012, 20:16
Re: [Ajuda] Ajuda ChatBubble - by yuryroque - 01.02.2012, 20:30
Re: [Ajuda] Ajuda ChatBubble - by Lуs - 01.02.2012, 20:43
Re: [Ajuda] Ajuda ChatBubble - by yuryroque - 01.02.2012, 21:10
Re: [Ajuda] Ajuda ChatBubble - by Lуs - 01.02.2012, 21:25
Re: [Ajuda] Ajuda ChatBubble - by yuryroque - 01.02.2012, 21:28

Forum Jump:


Users browsing this thread: 2 Guest(s)