function onUse(cid, item, frompos, item2, topos)
local cost = 50000
local monster = "Demon"
local checkpos = {x=737, y=965, z=7, stackpos=253}
local monsterpos = {x=737, y=965, z=7}
check = getThingfromPos(checkpos)
if check.itemid == 0 then
if doPlayerRemoveMoney(cid, cost) == TRUE then
doSummonCreature(monster, monsterpos)
else
doPlayerSendTextMessage(cid,22, "You need "..cost.." gold for a Summon.")
end
else
doPlayerSendTextMessage(cid,22, "You already have a Summon or you don't stand on the right Field.")
end
return TRUE
end