YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

OnScriptExit doesn't call itself on open.mp.

Open xravendale opened this issue 3 years ago • 2 comments

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.

xravendale avatar Mar 31 '23 11:03 xravendale

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

xravendale avatar Mar 31 '23 11:03 xravendale

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

Y-Less avatar Apr 24 '24 23:04 Y-Less