Hmm, what do i add to prevent this error?
Code:
Operator '>' cannot be applied to operands of type 'method group' and 'int'
Operator '>' cannot be applied to operands of type 'method group' and 'int'
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
}
}