Kungenn
Veteran OT User
From what I understand to make a travel destination require premium you write
name,destination,price,--->1<--- and it will require premium to travel?
city name,3471,3475,6,120,1
Correct?
function TravelModule:addDestination(name, position, price, premium)
But when I do that I get lots of errors in the console when people without premium try to travel.
And they do not get any message saying that it requires premium to travel to that place.
Really hope someone can help after I wrote all that by hand lol
name,destination,price,--->1<--- and it will require premium to travel?
city name,3471,3475,6,120,1
Correct?
function TravelModule:addDestination(name, position, price, premium)
But when I do that I get lots of errors in the console when people without premium try to travel.
And they do not get any message saying that it requires premium to travel to that place.
Code:
data/npc/scripts/default.lua:onCreatureSay
Description:
data/npc/lib/npcsystem/modules.lua:433: attempt to index global 'modulenpcHandler' <a nil value>
stack traceback:
data/npc/lib/npcsystem/modules.lua:433: in function 'callback'
data/npc/lib/npcsystem/keywordhandler.lua:40: in function 'processMessage'
data/npc/lib/npcsystem/keywordhandler.lua:168: in function 'processNodeMessage'
data/npc/lib/npcsystem/keywordhandler.lua:122: in function 'processMessage'
data/npc/lib/npcsystem/npchandler.lua:387: in function 'onCreatureSay'
data/npc/scripts/default.lua:7: in function <data/npc/scripts/default.lua:7>
Really hope someone can help after I wrote all that by hand lol