pawn-lang / YSI-Includes

Just the YSI include files, none of the extra stuff.
208 stars 106 forks source link

OnScriptExit doesn't call itself on open.mp. #640

Open nxlzma opened 1 year ago

nxlzma commented 1 year ago

It seems like hooked OnScriptExit doesn't call itself when server is running as open.mp server. OnScriptInit on the other hand works as it supposed to be working. Am I doing something wrong? Or is it broken, but nobody noticed?

#include    <md-sort\md-sort>
#include    <YSI_Coding\y_hooks>
#include    <YSI_Coding\y_va>
#include    <YSI_Data\y_percent>
#include    <YSI_Data\y_iterate>
#include    <YSI_Extra\y_inline_mysql>
#include    <YSI_Extra\y_inline_timers>
#include    <YSI_Game\y_vehicledata>
#include    <YSI_Game\y_weapondata>
#include    <YSI_Server\y_scriptinit>

Whether <YSI_Server\y_scriptinit> is included or no, it still doesn't work. Can somebody check if this really doesn't work, or am I doing something wrong.

nxlzma commented 1 year ago

and, worth noticing I am using latest version of YSI, I mean nightly release.

Y-Less commented 2 months ago

It is called here. Could you post some example code please?