13.01.2013, 06:16
I want this simple function work if StrategyArmy is 1 OR StrategyTerror is 1. If one is NOT on it will not work for the terror team OR army team. (I did those parts)
Is it right?
Ex: When StrategyArmy == 2 is on, it will only work for Terror.
Is it right?
pawn Код:
if(weaponid == 31 && StrategyArmy == 1 || StrategyTerror == 1) // I THINK || WAS OR.
SetPlayerHealth(playerid,health-41);