[Help]This Error!

10/28/2008 15:43 pauldexter#1
Hmm, what do i add to prevent this error?
Code:
Operator '>' cannot be applied to operands of type 'method group' and 'int'
10/28/2008 21:24 tao4229#2
Depends on what you're comparing

it's probably like THIS example.

Code:
int getRandom()
{
return 5;//yeah its not random just example
}

void Fly()
{
if(getRandom > 4)[Color="Green"]// this is wrong, you need to make it [/color]if(getRandom[u][b]()[/b][/u] > 4
{
//do shit
}
}
10/29/2008 04:38 pauldexter#3
I will try it later.