http://just4metin.ro/altele/sistemul-on ... t8518.html si vreau sa il bag pe butonul acesta:
Cod: Selectaţi tot
{
"name" : "sistemonoare",
"type" : "button",
"tooltip_text" : "Onoare",
"x" : 172,
"y" : 125,
"default_image" : "d:/ymir work/ui/butoane/onoare.tga",
"over_image" : "d:/ymir work/ui/butoane/onoare.tga",
"down_image" : "d:/ymir work/ui/butoane/onoare1.tga",
},In uiinventory am bagat asa:
Cod: Selectaţi tot
def Clicksistemonoare(self):
constInfo.SISTEM_ONOARE = 1Cod: Selectaţi tot
self.sistemonoare = self.GetChild2("sistemonoare")Cod: Selectaţi tot
if self.sistemonoare:
self.sistemonoare.SetEvent(ui.__mem_func__(self.Clicksistemonoare))


