[MOD] WLN 593 Posted July 23, 2018 Share Posted July 23, 2018 abra uiprivateshopbuilder.py e procure: class PrivateShopAdvertisementBoard(ui.ThinBoard): def __init__(self): ui.ThinBoard.__init__(self, "UI_BOTTOM") self.vid = None self.__MakeTextLine() alterem para class PrivateShopAdvertisementBoard(ui.ThinBoard): def __init__(self): ui.ThinBoard.__init__(self, "UI_BOTTOM") self.shopAdvertismentBoardSeen =[] self.vid = None self.__MakeTextLine() busquem : def Open(self, vid, text): deixem a função assim: def Open(self, vid, text): self.vid = vid self.textLine.SetText(text) if vid in self.shopAdvertismentBoardSeen: self.textLine.SetFontColor(1.0, 0.5, 0.1) self.textLine.UpdateRect() self.SetSize(len(text)*6 + 10*2, 20) self.Show() g_privateShopAdvertisementBoardDict[vid] = self busquem: def OnMouseLeftButtonUp(self): deixem a função assim: def OnMouseLeftButtonUp(self): if not self.vid: return net.SendOnClickPacket(self.vid) if self.vid != player.GetMainCharacterIndex(): self.textLine.SetFontColor(1.0, 0.5, 0.1) self.shopAdvertismentBoardSeen.append(self.vid) return True ficar atento as tabulações pois o codigo não está formatado creditos ao nicutzy da freakgamers 1 1 1 Link to post Share on other sites
xabugas123 79 Posted July 24, 2018 Share Posted July 24, 2018 (edited) Please login or register to see this quote. viste quando queres és muito boa pessoa ._. Edited July 24, 2018 by xabugas123 Link to post Share on other sites
xabugas123 79 Posted July 24, 2018 Share Posted July 24, 2018 Please login or register to see this quote. fiz como diz no tuturial comigo fica igual :/ Link to post Share on other sites
[MOD] WLN 593 Posted July 24, 2018 Author Share Posted July 24, 2018 confere com o autor do outro tópico, o problema dele foi resolvido, então provavelmente ou foi pelo tópico ou modo semelhante, mas o modo do tópico está funcionando Link to post Share on other sites
xabugas123 79 Posted July 24, 2018 Share Posted July 24, 2018 Please login or register to see this quote. eu fiz igual ao tópico dele na freak e comigo não dá. Link to post Share on other sites
LuizFernando 74 Posted July 24, 2018 Share Posted July 24, 2018 Valeu mano, você está sempre salvando! Link to post Share on other sites
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