Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
27.06.2014, 20:05
(
Последний раз редактировалось SickAttack; 27.12.2015 в 03:31.
)
Misunderstood everything.
An include is made in PAWN, and #include only adds code from the inclusion file into the script, so it would be the same speed (unless I misunderstood the question).
Posts: 767
Threads: 40
Joined: Dec 2011
Reputation:
0
The "stock" keyword just tells the compiler to not throw a warning if the defined variable or function is not used in the script. Therefore "stock" can be omitted in most cases which makes the function a naked one.
fordwarded functions can be called by amx_Exec from the amx api inside a plugin or the samp server itself.
Posts: 2,938
Threads: 162
Joined: May 2010
"I would like to know if stocks and functions (forward/public) are faster in a include or in pawn."
In pawn? The correct question would be from a plugin or from your pawn script.
Includes are technically in the pawn script, the line where it says "#include w/e" technically just replaces that line with everything in the include so it's basically in your script but only visible externally.