Some errors
#1

Код:
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(415) : error 001: expected token: "-identifier-", but found ">"
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(537) : error 029: invalid expression, assumed zero
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(537) : warning 213: tag mismatch
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(537) : warning 215: expression has no effect
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(618) : error 001: expected token: "-identifier-", but found ">"
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(765) : error 001: expected token: "-identifier-", but found ">"
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(1943) : error 029: invalid expression, assumed zero
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(1943) : warning 213: tag mismatch
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(7082) : error 029: invalid expression, assumed zero
C:\Users\Khan_vb\Desktop\Server.UFS\XRS\filterscripts\LuxAdmin.pwn(7082) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
pawn Код:
public OnFilterScriptInit() // Error line
{
pawn Код:
SetPlayerName(player1, tmp2); // Error Line
            return OnPlayerConnect(player1);
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
   OnPlayerConnect(i); // Error line
        }
    }
pawn Код:
public OnPlayerConnect(playerid) // error line
{
pawn Код:
public OnPlayerDisconnect(playerid, reason) // Error line
Reply
#2

Can you say which are the LINES? saying "Error line" doesn't make sense
Also, post 2-3 lines which are before the error lines.
Reply
#3

bump
Reply
#4

bump wont help unless you post some line before and after the error line
Reply
#5

pawn Код:
AntiDEAmx()
{
     new gunz[][] =
     {
         "Unarmed (Fist)",
         "Brass K"
     };
     #pragma unused gunz
}
//=========================
public OnFilterScriptInit()
{
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
   OnPlayerConnect(i);
        }
    }
pawn Код:
else
        {
            j++;
        }
    }
    ret[sizeof (ret) - 1] = '\0';
    return ret;
}
public OnPlayerConnect(playerid)
{
pawn Код:
ShowPlayerDialog(playerid, DIALOGID+66, DIALOG_STYLE_PASSWORD,"{FF0000}Register",string,"Register","Leave");
    }
    return 1;
}
//==============================================================================
//Player Disconnect
//==============================================================================
public OnPlayerDisconnect(playerid, reason)
{
pawn Код:
SetPlayerName(playerid, NpName);
            format(stringf, sizeof(stringf), "You have Successfully Changed your nickname to {11FF00}%s!", NpName);
            SendClientMessage(playerid, orange, stringf);
            return OnPlayerConnect(playerid);
        }
    }
pawn Код:
SendCommandToAdmins(playerid,"SetName");
            format(string, sizeof(string), "|- You have set \"%s's\" Name to \"%s\" -|", pName(player1), tmp2);
            SendClientMessage(playerid,BlueMsg,string);
            if(player1 != playerid)
            {
                format(string,sizeof(string),"|- Administrator \"%s\" has set your Name to \"%s\" -|", pName(playerid), tmp2);
                SendClientMessage(player1,blue,string);
            }
            SetPlayerName(player1, tmp2);
            return OnPlayerConnect(player1);
        }
        else return ErrorMessages(playerid, 2);
    }
    else return ErrorMessages(playerid, 1);
Reply
#6

anyone
Reply
#7

LuxAdmin system you kidding me?

Just please recycle it in the bin why not use a better one because, that LuxAdmin is bugged as poo.
Reply
#8

Bump !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)