
Originally Posted by
denkan2013
01:19 XenoScript Error:
Script: loot seller.lua
Line #: 276
Error: attempt to index global 'self' (a nil value)
is this what you need? (cant sell kinght armor)
lua code: self.SayToNpc({"hi", "trade"}, 45)
needs to be changed to lua code: Self.SayToNpc({"hi", "trade"}, 45)