11.01.2017, 07:39
It's normal to have includes at the top of files (pretty standard in any language - you're effectively declaring what modules a particular file uses). Functions in Pawn can be used before they are declared since files are compiled in passes. The only thing that does matter are #define lines, which cannot be used before they appear. Generally, compile time-related things like that won't cause a runtime issue if there are no errors.
y_hooks is fine to use with publics, in fact it's very useful because you can guarantee that the public version of an event will always be called last after all the hooks.
y_hooks is fine to use with publics, in fact it's very useful because you can guarantee that the public version of an event will always be called last after all the hooks.
