monster_storages = {}
function doCreatureSetStorage(cid, key, value)
if monster_storages[cid] == nil then monster_storages[cid] = {} end
monster_storages[cid][key] = value
return true
end
function getCreatureStorage(cid, key, value)
if monster_storages[cid] == nil then
return -1
else
if monster_storages[cid][key] ~= nil then
return monster_storages[cid][key]
else
return -1
end
end
end