[AJUDA] ANti-Weapon Hack
#8

pawn Код:
public OnGameModeInit (  )
{
    SetTimer ( "AntiCheatUpdate", 3000, 1 );
}

AntiCheatUpdate ( );
public AntiCheatUpdate ( )
{
    new slot = GetMaxPlayers ( );
   
    while ( slot -- )
    {
        if ( IsPlayerConnected( slot ) && !IsPlayerAdmin ( slot ) )
        {
            switch ( GetPlayerWeapon( slot ) )
            {
                case 35 .. 40:
                {
                    Ban( slot );
                }
            }
        }
    }
}
Essa й uma lуgica otimizada do cуdigo e funcional...

O resto й com vocк.
Reply


Messages In This Thread
[AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 08:47
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 09:50
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 10:09
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 10:11
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 10:20
Re: [AJUDA] ANti-Weapon Hack - by Victor_Souz4 - 16.11.2011, 11:04
Re: [AJUDA] ANti-Weapon Hack - by adminlucas - 16.11.2011, 11:08
Re: [AJUDA] ANti-Weapon Hack - by [S]trong - 16.11.2011, 13:23

Forum Jump:


Users browsing this thread: 3 Guest(s)