Extremely important kick bug 0.3e
#7

Quote:
Originally Posted by CodyCummings
Посмотреть сообщение
The method you used to detect fake kills detects it at minimum after 3 seconds.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    DeathCount[playerid]++;
    if(DeathCount[playerid] > 3 && GetTickCount() - LastDeath[playerid] < 1000)
    {
        //fake killing
    }
    if(GetTickCount() - LastDeath[playerid] > 1000)
    {
        DeathCount[playerid] = 0; // reset death count to avoid wrongful bans
    }
    LastDeath[playerid]=GetTickCount();
}
That should do the trick.
False.
Yes, it creates major lag, which is what i want to avoid. I guess it has to do something with packet delay.
I will try doing it with the Ban() function, thanks.

ALSO
https://sampforum.blast.hk/showthread.php?tid=411975
Maybe this new update will help prevent this issue with the kick?
Reply


Messages In This Thread
Extremely important kick bug 0.3e - by wups - 30.01.2013, 11:07
Re: Extremely important kick bug 0.3e - by CodyCummings - 30.01.2013, 21:07
Re: Extremely important kick bug 0.3e - by Kar - 30.01.2013, 21:38
Re: Extremely important kick bug 0.3e - by CodyCummings - 30.01.2013, 21:46
Re: Extremely important kick bug 0.3e - by Lorenc_ - 30.01.2013, 22:50
Re: Extremely important kick bug 0.3e - by Mauzen - 30.01.2013, 23:59
Re: Extremely important kick bug 0.3e - by wups - 31.01.2013, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)