Help with control structure 'OR' - ||
#1

I am trying to make a weapons system with strcmp and zcmd. I have run into a problem with the SMG(MP5)

I want to make it possible to use smg and mp5. But cant work out the control structure.

pawn Код:
if(strcmp(weaponname, "smg", true) == 0) || if(strcmp(weaponname, "mp5", true) == 0)
Thanks.
Reply
#2

Код:
if(strcmp(weaponname, "smg", true) == 0 || strcmp(weaponname, "mp5", true) == 0)
?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)