Well I got this chest that gives you 150k when using it,
but I want it to be like you NEED level 100 to be able to get 150k (use the chest)
im using this:
+rep
but I want it to be like you NEED level 100 to be able to get 150k (use the chest)
im using this:
LUA:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 62623 then
queststatus = getPlayerStorageValue(cid,5640)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found 15 crystal coins.")
doPlayerAddItem(cid,2160,15)
setPlayerStorageValue(cid,5640,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
+rep