• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Pearl Frag Help!

knightfire

New Member
Joined
Jul 25, 2007
Messages
114
Reaction score
2
Location
Lake Michigan
I got an error, am I doing anything wrong?

Here what the server said:
Error: [CreatureEvent::configureEvent] No valid type for creature event.ondeath
Warning: [BaseEvents::loadFromXml] Can not configure event

Here's what I have for the script:

In creaturescripts.xml:
<event type="ondeath" name="Pearltokiller" script="pearldeath.lua" />

And here is my script:

In pearldeath.lua:
function onDeath(cid, killer)
doPlayerAddItem(killer,2143,1)
doPlayerSendTextMessage(killer,22,"You pwned ' .. cid .. '!")
end
 
This does not work, Does anyone know what the problem is?
It loads great but never gives the white pearl :/

Cmon someone help?

This does not work, Does anyone know what the problem is?
It loads great but never gives the white pearl :/

Heeeeeeeeeelllllp!!!
 
Last edited by a moderator:
Back
Top