02.02.2012, 13:07
(
Last edited by Tannz0rz; 02/02/2012 at 02:13 PM.
)
Quote:
Hello all.
I get a warning which I know what it means but I dont know why I keep getting it: pawn Code:
pawn Code:
+I have 2 questions: 1.is there any possible way to make all of this in 1 line: pawn Code:
Thanks for help. |
pawn Code:
reason = 0
For your 1st question, my only suggestion would be to use the modulo operator (granted it may be a tad slower than what you had in mind):
pawn Code:
if(!(1 <= variable % 10 <= 3))