OnRconLoginAttempt won't work in 0.3d
#4

Код:
#include <a_samp>

public OnRconLoginAttempt(ip[], password[], success)
{
	if(!success)
	{
		new pip[16];
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            GetPlayerIp(i, pip, sizeof(pip));
            if(!strcmp(ip, pip, true))
            {
				Kick(i);
			}
        }
    }
    return 1;
}
Try if it works, if it does then add messages and see if they're causing the problem. But that should work.
Reply


Messages In This Thread
OnRconLoginAttempt won't work in 0.3d - by [BG]Gamer - 24.12.2011, 23:31
Re: OnRconLoginAttempt won't work in 0.3d - by spedico - 24.12.2011, 23:35
Re: OnRconLoginAttempt won't work in 0.3d - by [BG]Gamer - 24.12.2011, 23:38
Re: OnRconLoginAttempt won't work in 0.3d - by spedico - 24.12.2011, 23:55
Re: OnRconLoginAttempt won't work in 0.3d - by [BG]Gamer - 25.12.2011, 09:03
Re: OnRconLoginAttempt won't work in 0.3d - by Thresholdold - 25.12.2011, 09:19
Re: OnRconLoginAttempt won't work in 0.3d - by [BG]Gamer - 25.12.2011, 09:26
Re: OnRconLoginAttempt won't work in 0.3d - by Thresholdold - 25.12.2011, 09:28
Re: OnRconLoginAttempt won't work in 0.3d - by [BG]Gamer - 25.12.2011, 10:12
Re: OnRconLoginAttempt won't work in 0.3d - by Thresholdold - 25.12.2011, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)