[Help] Hacker Fake Kill !
#1

GameMode: I'm using Raven's RolePlay GM
Description: At the time some hacker enters in my server and using Fake Kill. That fake kills spam all window,messages just coming and spaming and it gives lag,with that lag you can't ban that person and how can I fix it or protect my server ?
Part of the script: If you need just say


Help me please
Reply
#2

Quote:

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;
}

There is a flaw with minigun, so make it admin immune or something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)