• 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!

[Request]Unlimited aol

clone

New Member
Joined
Jun 16, 2007
Messages
412
Reaction score
1
I want a aol that doesnt run out or that can have charges on it. NO C++ please lol i hate adding stuff. All lua or xml please:) and if possible a red skull aol
 
Take it:

create a file called 'playerpreparedeath.lua' and add it on: data\creaturescripts\scripts
function onPrepareDeath(cid, killer)
if getPlayerItemCount(cid, 2196) >= 1 then
doSetCreatureDropLoot(cid, 0)
end
end

*2196 = broken amulet

-login.lua

after:

function onLogin(cid)

add this:
registerCreatureEvent(cid, "PlayerDeathPrepare")

-creaturescripts.xml (can be found on 'data\creaturescripts')

add this:
<event type="preparedeath" name="PlayerDeathPrepare" script="playerpreparedeath.lua"/>
 
[27/10/2008 09:51:59] Error: [CreatureEvent::configureEvent] No valid type for creature event.preparedeath
[27/10/2008 09:51:59] Warning: [BaseEvents::loadFromXml] Can not configure event

nd i allready tried that .... theres thread about it allready... I DID use search funtion...
 
Back
Top