Hello!
I get error in console i use newest version of TFS 0.2.
It say cannot add but its add.
But i think this erros can make lags.
I use this script:
Thanks a lot
I get error in console i use newest version of TFS 0.2.
It say cannot add but its add.
But i think this erros can make lags.
I use this script:
Code:
local Cost = 6500
local RuneId = 2268
function onUse(cid, item, fromPosition, itemEx, toPosition)
if doPlayerRemoveMoney(cid, Cost) == 1 then
backpack = doPlayerAddItem(cid, 2003, 1)
for i = 1, 20 do
doAddContainerItem(backpack, RuneId, 6)
end
else
doPlayerSendCancel(cid, 'You don\'t have enough money.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return 1
end
Thanks a lot