[AJUDA]blokiar arma
#7

pawn Код:
#define RemovePlayerWeapon(%0, %1) GivePlayerAmmo(%1, 0)

public OnGameModeInit() {
    SetTimer("Armas", 1000, true);
    return true;
}
forward Armas();
public Armas() {
    for(new i, j = GetMaxPlayers(); i != j; i++) {
        if(GetPlayerInterior(i) != 0) {
            switch(GetPlayerWeapon(i)) {
                case 22,23,24,25,26,27,28,29,30,31,32,33,34,35,36: { / assim por diante..
                    RemovePlayerWeapon(i, GetPlayerWeapon(i));
                }
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA]blokiar arma - by Luiiz - 19.04.2012, 05:43
Re: [AJUDA]blokiar arma - by zbt - 19.04.2012, 11:29
Re: [AJUDA]blokiar arma - by Luiiz - 19.04.2012, 13:29
Re: [AJUDA]blokiar arma - by zbt - 19.04.2012, 13:46
Re: [AJUDA]blokiar arma - by Luiiz - 19.04.2012, 14:26
Re: [AJUDA]blokiar arma - by zbt - 19.04.2012, 14:35
Re: [AJUDA]blokiar arma - by Ricop522 - 19.04.2012, 14:48
Re: [AJUDA]blokiar arma - by Luiiz - 19.04.2012, 14:50
Re: [AJUDA]blokiar arma - by Luiiz - 19.04.2012, 15:10
Re: [AJUDA]blokiar arma - by zbt - 19.04.2012, 15:49

Forum Jump:


Users browsing this thread: 2 Guest(s)