SA-MP Forums Archive
YSI stuff - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: YSI stuff (/showthread.php?tid=664536)



YSI stuff - bgedition - 03.03.2019

Hello!

My question is: Can you use y_hooks with y_ini to save player data from multiple modules in a modular gamemode?


Re: YSI stuff - TheToretto - 03.03.2019

Yes why won't you? It is completely different, as y_hooks stands for hooking callbacks or functions, and y_ini stands for saving stuff.


Re: YSI stuff - bgedition - 03.03.2019

Quote:
Originally Posted by TheToretto
Посмотреть сообщение
Yes why won't you? It is completely different, as y_hooks stands for hooking callbacks or functions, and y_ini stands for saving stuff.
Not in that way. I know what is the difference between them.

I did not clarify enough.
I am making modular gamemode and I am trying to save player data from multiple modules using hooks. But when I call the saving function the hooks are not called with it.