Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [11/12/2019 19:20:47] [Error - TalkAction Interface]
- [11/12/2019 19:20:47] domodlib("config_lms_event")
- [11/12/2019 19:20:47] domodlib("lib_lms_event")
- [11/12/2019 19:20:47] function onSay(cid, words, param)
- [11/12/2019 19:20:47] if getStorage(configLmsEvent.storages.main) > 0 then
- [11/12/2019 19:20:47] return doPlayerSendCancel(cid, 'Last Man Standing Event is already running.')
- [11/12/2019 19:20:47] end
- [11/12/2019 19:20:47]
- [11/12/2019 19:20:47] doStartCountingLmsEvent(0)
- [11/12/2019 19:20:47] for _, pid in ipairs(getPlayersOnline()) do
- [11/12/2019 19:20:47] if getCreatureStorage(pid, configLmsEvent.storages.player) > 0 then
- [11/12/2019 19:20:47] doCreatureSetStorage(pid, configLmsEvent.storages.player, -1)
- [11/12/2019 19:20:47] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
- [11/12/2019 19:20:47] doCreatureSetStorage(pid, configLmsEvent.storages.kills, 0)
- [11/12/2019 19:20:47] end
- [11/12/2019 19:20:47] end
- [11/12/2019 19:20:47] doSetStorage(configLmsEvent.storages.joining, 1)
- [11/12/2019 19:20:47] addEvent(doStartLmsEvent, configLmsEvent.delayTime * 60 * 1000)
- [11/12/2019 19:20:47] return true
- [11/12/2019 19:20:47] end
- [11/12/2019 19:20:47] :onSay
- [11/12/2019 19:20:47] Description:
- [11/12/2019 19:20:47] [string " ..."]:206: attempt to index global 'configRunEvent' (a nil value)
- [11/12/2019 19:20:47] stack traceback:
- [11/12/2019 19:20:47] [string " ..."]:206: in function 'doStartCountingLmsEvent'
- [11/12/2019 19:20:47] [string "LuaInterface::loadBuffer"]:9: in function <[string "LuaInterface::loadBuffer"]:4>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement