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

How to fix dead human

salerri

New Member
Joined
May 6, 2018
Messages
5
Reaction score
1
When someone dies does not show up the body, I do not know how to fix it, someone will write how to fix it?
 
When someone dies does not show up the body, I do not know how to fix it, someone will write how to fix it?
Welcome to otland!
When asking for help you should provide as much info about your server as possible, such as tfs/otx version, script/source code if any & any changes you made to either.
 
Ondeath.lua or fuction dead add this code:
Code:
function onDeath(cid, corpse, deathList)
   local remove = {x=818, y=967, z=7}
   local id = 1455
   local remove1 = getTileItemById(remove, id)
   if doRemoveItem(remove1.uid, 1) then
     addEvent(doCreateItem, 10 * 1000, id, 1, {x=818,y=967,z=7})
   end
   return true
end

Or try add in items xml :
dead human - male: id 1011
dead human - female: id 1014
 
Back
Top