• 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!

TFS 0.X NPC MODULE - callbackOnBuy

subyth

New Member
Joined
May 1, 2009
Messages
56
Reaction score
4
This problem always happens when I click to compare many times the item in the NPC.
If I am with BP closed, when I buy the item, it goes straight to the ground.

Lua:
[1/10/2018 12:48:3] [Error - NpcScript Interface]
[1/10/2018 12:48:3] (Unknown script file)
[1/10/2018 12:48:3] Description:
[1/10/2018 12:48:3] data/npc/lib/npcsystem/modules.lua:1229: attempt to compare boolean with number
[1/10/2018 12:48:3] stack traceback:
[1/10/2018 12:48:3]     data/npc/lib/npcsystem/modules.lua:1229: in function 'callbackOnBuy'
[1/10/2018 12:48:3]     data/npc/lib/npcsystem/npchandler.lua:300: in function 'processModuleCallback'
[1/10/2018 12:48:3]     data/npc/lib/npcsystem/npchandler.lua:506: in function 'onBuy'
[1/10/2018 12:48:3]     data/npc/lib/npcsystem/modules.lua:1346: in function <data/npc/lib/npcsystem/modules.lua:1345>

My Modules.lua
[Lua] -- Advanced NPC System (Created by Jiddo), -- Modified by TheForgottenServer Te - Pastebin.com

Thx For helping!!
 
Back
Top