Tasho 243 Posted December 9, 2014 Share Posted December 9, 2014 Does someone knows how to make the client side for this quest?(its a killgui) : quest counti begin state start begin when login begin cmdchat("update_pvmpvp "..pc.getqf("kills_pvp").." "..pc.getqf("kills_pvm")) end when kill begin if npc.is_pc() then pc.setqf("kills_pvp", pc.getqf("kills_pvp")+1) else pc.setqf("kills_pvm", pc.getqf("kills_pvm")+1) end cmdchat("update_pvmpvp "..pc.getqf("kills_pvp").." "..pc.getqf("kills_pvm")) end end end I did something like this: self.tasho = ui.ExpandedImageBox() self.tasho.LoadImage("test/bg.tga") self.tasho.SetPosition((wndMgr.GetScreenWidth()-286)/2,-115) self.tasho.Show() self.KillReich = ui.TextLine() self.KillReich.SetParent(self.tasho) self.KillReich.SetPosition(240, 75) self.KillReich.SetText("AllPVPKills: " + KillReich) self.KillReich.Show() self.KillMob = ui.TextLine() self.KillMob.SetParent(self.tasho) self.KillMob.SetPosition(-200,5) self.KillMob.SetText("Monstri: " + KillMob) self.KillMob.Show() ##KILLGUI "kills_pvp" : self.__KillReich, "kills_pvm" : self.__KillMob, ##END_KILLGUI def __Abrir(self): self.abrir_cuentas_guardadas.Hide() self.cerrar_cuentas_guardadas.Show() self.KillReich.Show() self.KillMob.Show() def __Abrir2(self): self.abrir_cuentas_guardadas.Show() self.cerrar_cuentas_guardadas.Hide() self.KillMob.Hide() self.KillReich.Hide() Link to comment Share on other sites More sharing options...
Tasho 243 Posted December 10, 2014 Author Share Posted December 10, 2014 some help please? :-? just point my mistake Link to comment Share on other sites More sharing options...
Denis 1474 Posted December 10, 2014 Share Posted December 10, 2014 Post these functions from your game.py: def __KillReich and def __KillMob 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