Thorn
Spriting since 2013
Hello guys, i have been using this action for like forever now, and i like it, and i was wondering if with the same script i could give the player a backpack with items inside:
i use tfs 1.3
Lua:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 28735 then
queststatus = getPlayerStorageValue(cid,28735)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a health stone.")
doPlayerAddItem(cid,28788,1)
setPlayerStorageValue(cid,28735,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.!")
end
else
return 0
end
return 1
end
i use tfs 1.3