Ello guys,
I was doing a test, (i'm a naabstation in scripts, learning now ).
This is a exemple of a simple quest.
I like it worked on the floor .
I put the uniqueid on floor and not work.
I was doing a test, (i'm a naabstation in scripts, learning now ).
This is a exemple of a simple quest.
Code:
local msg1 = "You have found a boots of haste."
local msg2 = "It is empty."
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 3003 then
if getPlayerStorageValue(cid, 50300) == -1 then
doPlayerSendTextMessage(cid, 22, msg1)
doPlayerAddItem(cid, 2195, 1)
setPlayerStorageValue(cid, 50300, 1)
else
doPlayerSendTextMessage(cid, 22, msg2)
end
end
end
I put the uniqueid on floor and not work.
Last edited: