Ultima modifica da un moderatore:
Mi stavo annoiando, ok?
Questlib.lua
Game.py - GameWindow.__ServerCommand_Build()
Game.py - GameWindow
Utilizzo
PHP:
messagebox = function(text)
local str, cnt = string.gsub(text, " ", "|")
cmdchat("MessageBox ", str)
end -- function
Game.py - GameWindow.__ServerCommand_Build()
PHP:
"MessageBox" : self.__MessageBox,
Game.py - GameWindow
PHP:
def __MessageBox(self, text):
self.PopupMessage(text.replace("|", " "))
Utilizzo
PHP:
messagebox("Questo è un messaggio di prova")