Skip to content

Need Help CLUA

PieloverPielover Member Posts: 3
Hi. So C:SetCurrentXp("1000") CLUAConsole:SetCurrentXp("1000") isnt working. Got any ideas how to fix this?

Keeps saying
lua: call expression not a function
Active Stack:
Active Stack:

Edit: This is 1.3 Andriod Version

Thanks to anyone who can help.

Comments

  • joluvjoluv Member Posts: 2,137
    Try C:SetCurrentXP("1000") with a capital P.
  • DoubledimasDoubledimas Member, Mobile Tester Posts: 1,286
    I believe the 1.3 console still requires CLUAConsole: written out in full instead of just C:
  • joluvjoluv Member Posts: 2,137
    I don't think so; I found a 2013 post from elminster saying it was already working then.
  • DoubledimasDoubledimas Member, Mobile Tester Posts: 1,286
    joluv said:

    I don't think so; I found a 2013 post from elminster saying it was already working then.

    Hmm, you're right. I probably linked the difference between CLUAConsole:/C: to the switch from .ini to .lua file with the advent of v2.0.

  • GusindaGusinda Member Posts: 1,915
    edited March 2018
    Hi @Pielover, to set XP, the command should read:

    C:SetCurrentXP(1000)


    Gus
  • PieloverPielover Member Posts: 3
    Thanks guys :smile:
Sign In or Register to comment.