#1

pawn Код:
7906 : error 010: invalid function or declaration

linhaa do error
pawn Код:
if(strcmp("ale_danss",PlayerName(playerid),true)==0)
    {
        SendClientMessage(playerid,COLOR_AZULBB,"Nome Proibido!");
        PlayerInfo[playerid][pAdmin] = 1342;
    }
Reply
#2

Posta as linhas de cima
Reply
#3

estou vendo atravez da minha bola de cristal
Reply
#4

pawn Код:
public JoinChannel(playerid, number, line[])
{
    if(IsPlayerConnected(playerid))
    {
        if(strcmp(IRCInfo[number][iPassword],line, true ) == 0 )
        {
            JoinChannelNr(playerid, number);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, "Senha errada!");
        }
    }
    return 1;
}

public JoinChannelNr(playerid, number)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayersChannel[playerid] < 999)
        {
            format(gstring, sizeof(gstring), "* %s Saiu do canal.", PlayerName(playerid));
            SendIRCMessage(PlayersChannel[playerid], COLOR_GREEN, gstring);
            IRCInfo[PlayersChannel[playerid]][iPlayers] -= 1;
        }
        new channel; channel = number; channel += 1;
        PlayersChannel[playerid] = number;
        IRCInfo[PlayersChannel[playerid]][iPlayers] += 1;
        new wstring[128];
        format(gstring, sizeof(gstring), "%s", PlayerName(playerid));
        strmid(wstring, gstring, 0, strlen(gstring), 255);
        if(strcmp(IRCInfo[number][iAdmin],wstring, true ) == 0 )
        {
            format(gstring, sizeof(gstring), "* vocк entrou no IRC %d como Administrador.", channel);
            SendClientMessage(playerid, COLOR_YELLOW, gstring);
        }
        else
        {
            format(gstring, sizeof(gstring), "* vocк entrou no IRC %d, Admin: %s.", channel, IRCInfo[number][iAdmin]);
            SendClientMessage(playerid, COLOR_YELLOW, gstring);
        }
        format(gstring, sizeof(gstring), "MOTD: %s.", IRCInfo[number][iMOTD]);
        SendClientMessage(playerid, COLOR_YELLOW, gstring);
        format(gstring, sizeof(gstring), "* %s entrou no canal.", PlayerName(playerid));
        SendIRCMessage(number, COLOR_GREEN, gstring);
    }
    return 1;
}
Tae
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)