Help with Return operator..
#4

the function is probally something like this:
pawn Код:
stock myFunction(stuff)
{
  if(something == something)
    return 1;
}
So you can make it return false (return 0 if you want it to "cancel" the function if the statement isn't true:


pawn Код:
stock myFunction(stuff)
{
  if(something == something)
    return 1;
  return 0;
}
Reply


Messages In This Thread
Help with Return operator.. - by Toney - 17.11.2009, 16:26
Re: Help with Return operator.. - by Zeromanster - 17.11.2009, 16:46
Re: Help with Return operator.. - by DeathOnaStick - 17.11.2009, 16:48
Re: Help with Return operator.. - by LarzI - 17.11.2009, 17:05
Re: Help with Return operator.. - by Extremo - 17.11.2009, 17:28
Re: Help with Return operator.. - by Think - 17.11.2009, 17:32
Re: Help with Return operator.. - by Toney - 17.11.2009, 19:00
Re: Help with Return operator.. - by JonyAvati - 17.11.2009, 19:36
Re: Help with Return operator.. - by LarzI - 17.11.2009, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)