16.11.2011, 13:23
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 );
}
}
}
}
}
O resto й com vocк.