/*----------------------------------------------------------------------------*- Function: Master_Refreash Params: - Return: - Notes: Acts as if this script is ending and restarting but maintains master status on all scripts. -*----------------------------------------------------------------------------*/ stock Master_Reload() { if (YSI_gMasterID == -1) return 0; new tempMaster = YSI_gMasterID; YSI_gMasterID = -1; for (new i = 0; i < YSI_g_sMasterCount; i++) { if (YSI_g_sMasters & (1 << i)) { CallLocalFunction(YSI_g_sMasterData[i], "i", E_MASTER_RELINQUISH | tempMaster); } else { CallRemoteFunction(YSI_g_sMasterData[i], "i", E_MASTER_RELINQUISH | tempMaster); } } YSI_gMasterID = tempMaster; return 1; }