ond
Veteran OT User
[Server used = Theforgotten server 0.2.7 Client 8.0]
Hello, I was looking for some help with a creaturescript to my server which is supposed to be to Svargrond arena.
Anyway, here is the script
And here is the console error:
If anyone knows what the problem might be, please post it here or send me a private message.
Thanks.
Hello, I was looking for some help with a creaturescript to my server which is supposed to be to Svargrond arena.
Anyway, here is the script
function onKill(cid, target)
local monster = getCreatureName(target)
local room = getArenaMonsterIdByName(monster)
if room > 0 then
setPlayerStorageValue(cid, room, 1)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_DEFAULT,'Mozesz wejsc do kolejnego pokoju areny!')
end
end
And here is the console error:
[02/06/2009 17:55:01] Error: [CreatureEvent::configureEvent] No valid type for creature event.kill
[02/06/2009 17:55:01] Warning: [BaseEvents::loadFromXml] Can not configure event
If anyone knows what the problem might be, please post it here or send me a private message.
Thanks.