Lua Script Error: [CreatureScript Interface]
Closed this issue · 0 comments
luanluciano93 commented
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/login.lua:onLogin
data/creaturescripts/scripts/login.lua:27: attempt to index a nil value
stack traceback:
[C]: in function '__newindex'
data/creaturescripts/scripts/login.lua:27: in function <data/creaturescripts/scripts/login.lua:9>
^ Game.getStorageValue("stamina")[playerId] = 0
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/logout.lua:onLogout
data/creaturescripts/scripts/logout.lua:3: attempt to index local 'staminaTable' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/logout.lua:3: in function <data/creaturescripts/scripts/logout.lua:1>