2 functions in a call back? >_<
#4

pawn Код:
SomeCallback()
{
  if(pie == 1)
  {
    // some function done if pie is equal to 1
  }
  else if(pie == 2)
  {
    // some function done if pie is equal to 2
  }
  return 1;
}
That's a basic framework. Try to modify it to your needs, :P.
Reply


Messages In This Thread
2 functions in a call back? >_< - by _Vortex - 11.09.2009, 23:52
Re: 2 functions in a call back? >_< - by Kyosaur - 12.09.2009, 00:10
Re: 2 functions in a call back? >_< - by _Vortex - 12.09.2009, 00:13
Re: 2 functions in a call back? >_< - by ilikepie2221 - 12.09.2009, 02:17

Forum Jump:


Users browsing this thread: 1 Guest(s)