SA-MP Forums Archive
y_master - 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: y_master (/showthread.php?tid=633653)



y_master - pelican1 - 05.05.2017

Hello,

what is y_master ? Should i use YSI_NO_MASTER ?


Re: y_master - Toroi - 05.05.2017

I don't know, but there's a briefly explanation on Southclaws' github

https://github.com/Southclaws/YSI-4....e/y_master.inc

Quote:

Description:
Handles distribution of control of code segments across all running scripts
with YSI to avoid conflicts of checkpoint streamers etc and allow features
like "/commands" displaying all commands on the server.

Now fully autonomous - to use the master system simply define which one you
want and include the script:

#define MASTER 14
#include "Master"

That will make the current script attempt to make itself the main master -
you don't need ANY other code for initialisation anywhere (which took a
while to figure out)...