ok there is no problem with the console but still not the monster is created
local monster = {"rat", "pig"}
function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "omg a monster!")
Item(item.uid):remove()...