• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Recent content by monfik

  1. monfik

    Lua error: attempt to call global 'require' (a nil value)

    Okay thanks for help. I will try it today and let u know if it works :) 1690055022 Hmm I understood it right now. Declare a function is good but I wanted to use already existing. Will try Sarah's solution first. Thanks anyway 1690069140 It works, this is what I wanted. Thanks :)
  2. monfik

    Lua error: attempt to call global 'require' (a nil value)

    Yea thas has a sense but what if I really want to use that function from createitembyname.lua to use that flow from this function? In function in this .lua file there is a flow checking if item exists and so on... Lets say I want force to use that function onSay(cid, words, param) from...
  3. monfik

    Lua error: attempt to call global 'require' (a nil value)

    Okay thats cool but what if I want use existing functions onSay from createitembyname.lua? Every functions from every script are function onSay(cid, words, param) If I call this function it doesnt know which one to use
  4. monfik

    Lua error: attempt to call global 'require' (a nil value)

    Yeaah, I know it. I have this command and it already works but I want to make command for my purposes to create whole set like knight set by 1 command :) Thats why I created my own command and here inside my command I want to use existing command from createitembyname.lua That is case to educate...
  5. monfik

    Lua error: attempt to call global 'require' (a nil value)

    I want to use createitembyname.lua script inside mine and use onSay(...) function in it. Originally I had the script like this: function onSay(cid, words, param) local createitemscript = require("createitembyname") createitemscript.onSay(cid, words, param) end Sorry if u need to...
  6. monfik

    Lua error: attempt to call global 'require' (a nil value)

    Hello. I have a problem with lua script on my local server. I added a command for GameMaster in talkactions.xml. And when I call a command in game I receive an error in console Lua Script Error: [TalkAction Interface] data/talkactions/scripts/eqSpawn.lua:onSay...
Back
Top