[06/08/2012 18:16:34] Lua Script Error: [CreatureScript Interface]
[06/08/2012 18:16:34] in a timer event called from:
[06/08/2012 18:16:34] data/creaturescripts/scripts/login.lua:onLogin
[06/08/2012 18:16:34] luaGetThingPos(). Thing not found
[06/08/2012 18:16:34] Lua Script Error: [CreatureScript Interface]
[06/08/2012 18:16:34] in a timer event called from:
[06/08/2012 18:16:34] data/creaturescripts/scripts/login.lua:onLogin
[06/08/2012 18:16:34] luaGetPlayerStorageValue(). Player not found
script
function onLogin(cid)
setPlayerStorageValue(cid, 47112120, 2)
local voc = getPlayerVocation(cid)
if getPlayerStorageValue(cid, gems.storage[getPlayerVocation(cid)]) > 0 then
sendGemEffect(cid, gems.storage[voc], gems.interval[voc])
end
return TRUE
end