
Sunt 2 arhive r40k si r34k(cea pentru r34k nu a fost testata)
r40kCod: Selectaţi tot
https://mega.co.nz/#!HwdkCTqD!qlq93K8_IJfLA3Eps8BWP88q6d-OHfDfhoooe6bdoFgCod: Selectaţi tot
https://mega.co.nz/#!SpVQ1baC!9pKnb6DkvOEVuone8gT9k7_yEu4NjPJ2sy0ZV0Cjs4EIntrati in root - game.py si cautati
Cod: Selectaţi tot
import wndMgrpuneti:
Cod: Selectaţi tot
import uiPopup
import timeCod: Selectaţi tot
class WaitingDialog(ui.ScriptWindow):
def __init__(self):
ui.ScriptWindow.__init__(self)
self.__LoadDialog()
self.eventTimeOver = lambda *arg: None
self.eventExit = lambda *arg: None
def __del__(self):
ui.ScriptWindow.__del__(self)
def __LoadDialog(self):
try:
PythonScriptLoader = ui.PythonScriptLoader()
PythonScriptLoader.LoadScriptFile(self, "UIScript/WarteSchleife.py")
except:
import exception
exception.Abort("WaitingDialog.LoadDialog.BindObject")
def Open(self, waitTime):
curTime = time.clock()
self.endTime = curTime + waitTime
self.Show()
def Close(self):
self.Hide()
def Destroy(self):
self.Hide()
def SAFE_SetTimeOverEvent(self, event):
self.eventTimeOver = ui.__mem_func__(event)
def SAFE_SetExitEvent(self, event):
self.eventExit = ui.__mem_func__(event)
def OnUpdate(self):
lastTime = max(0, self.endTime - time.clock())
if 0 == lastTime:
self.Close()
self.eventTimeOver()
else:
return
def OnPressExitKey(self):
self.Close()
return TRUE









freakservers
info[@]freakservers.net
