Код:
public LoginTimer()
{
new playerfile[100];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && dini_Exists(playerfile))
{
if(!PLAYERLIST_authed[i]
{
if(loginchances[i] <= 3) {
//GameTextForPlayer(i, "~w~www.lvrcr.com",5000,0);
GameTextForPlayer(i,"~r~THIS PLAYERNAME IS REGISTERED~n~TYPE /LOGIN OR CHANGE YOUR NAME",5000,5);
SendClientMessage(i,COLOR_ERROR,"This Playername Is Registered. Please Login. Use: /login password");
loginchances[i] ++;
}
else
if(loginchances[i] >= 4) {
new str[100];
GetPlayerName(i, str, 24);
format(str, 100, "**(AUTO KICK)** %s(%d) Failed to login - Registered Playername", str,i);
SendClientMessageToAll(red, str);
ircSay(EchoConnection, EchoChan, str);
printf("%s", str);
SetPlayerInterior(i,10);
SetPlayerPos(i,219.6257,111.2549,999.0156);
SetPlayerFacingAngle(i,2.2339);
SetCameraBehindPlayer(i);
ResetPlayerMoney(i);
Kicking[i] =1;
SetTimer("KickPlayer",700,0);
}
}
}
}
}
Код:
C:\Users\MrThift\Desktop\MaxAdmin\filterscripts\MaxAdmin.pwn(1782) : error 017: undefined symbol "PLAYERLIST_authed"
C:\Users\MrThift\Desktop\MaxAdmin\filterscripts\MaxAdmin.pwn(1782) : warning 215: expression has no effect
C:\Users\MrThift\Desktop\MaxAdmin\filterscripts\MaxAdmin.pwn(1782) : error 001: expected token: ";", but found "]"
C:\Users\MrThift\Desktop\MaxAdmin\filterscripts\MaxAdmin.pwn(1782) : error 029: invalid expression, assumed zero
C:\Users\MrThift\Desktop\MaxAdmin\filterscripts\MaxAdmin.pwn(1782) : fatal error 107: too many error messages on one line