Exedion
Active Member
- Joined
- Jun 11, 2007
- Messages
- 629
- Reaction score
- 30
I made this function to check if a player have a storage with certain key number, but not work and not send error msg...
LUA:
function getCreatureStorageKey(cid, key)
local keys = getCreatureStorageList(cid)
local c = table.find(keys, key)
if(c == nil) then
return false
else
return c, true
end
end