Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. [11/12/2019 19:20:47] [Error - TalkAction Interface]
  2. [11/12/2019 19:20:47] domodlib("config_lms_event")
  3. [11/12/2019 19:20:47] domodlib("lib_lms_event")
  4.  
  5. [11/12/2019 19:20:47] function onSay(cid, words, param)
  6. [11/12/2019 19:20:47] if getStorage(configLmsEvent.storages.main) > 0 then
  7. [11/12/2019 19:20:47] return doPlayerSendCancel(cid, 'Last Man Standing Event is already running.')
  8. [11/12/2019 19:20:47] end
  9. [11/12/2019 19:20:47]
  10. [11/12/2019 19:20:47] doStartCountingLmsEvent(0)
  11.  
  12. [11/12/2019 19:20:47] for _, pid in ipairs(getPlayersOnline()) do
  13. [11/12/2019 19:20:47] if getCreatureStorage(pid, configLmsEvent.storages.player) > 0 then
  14. [11/12/2019 19:20:47] doCreatureSetStorage(pid, configLmsEvent.storages.player, -1)
  15. [11/12/2019 19:20:47] doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)), true)
  16. [11/12/2019 19:20:47] doCreatureSetStorage(pid, configLmsEvent.storages.kills, 0)
  17. [11/12/2019 19:20:47] end
  18. [11/12/2019 19:20:47] end
  19.  
  20. [11/12/2019 19:20:47] doSetStorage(configLmsEvent.storages.joining, 1)
  21. [11/12/2019 19:20:47] addEvent(doStartLmsEvent, configLmsEvent.delayTime * 60 * 1000)
  22. [11/12/2019 19:20:47] return true
  23. [11/12/2019 19:20:47] end
  24. [11/12/2019 19:20:47] :onSay
  25. [11/12/2019 19:20:47] Description:
  26. [11/12/2019 19:20:47] [string " ..."]:206: attempt to index global 'configRunEvent' (a nil value)
  27. [11/12/2019 19:20:47] stack traceback:
  28. [11/12/2019 19:20:47] [string " ..."]:206: in function 'doStartCountingLmsEvent'
  29. [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