bumxd 16 Posted August 29, 2016 Share Posted August 29, 2016 hi,can anybody say how block inventor on 5sec after teleport\login? Link to comment Share on other sites More sharing options...
Finch 16 Posted August 29, 2016 Share Posted August 29, 2016 open: game.py search: self.interface.BUILD_OnUpdate() after add: if int(int(self.interface.LastContactTimeStamp) + self.interface.WaitTime) < int(app.GetTime()) and self.interface.State == "Kapali": self.interface.State = "Acik" self.interface.BUILD_OnUpdate() open: interfacemodule.py search: CHARACTER_SKILL_TAB = 2 after add: LastContactTimeStamp = app.GetTime() - 5 WaitTime = 12 State = "Kapali" search: def ToggleInventoryWindow(self): change with: def ToggleInventoryWindow(self): if self.State == "Kapali": chat.AppendChat(chat.CHAT_TYPE_INFO, "Envanteri acabilmek icin " + str(int(int(self.LastContactTimeStamp) + self.WaitTime) - int(app.GetTime())) + " saniye beklemelisin.") return else: if FALSE == player.IsObserverMode(): if FALSE == self.wndInventory.IsShow(): self.wndInventory.Show() self.wndInventory.SetTop() else: self.wndInventory.OverOutItem() self.wndInventory.Close() Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now