Was ist ein Pick up Bot?
Thanks, but how is work this php code?Quote:
Basic but effective :awesome:
PHP Code:import ui
import player
import chat
import wndMgr
import shop
import net
import app
class Pickup(ui.ScriptWindow):
State = "off"
def __init__(self):
ui.ScriptWindow.__init__(self)
chat.AppendChat(chat.CHAT_TYPE_INFO, "-----------------PICKUP-BOT-LOADED-----------")
chat.AppendChat(chat.CHAT_TYPE_INFO, "Thanks to:")
chat.AppendChat(chat.CHAT_TYPE_INFO, "Musicinstructor (Python-Loader) & DaRealFreak(Python Script)")
chat.AppendChat(chat.CHAT_TYPE_INFO, "---------------------------------------------")
self.StateButton = ui.Button()
self.StateButton.SetPosition(wndMgr.GetScreenWidth() - 1340, wndMgr.GetScreenHeight() / 10)
self.StateButton.SetUpVisual("d:/ymir work/ui/public/Middle_Button_01.sub")
self.StateButton.SetOverVisual("d:/ymir work/ui/public/Middle_Button_02.sub")
self.StateButton.SetDownVisual("d:/ymir work/ui/public/Middle_Button_03.sub")
self.StateButton.SetText("Off")
self.StateButton.SetEvent(self.Configuration)
self.StateButton.Show()
def __del__(self):
ui.ScriptWindow.__del__(self)
self.StateButton.Hide()
def Configuration(self):
if str(self.State) == "off":
self.State = "on"
chat.AppendChat(chat.CHAT_TYPE_INFO, "[+] PICKUP -> ON")
self.StateButton.SetText("On")
else:
self.State = "off"
chat.AppendChat(chat.CHAT_TYPE_INFO, "[+] PICKUP -> OFF")
self.StateButton.SetText("Off")
def OnUpdate(self):
if str(self.State) == "on":
player.PickCloseItem();
StartDialog = Pickup()
StartDialog.Show()
Hmm, i know this from [Only registered and activated users can see links. Click Here To Register...]. :rolleyes:Quote:
Basic but effective :awesome:
PHP Code:import ui
import player
import chat
import wndMgr
import shop
import net
import app
class Pickup(ui.ScriptWindow):
State = "off"
def __init__(self):
ui.ScriptWindow.__init__(self)
chat.AppendChat(chat.CHAT_TYPE_INFO, "-----------------PICKUP-BOT-LOADED-----------")
chat.AppendChat(chat.CHAT_TYPE_INFO, "Thanks to:")
chat.AppendChat(chat.CHAT_TYPE_INFO, "Musicinstructor (Python-Loader) & DaRealFreak(Python Script)")
chat.AppendChat(chat.CHAT_TYPE_INFO, "---------------------------------------------")
self.StateButton = ui.Button()
self.StateButton.SetPosition(wndMgr.GetScreenWidth() - 1340, wndMgr.GetScreenHeight() / 10)
self.StateButton.SetUpVisual("d:/ymir work/ui/public/Middle_Button_01.sub")
self.StateButton.SetOverVisual("d:/ymir work/ui/public/Middle_Button_02.sub")
self.StateButton.SetDownVisual("d:/ymir work/ui/public/Middle_Button_03.sub")
self.StateButton.SetText("Off")
self.StateButton.SetEvent(self.Configuration)
self.StateButton.Show()
def __del__(self):
ui.ScriptWindow.__del__(self)
self.StateButton.Hide()
def Configuration(self):
if str(self.State) == "off":
self.State = "on"
chat.AppendChat(chat.CHAT_TYPE_INFO, "[+] PICKUP -> ON")
self.StateButton.SetText("On")
else:
self.State = "off"
chat.AppendChat(chat.CHAT_TYPE_INFO, "[+] PICKUP -> OFF")
self.StateButton.SetText("Off")
def OnUpdate(self):
if str(self.State) == "on":
player.PickCloseItem();
StartDialog = Pickup()
StartDialog.Show()
Of course :)Quote:
Hmm, i know this from [Only registered and activated users can see links. Click Here To Register...]. :rolleyes: