foward public | stock
#5

If you're planning on making a library, you should go for stock.

otherwise


"public" saves the name of the function in the amx (normally
functions are just called be address, the human-readable
name is not important). Saving the name means that the
function can be found by name later on. When you specify a
function in "SetTimer", "SetTimerEx", "CallLocalFunction" or
"CallRemoteFunction" you specify it by name so these can
only call public functions. Callbacks such as
"OnPlayerConnect" are also public for the same reason. - ******
Reply


Messages In This Thread
foward public | stock - by Banditukas - 04.08.2014, 17:01
Re: foward public | stock - by Stanford - 04.08.2014, 17:04
Re: foward public | stock - by Banditukas - 04.08.2014, 17:06
Re: foward public | stock - by SickAttack - 04.08.2014, 17:09
Re: foward public | stock - by SanAndreasMP - 04.08.2014, 17:10
Re: foward public | stock - by Dignity - 04.08.2014, 17:15
Re: foward public | stock - by ViniBorn - 04.08.2014, 17:27
Re: foward public | stock - by SanAndreasMP - 04.08.2014, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)