I'm trying to make a simple function to test things out on metin by using this piece of code:
But when I start metin I get an errorQuote:
import app
import chat
onPressKeyDict[app.DIK_F5] = lambda : mytestfunctiononhere()
testingitout = FALSE
def mytestfunctiononhere(self):
if testingitout == FALSE:
testingitout = TRUE
chat.AppendChat(chat.CHAT_TYPE_INFO, "testingitout: enabled")
else:
testingitout = FALSE
chat.AppendChat(chat.CHAT_TYPE_INFO, "testingitout: disabled")
about indentation error...
I tried even with almost nothing and I still get the same error...
I have the following line on logininfo.py
"import lala"
which imports the lala.py script
Can anyone shed some light on this? thanks






