function onUse(cid, item, frompos, item2, topos)
if not isPlayer(getGlobalStorageValue(SNAKE.freeglobalstorage)) then
doTeleportThing(cid,SNAKE.controlpos)
SNAKE.timer(cid,1,nil,item.actionid == 0 and 500 or item.actionid)
doPlayerSendTextMessage(cid,25,'Hold key CTRL and use the arrows to control snake.')
SNAKE.generateFood()
else
doPlayerSendTextMessage(cid,25,'Please wait.')
end
end
[Error - Action Interface]
In a timer event called from:
data/actions/scripts/snakesys.lua:onUse
Description:
(luaDoRemoveItem) Item not found
[Error - Action Interface]
In a timer event called from:
data/actions/scripts/snakesys.lua:onUse
Description:
(luaDoRemoveItem) Item not found
[26/12/2010 18:21:55] [Error - LuaScriptInterface::loadFile] data/actions/scripts/snakesys.lua:10: 'end' expected (to close 'function' at line 1) near '<eof>'
[26/12/2010 18:21:55] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/snakesys.lua)
[26/12/2010 18:21:55] data/actions/scripts/snakesys.lua:10: 'end' expected (to close 'function' at line 1) near '<eof>'
[12/06/2011 14:46:46] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/snakesys.lua)
[12/06/2011 14:46:46] data/actions/scripts/snakesys.lua:2: ')' expected near 'rage'
se alguem poder me ajudar '-' ja fiz tudo só falta arruma essa ***** de bug[12/06/2011 14:46:46] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/snakesys.lua)
[12/06/2011 14:46:46] data/actions/scripts/snakesys.lua:2: ')' expected near 'rage'
Nice work
![]()