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

Lua Script

hasbro

Member
Joined
Feb 15, 2009
Messages
287
Reaction score
6
This script i create when player die add one heart and if is dead but doesnt work..

Lua:
function onDeath(cid, corpse, deathList)
if isPlayer(cid) and isPlayer(deathList[1]) then
if skull_check == 4 then
heart = doAddContainerItem(corpse.uid, 5943, 1)
doItemSetAttribute(heart,"name", "Heart of " .. getPlayerName(cid))
doItemSetAttribute(heart,"description","This is the heart of "..getPlayerName(cid).." killed at Level "..getPlayerLevel(cid).." by "..getPlayerName(deathList[1]).."I was at level "..getPlayerLevel(deathList[1]).."[NOT-JUSTIFIED].")
doPlayerSendTextMessage(deathList[1], MESSAGE_STATUS_CONSOLE_ORANGE, "You Killed " .. getCreatureName(cid) .. ".")
doSendMagicEffect(getPlayerPosition(deathList[1]), 12)
return true
end
end
end
 
Hey

Can Anyone Help Me i just Deleted Druid Sample and Sorcerer Sample etc..


and now when i create a new Acc so it says : Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php and set valid characters to copy names. Character to copyDruid Sample doesn't exist.


So how can i Back druid sample and others ...

help me Please Fast..
 
Back
Top