LUA:
local t, doEet = {
{x=3850, y=1974, z=2}
}
function onUse(cid, item)
doSummonCreature("Demon")
end
addEvent(doEet, 30 * 60000)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You pissed off the Devil....your move.")
end
This script is intended for an item in game that when used creates a monster. The error i am getting on my server is saying i need to add an "(" on line 4 near "onUse". Obviously, there is no needed parenthesis there. Do i need to add in the id of the item? If so here is the id: 1904
Thanks otland!
REP++