Thank you but is this what i asked for?like if you use a item it will give you the addon?
Yeh, but, do you want it as a quest? or just a normal item that gives you all addons
[12001] = {12010,Hunter,2},
--Daniel Couillard: Blood BlvD Ot.
function onUse(cid, item, frompos, item2, topos)
--Config--
local outfit = Hunter
-/Config--
if getPlayerStorageValue(cid,20202) == -1 then
doPlayerAddOutfit(cid,outfit,2)
setPlayerStorageValue(cid,20202,1)
else
doPlayerSendCancel(cid,"You have already obtained this ' .. outfit .. ' addon")
end
return true
end
make new actionscript for each of the outfits you want and just change the configs nameshould work.
Code:--Daniel Couillard: Blood BlvD Ot. function onUse(cid, item, frompos, item2, topos) --Config-- local outfit = Hunter -/Config-- if getPlayerStorageValue(cid,20202) == -1 then doPlayerAddOutfit(cid,outfit,2) setPlayerStorageValue(cid,20202,1) else doPlayerSendCancel(cid,"You have already obtained this ' .. outfit .. ' addon") end return true end