Jump to content

function error


Cornysz
 Share

Recommended Posts

  • 8 months later...

Script terminado:
Quizás este script necesite la última versión de GameGuardian. Intenta actualizar a la última versión.

Script error: luaj.LuaError: load /storage/emulated/0/SCRIPTS BY Alan💀☠️☠️/NewScript.lua: luaj.LuaError: /storage/emulated/0/SCRIPTS BY Alan💀☠️☠️/NewScript.lua:18
`null`
''end'' expected (to close ''function'' at line 14) near <eof>
    at luaj.LuaValue.error(LuaValue.java:1083)
    at luaj.Globals.loadfile(Globals.java:219)
    at android.ext.Script$ScriptThread.run(Script.java:1090)
Caused by: luaj.LuaError: /storage/emulated/0/SCRIPTS BY Alan💀☠️☠️/NewScript.lua:18
`null`
''end'' expected (to close ''function'' at line 14) near <eof>
    at luaj.compiler.LexState.lexerror(LexState.java:289)
    at luaj.compiler.LexState.syntaxerror(LexState.java:293)
    at luaj.compiler.LexState.check_match(LexState.java:887)
    at luaj.compiler.LexState.body(LexState.java:1317)
    at luaj.compiler.LexState.funcstat(LexState.java:2029)
    at luaj.compiler.LexState.statement(LexState.java:2112)
    at luaj.compiler.LexState.statlist(LexState.java:2156)
    at luaj.compiler.LexState.mainfunc(LexState.java:2172)
    at luaj.compiler.LuaC$CompileState.luaY_parser(LuaC.java:129)
    at luaj.compiler.LuaC.compile(LuaC.java:99)
    at luaj.Globals.compilePrototype(Globals.java:278)
    at luaj.Globals.loadPrototype(Globals.java:265)
    at luaj.Globals.load(Globals.java:231)
    at luaj.Globals.loadfile(Globals.java:213)
    ... 1 mor

Why:(? 

NewScript.lua

Edited by Alanmodz7w72
Link to comment
Share on other sites

Script finalizado:
Script error: luaj.LuaError: @/storage/emulated/0/SCRIPTS BY Alan💀☠️☠️/NewScript.lua:11
`if menu == 1 then  A() end`
attempt to call nil
level = 1, pc = 34
stack traceback:
    /storage/emulated/0/SCRIPTS BY Alan💀☠️☠️/NewScript.lua:11 in main chunk
    [Java]: in ?
    at luaj.LuaValue.checkmetatag(LuaValue.java:2896)
    at luaj.LuaValue.callmt(LuaValue.java:2051)
    at luaj.LuaValue.call(LuaValue.java:1478)
    at luaj.LuaValue.callNotNull(LuaValue.java:3234)
    at luaj.LuaClosure.execute(LuaClosure.java:456)
    at luaj.LuaClosure.call(LuaClosure.java:145)
    at android.ext.Script.runScript(Script.java:5584)
    at android.ext.Script$ScriptThread.run(Script.java:5365)

It's not that it works, but when I add function A () and then the function doesn't work 😞 I don't know if you understand me

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.