Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HUD - Show disabled persistents
#1
Hello,

I would like to have a HUD which displays all disabled persistents

Basically, I want it to show a large message in the middle of my screen when any persistent is disabled.
It does not necessarily have to say which one in disabled in particular.
Reply

#2
any clue?
Reply

#3
Hello.

Hmm... It's possible using getsettings(). Try this code:

Just add persistent's Enabled path on Persistents table variable.
local Persistents = {
     'Persistents/0/Enabled',
     'Persistents/1/Enabled',
     'Persistents/2/Enabled',
}

local xPos = 50
local yPos = 65

for _, persistent in ipairs(Persistents) do
    if getsettings(persistent) == false then
        addtextstroke(persistent, xPos, yPos)
        yPos = yPos + 22
    end
end
Reply

#4
It seem to work if I change 'persistent' to 'persistents' in line 9&10
Thanks
Reply

#5
Hello.

Yeah, it was my bad. I just fixed it.
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Smile" title="Smile" class="smilie smilie_1" />
Reply

#6
Thank you!!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016