11.01.2010, 20:13
Quote:
Originally Posted by whereschris
One more question though, what is Return 1; and Return 0; used for? Why would a return cause it?
|
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;