Okay, I am making a chest, that will add a KEY for a player with specific action ID. Anybody knows how to do it?
My script:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 8334 then
queststatus = getPlayerStorageValue(cid,8334)
if queststatus == -1 then...