[Tutorial] Function Type Explanation (stock, public, plain)
#2

You forgot to add that without severe modification, public functions cannot return strings, while stock functions can.
Quote:

Stocks hide all warnings caused by that function from showing when compiling your script.

Although I'm not sure if this is true or not, this is not the only thing that you could have explained about stocks.

Also, stocks are not mainly for includes, they are perfect for using within the gamemode.

Could have been much more in-depth IMO, since this is a tutorial.

EDIT:

You also could explain what happens when you don't forward a public function, and why that happens.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)