• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

this is my fucking brain

killing

Member
Joined
Feb 23, 2012
Messages
815
Reaction score
11
Location
BIH
I Can't see player Dead Body...So it means Player Can't loss any items when he die!!!
Even When player dont have a AOL!!!!!!!!

Please HELP!!!REP++
 
try this if not tell


add this line to creaturescripts.xml

<event type="death" name="summonDeath" script="summon_death.lua"/>

then go creaturescripts/scripts/ make file summon_death.lua

and paste this


function onDeath(cid, corpse, deathList)
if isMonster(cid) then
local x = getCreatureMaster(cid)
if isPlayer(x) then
if getPlayerItemCount(x, 5468) > 0 then
doPlayerRemoveItem(x, 5468, 1)
doPlayerAddItem(x, 7488, 1)
end
end
end
return true
end

and add this to login.lua
registerCreatureEvent(cid, "Deatheffect")


Rep If Helped
 
try this if not tell


add this line to creaturescripts.xml



then go creaturescripts/scripts/ make file summon_death.lua

and paste this




and add this to login.lua



Rep If Helped



Okay i well try but later..Im Now working on my Map! =)

- - - Updated - - -

does not work!!!i CAN'T SEE DEATH BODY!!!WTF
When player die without aol he dont loss any items
 
Back
Top