Quote:
Originally Posted by CalvinC
Excel, "stock" and a function is 2 different things.
Stock will make the compiler ignore something if it's not used in your script, thereby also hiding warnings/errors, and not including it in your .amx file.
Example of a normal function:
Using stock:
pawn Code:
stock FuncName(parameters)
Or:
Haven't used stock for anything else, but you might be able to use it for more.
I believe that public functions can be called between filterscripts etc. by adding it like this:
pawn Code:
public FuncName(parameters)
Thereby, "public" and "stock" are 2 different add-ons, i don't think any of them are necessary for this script though.
|
I can't control but here it is: I never compared stock or local functions. I just for simplicity stated stock function but I apologize! Secondally, using stock Is better than a callback! Can be used in the form of an include!