local new_item = doCreateItemEx(itemtogive_id, itemtogive_count)
received_item = doPlayerAddItemEx(cid, new_item)
end
if received_item == RETURNVALUE_NOERROR then
doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.')
db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";")
db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";")
else
doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.')
end
else
doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.')
info
Grupo: Campones
Registrado: 17/12/10
Posts: 16
Reputação: 0
Uploaded with ImageShack.us
to com o seguinte problema no meu OT :X
Não sei se é a area certa, então desculpem o double post, o outro foi na area de duvidas de website....
seguinte, quando eu compro um item no shop, ele não para de entregar, fica entregando muitos itens....
to usando o tfs 0.4 REV ...
Alguem ai me ajuda !!!
vlw Rep + pra quem ajudar !
Edit::
CONSEGUI CONCERTAR, DPS DE MUITA PROCURA NO FORUM ACHEI RS !
pra quem tem o mesmo problema, apenas substitua o seu SHOP.LUA por este !!!
Editado Outubro 29 por fakez1m