25.02.2010, 19:50
Quote:
Originally Posted by Torran
Is there a way to check if all the items in enum Items are 0?
|
for (new i; i<2; i++){
if(PlayerInfo[playerid][i == 1){ //do something } else SendClientMassage(...);
}
but he will do the if twice... so its better u use
if(PlayerInfo[playerid][Medikit]==1 && PlayerInfo[playerid][Armour]==1){ //do something } else SendClientMassage(...);