Jump to content

North

Premium
  • Posts

    465
  • Joined

  • Last visited

  • Days Won

    10
  • Feedback

    0%

Posts posted by North

  1. On 8/21/2017 at 12:54 PM, [007]DawisHU said:

    LOL, forget this $....  :facepalm:

    like python:

    make new item.
    ittem in quest rename player with add (vip1-2-3-4-5-6-7-8-9-10)
    And this python work wery vell :D

    Where is problem? XD

    for request i made tutorial how it's work

    for python`s sake

     

    mylist = ["(VIP1)","(VIP2)","(VIP3)","(VIP4)","(VIP5)","(VIP6)","(VIP7)","(VIP8)","(VIP9)","(VIP10)"]
    enumeratelist = list(enumerate(mylist, start=29))
     
    for e_value,vip in enumeratelist:
        if gamemasta.find(str(vip))!=-1:
            if self.lastupdate == 0:
                self.lastupdate = app.GetGlobalTimeStamp()
            if app.GetGlobalTimeStamp() - self.lastupdate >= 5:
                self.lastupdate = app.GetGlobalTimeStamp()
    net.SendEmoticon(int(e_value))
    • Love 1
  2. 33 minutes ago, Seryov said:

    I'm using that, but dont work success, 
    self.petlifeg.SetPercentage(50, 100)

    The progress bar it's set to 50% but show +/- 10%...


     

    Yes i mean can you paste here the snippet for that def?
    So we can understand if the two parameters are correctly processed by python.

    Unfortunately i don`t have the code with me so if you could provide here it would be great.

     

    If you can provide even the petlifeg would be even better

  3. On 8/13/2017 at 11:54 PM, h0p said:

     

    Hello and I found you, I want to make a small table to include a few buttons with different functions, for example the "import x" function, I do not know how to make the table, if you can be a little help being grateful. Like the table to have the hide / show function. Just one pattern, one example. Thank you :)

    You have all you need into your uiscript for the board.

    self.Button.SetEvent(ui.__mem_func__(self.Doit)) #give the child a function

    def Doit(self):
        import blabla 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.