ralke
(҂ ͠❛ ෴ ͡❛)ᕤ
- Joined
- Dec 17, 2011
- Messages
- 1,713
- Solutions
- 31
- Reaction score
- 965
- Location
- Santiago - Chile
- GitHub
- ralke23
- Twitch
- ralke23
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