Some errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Some errors (
/showthread.php?tid=513512)
Some errors -
Spartaaaaa - 16.05.2014
Код:
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
Re: Some errors -
biker122 - 16.05.2014
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.
Re: Some errors -
Spartaaaaa - 16.05.2014
bump
Re: Some errors -
BigBrainAFK - 16.05.2014
bump wont help unless you post some line before and after the error line
Re: Some errors -
Spartaaaaa - 16.05.2014
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);
Re: Some errors -
Spartaaaaa - 16.05.2014
anyone
Re: Some errors -
Yves - 16.05.2014
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.
Re: Some errors -
Spartaaaaa - 17.05.2014
Bump !