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

Help Me Please!!!!

clone

New Member
Joined
Jun 16, 2007
Messages
412
Reaction score
1
Im using TFS 2.9 and im getting this error in all of my npc's who worked in 2.8 =s

Lua Script Error: [Npc interface]
data/npc/scripts/runes.lua:eek:nCreatureSay

data/npc/lib/npcsystem/modules.lua:700: attempt to call global 'doPlayerBuyItem'
(a nil value)


Can someone help me!? please add me on msn if you can help me out [email protected]
 
look if you have this in your global.lua

Code:
function doPlayerBuyItem(cid, itemid, count, cost, charges)
	if(doPlayerRemoveMoney(cid, cost) == TRUE) then
		return doPlayerGiveItem(cid, itemid, count, charges)
	end
	return LUA_ERROR
end
if you don't have it then add it that should fix the errors :S

yours Evil Hero,
 
Back
Top