Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nxlzma opened this issue Mar 31, 2023 · 2 comments
Open

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

nxlzma opened this issue Mar 31, 2023 · 2 comments

Comments

@nxlzma
Copy link

nxlzma commented Mar 31, 2023

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
Copy link
Author

nxlzma commented Mar 31, 2023

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

@Y-Less
Copy link
Member

Y-Less commented Apr 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants