Loging problem
#3

Search for the ping and remove it then add this under OnPlayerUpdate
pawn Код:
if(GetPlayerPing(playerid) > 1000) // edit if you want to
    {
                new Nam[MAX_PLAYER_NAME],str[128];
                GetPlayerPos(playerid,Nam,sizeof(Name));
        format(str,sizeof(str),"PINGBOT: %s has been kicked for having %d ping(MAX = 1000)",Nam,GetPlayerPing(playerid));
        SendClientMessageToAll(0xFF0000FF,str);
        Kick(playerid);
    }
Reply


Messages In This Thread
Loging problem - by DannySnoopy - 11.08.2011, 16:37
Re: Loging problem - by Darnell - 11.08.2011, 16:38
Re: Loging problem - by Tanush123 - 11.08.2011, 16:41
Re: Loging problem - by DannySnoopy - 11.08.2011, 16:42
Re: Loging problem - by Jay. - 11.08.2011, 16:45
Re: Loging problem - by DannySnoopy - 11.08.2011, 16:52
Re: Loging problem - by MadeMan - 11.08.2011, 16:52
Re: Loging problem - by DannySnoopy - 11.08.2011, 16:56
Re: Loging problem - by MadeMan - 11.08.2011, 17:00
Re: Loging problem - by DannySnoopy - 11.08.2011, 17:04

Forum Jump:


Users browsing this thread: 4 Guest(s)