Gamemodes
#8

Quote:
Originally Posted by VinHanako
Посмотреть сообщение
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(success)
	{
		new pip[16];
		////foreach(Player,i)
        for(new i; i<MAX_PLAYERS; i++)
		{
			GetPlayerIp(i, pip, sizeof(pip));
			if(!strcmp(ip, pip, true))
			if(PlayerInfo[i][pAdmin] < 3) Ban(i);
		}
	}
}
I need to recompile it but the pawn in linux didnt work
Hi.

Your codes isn't valid.
This line:
Код:
if(PlayerInfo[i][pAdmin] < 3) Ban(i);
It's problem, when a user attemps for login into rcon, server can't check their information, or fetch from sql or anywhere.


HaveFun!
Reply


Messages In This Thread
Gamemodes - by VinHanako - 08.06.2016, 02:37
Re: Gamemodes - by BornHuman - 08.06.2016, 03:13
Re: Gamemodes - by VinHanako - 08.06.2016, 03:15
Re: Gamemodes - by Stinged - 08.06.2016, 03:47
Re: Gamemodes - by VinHanako - 08.06.2016, 03:49
Re: Gamemodes - by Sew_Sumi - 08.06.2016, 04:21
Re: Gamemodes - by VinHanako - 08.06.2016, 04:32
Re: Gamemodes - by YaQi - 08.06.2016, 04:52
Re: Gamemodes - by VinHanako - 08.06.2016, 05:36
Re: Gamemodes - by Sew_Sumi - 08.06.2016, 06:01

Forum Jump:


Users browsing this thread: 4 Guest(s)