2 Quick questions.
#4

Quote:
Originally Posted by whereschris
One more question though, what is Return 1; and Return 0; used for? Why would a return cause it?
It returns the callback.

pawn Код:
if(this == that)
{
  print("This will be printed if this == that.");
  return 1;
}
print("This will not be printed if this == that.");
return 1;
pawn Код:
if(this == that)
{
  print("This will be printed if this == that.");
}
print("This will be printed aswell no matter what.");
return 1;
pawn Код:
if(this)
{
  print("Neither of those below will be printed if this is true.");
  return 1;
}
if(this == that)
{
  print("This will be printed if this == that.");
  return 1;
}
print("This will not be printed if this == that.");
return 1;
Reply


Messages In This Thread
2 Quick questions. - by whereschris - 11.01.2010, 19:55
Re: 2 Quick questions. - by MadeMan - 11.01.2010, 20:02
Re: 2 Quick questions. - by whereschris - 11.01.2010, 20:08
Re: 2 Quick questions. - by Finn - 11.01.2010, 20:13
Re: 2 Quick questions. - by whereschris - 11.01.2010, 20:15

Forum Jump:


Users browsing this thread: 2 Guest(s)