Simple Anti Fake kill [reps]
#1

Anyone can help me add Anti Fake Kill, simple with out timers and usefull? thanks
Reply
#2

Simple ******,

Код:
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;
}
Reply
#3

@LivingLikeYouDo

Instead of showing the function why don't you provide the variables?
Reply
#4

Are u sure this will work?
Reply
#5

i guess a little ****** could be help ful
anyways this https://sampforum.blast.hk/showthread.php?tid=482402
Reply
#6

not working .. :/
Reply


Forum Jump:


Users browsing this thread: