18.01.2011, 15:14
Quote:
Actually its < 100 and not < 101 because it'll count 101 to. You have to add <= 101 for that
Also I dont think amount needs to be a float |
< 100 means less than 100, which means it'll work up to 99
<= 101 means less than or equal to 101, which means it'll work up to 101.
The reason it's not working is because of your logic, you're saying this currently:
pawn Code:
if(amount > 1 || amount < 101)
pawn Code:
if(amount > 1 && amount < 101)