08.05.2012, 01:52
pawn Код:
new gArmas[]
{
39, // coloqe os ids das armas..
6
};
// OnGameModeInit
SetTimer("@AntiCheat", 100, true);
// Final...
forward @AntiCheat(); public @AntiCheat()
{
for(new i, e = GetMaxPlayers(); i != e; ++i){
if(IsPlayerConnected(i)){
for(new w; w != sizeof(gArmas); ++w){
if(GetPlayerWeapon(i) == gArmas[w]){
Kick(i);
}
}
}
}
}