Glidarn
Member
So it works to hand them in but according to this script i'm suppose to get the amulet right away, correct? The thing is i'm not getting anything.
and if its suppose to take 24 hours i would like to change that to wait time at all
LUA:
function amulet(cid, message, keywords, parameters, node)
if(not npcHandler:isFocused(cid)) then
return false
end
if getPlayerItemCount(cid,8262) >= 1 and getPlayerItemCount(cid,8263) >= 1 and getPlayerItemCount(cid,2160) >= 1 and getPlayerItemCount(cid,8264) >= 1 and getPlayerItemCount(cid,8265) >= 1 then
if doPlayerRemoveItem(cid,8262,1) and doPlayerRemoveItem(cid,8263,1) and doPlayerRemoveItem(cid,8264,1) and doPlayerRemoveItem(cid,8265,1) and doPlayerRemoveItem(cid,2152,50) then
npcHandler:say('Here is your item!', cid)
doPlayerAddItem(cid,8266,1)
end
else
npcHandler:say('You don\'t have these items!', cid)
end
end
and if its suppose to take 24 hours i would like to change that to wait time at all
Last edited: