Server Crash..
#6

You can use Lorenc_ Anti-Fake kill without a timer.

Код HTML:
public OnPlayerDeath( playerid, killerid, reason )
{
    if( IsPlayerConnected( killerid ) )
    {
        if( IsPlayerConnected( GetPVarInt( playerid, "LastKilled" ) ) && GetPVarInt( playerid, "LastKilled" ) == killerid )
        {
            if( ( GetPVarInt( playerid, "LastKilledTickcount" ) - GetTickCount( ) ) < 500 )
            {
                SetPVarInt( playerid, "LastKilledTick", GetPVarInt( playerid, "LastKilledTick" ) + 1 );
                if( GetPVarInt( playerid, "LastKilledTick" ) > 1 ) Kick( playerid );
            }
            SetPVarInt( playerid, "LastKilledTickcount", GetTickCount( ) );
        }
        SetPVarInt( playerid, "LastKilled", killerid );
    }
    return 1;
}
Thread:
http://forum.sa-mp.com/showpost.php?...&postcount=646
Reply


Messages In This Thread
Server Crash.. - by Walkie - 04.12.2013, 10:24
Re: Server Crash.. - by TahaAsif12 - 04.12.2013, 10:25
Re: Server Crash.. - by dannyk0ed - 04.12.2013, 10:30
Re: Server Crash.. - by gotwarzone - 04.12.2013, 10:32
Re: Server Crash.. - by Vince - 04.12.2013, 10:34
Re: Server Crash.. - by gotwarzone - 04.12.2013, 10:36
Re: Server Crash.. - by Walkie - 04.12.2013, 11:09
Re: Server Crash.. - by Walkie - 04.12.2013, 11:49
Re: Server Crash.. - by Walkie - 05.12.2013, 12:02
Re: Server Crash.. - by Walkie - 05.12.2013, 14:04

Forum Jump:


Users browsing this thread: 2 Guest(s)