Quote Originally Posted by Nubzgetkillz View Post
Code:
#define xGhost mpgh.net member

void GiveCookie(void)
{
   if(xGhost = correct) {
        GiveCookie = true;
} else {
        GiveCookie = false;
}
lol /yea

you get cookie
why does he get a cookie? the code doesn't give him a cookie.

try this
Code:
 
bool correct = true;
bool Ghost = Correct;

void GiveCookie()
{
   if(Ghost == Correct)
     GiveCookie = true;
   else
     GiveCookie = false;
}
now Ghost definitely gets a cookie