Blockland Forums > Modification Help
Why the hell won't this work.
Headcrab Zombie:
Yeah, do what a bolded in my first post
It needs to be %number1 = 5;
= is used to assign a value, == to compare values
phflack:
--- Code: ---function call(%var)
{
if(%var == 5)
{
echo("Over 60!");
}
}
--- End code ---
or
--- Code: ---function call()
{
%var = 5;
if(%var == 5)
{
echo("Over 60!");
}
}
--- End code ---
i think
Bloxxed:
Oh sorry. My friend said do ==.
Ok, thanks guys, it works!