Stocks or Forwards ?
#2

Quote:
A function should be public whenever "the server" must be able to call the function at run time.
Always add public to your function when it is called by
  • a timer, (see also SetTimer and SetTimerEx),
  • CallLocalFunction,
  • CallRemoteFunction.
If none of those functions above are used to call it, then there's not point of using it. Use stock instead.
Reply


Messages In This Thread
Stocks or Forwards ? - by AnonScripter - 09.11.2013, 11:49
Re: Stocks or Forwards ? - by Konstantinos - 09.11.2013, 11:52
Re: Stocks or Forwards ? - by AnonScripter - 09.11.2013, 11:57
Re: Stocks or Forwards ? - by Pottus - 09.11.2013, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)