function onSetpIn(cid, item, fromPosition, itemEx, toPosition)
local config = {
pos = { x = 1234, y = 1234, z = 1, stackpos = 255},
monster = "Rat",
t = 30
}
if exhaustion.get(cid, 61232) == false then
doCreateMonster(config.monster, config.pos)
exhaustion.set(cid, 61232, config.t*60)
else
doPlayerSendCancel(cid, "Monster will be spawned 1 time for "..(config.t*60).." minutes!")
end
return true
end