| Blockland Forums > Modification Help |
| Why the hell won't this work. |
| (1/2) > >> |
| Bloxxed:
I've been trying to use if statements, why isn't this working? --- Code: ---function call(%var) { %var == 5; if(%var == 5) { echo("Over 60!"); } } --- End code --- |
| Headcrab Zombie:
--- Quote from: Bloxxed on October 16, 2010, 10:37:47 AM ---function call(%var) { %var = 5; if(%var == 5) { echo("Over 60!"); } } --- End quote --- Also, it isn't a problem, but having %var as an argument is pointless if your just defining it in the function anyways. |
| Bloxxed:
So how can I solve it, %number1? hang on I deleted the argument and it still is syntaxing. |
| Uristqwerty:
What is your code right now? |
| Bloxxed:
Nono. It says it's wrong here: %number1 == 5; ## ## |
| Navigation |
| Message Index |
| Next page |