ralke
(҂ ͠❛ ෴ ͡❛)ᕤ
Hi, i need to know how to add action id (aid 1443) and charges to an item exchanged or bought to NPC. Example, adding action id to:
or something like
i'm using tfs 0.4
thanks in advance!!
regards
Lua:
if getPlayerItemCount(cid,2393) >= 1 then
if doPlayerRemoveItem(cid,2393,1) == TRUE then
selfSay(done, cid)
doPlayerAddItem(cid,2376) ----- add action id 1443 and 100 to item charges here ----
end
or something like
Lua:
<parameter key="shop_buyable" value="
training sword,2376,1000; --- add action id 1443 and 100 charges for the item ---
i'm using tfs 0.4
thanks in advance!!
regards