AprendizM2 Posted February 27, 2018 at 04:28 PM Share Posted February 27, 2018 at 04:28 PM Alguém tem esse sistema? Link to comment Share on other sites More sharing options...
xkillmt2 Posted March 1, 2018 at 09:08 PM Share Posted March 1, 2018 at 09:08 PM Em 27/02/2018 em 13:28, AprendizM2 disse: Alguém tem esse sistema? ver se isso serve. Abrir: game.py pesquisa: self.interface.BUILD_OnUpdate() depois de adicionar: 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() Abrir: interfacemodule.py pesquisa: CHARACTER_SKILL_TAB = 2 depois de adicionar: LastContactTimeStamp = app.GetTime() - 5 WaitTime = 12 State = "Kapali" pesquisa: def ToggleInventoryWindow(self): mude para: def ToggleInventoryWindow(self): if self.State == "Kapali": chat.AppendChat(chat.CHAT_TYPE_INFO, " Você precisa esperar " + str(int(int(self.LastContactTimeStamp) + self.WaitTime) - int(app.GetTime())) + " segundos para que o inventário esteja disponível.") 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...
AprendizM2 Posted March 1, 2018 at 09:09 PM Author Share Posted March 1, 2018 at 09:09 PM agradeço Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now