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

Death Broadcast "HELP"

Elde Monx

New Member
Joined
Jun 16, 2009
Messages
13
Reaction score
0
Hi, please i need help! i want a script to broadcast the player death.. i use TFS 0.3.6. Thanks! i add rep++
 
Code:
function onDeath(cid, corpse, deathList)
   if isPlayer(cid) then
   doBroadcastMessage(""..getCreatureName(cid).." Has Died "..getCreatureByName(getCreatureTarget(cid)).."", MESSAGE_EVENT_ADVANCE)
   end
   return true
   end
don't foget to register it in creaturescript and login.lua[/CODE]
 
Back
Top