public static void respawn(GameObject attachee) { var box = Utilities.find_container_near(attachee, 1001); InventoryRespawn.RespawnInventory(box); StartTimer(86400000, () => respawn(attachee)); // 86400000ms is 24 hours return; }
public static void respawn(GameObject attachee) { var box = Utilities.find_container_near(attachee, 1004); InventoryRespawn.RespawnInventory(box); StartTimer(604800000, () => respawn(attachee)); // 604800000ms is 1 week return; }