O erro que da é esse
[25/05/2017 15:40:57] [Error - LuaScriptInterface::loadFile] cannot open data/actions/scripts/Quest1.lua: No such file or directory [25/05/2017 15:40:57] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/Quest1.lua) [25/05/2017 15:40:57] cannot open data/actions/scripts/Quest1.lua: No such file or directory [25/05/2017 15:40:57] [Error - LuaScriptInterface::loadFile] cannot open data/actions/scripts/Quest1.lua: No such file or directory [25/05/2017 15:40:57] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/Quest1.lua) [25/05/2017 15:40:57] cannot open data/actions/scripts/Quest1.lua: No such file or directory [25/05/2017 15:40:57] [Error - LuaScriptInterface::loadFile] cannot open data/actions/scripts/Quest1.lua: No such file or directory [25/05/2017 15:40:57] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/Quest1.lua) [25/05/2017 15:40:57] cannot open data/actions/scripts/Quest1.lua: No such file or directory
O script que estou usando
-- [( Script created by Matheus for ###.com )] -- function onUse(cid, item, fromPosition, itemEx, toPosition)
local itemid = 2297 -- ID do item que o player irá ganhar. local itemid = 2298 local itemid = 2299 local storage = 2000 -- Storage pode ser qualquer numero, desde que ele não exista em outro script. local storage = 2001 local storage = 2002 if getPlayerStorageValue(cid, storage) < 1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você ja fez essa quest. "..getItemNameById(itemid)..".") doPlayerAddItem(cid, itemid, 1) doPlayerSetStorageValue(cid, storage, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is empty.") end return TRUE end