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

function onDeath

andree

New Member
Joined
Feb 19, 2014
Messages
70
Reaction score
4
deathList works in this way that [1] shows a player who recently killed CID, deathList[2] shows player who one before last killed cid etc?
 
As I know cid is the player that dies and deathlist is a table of playernames or something similar to that.
Correct me if im wrong
 
what?? where is the list?
onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)

bool CreatureEvent::executeOnDeath(Creature* creature, Item* corpse, Creature* killer, Creature* mostDamageKiller, bool lastHitUnjustified, bool mostDamageUnjustified)
 
what?? where is the list?
onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)

bool CreatureEvent::executeOnDeath(Creature* creature, Item* corpse, Creature* killer, Creature* mostDamageKiller, bool lastHitUnjustified, bool mostDamageUnjustified)
In old versions (TFS 0.3/0.4) the third parameter is a table with the killers.
 
Back
Top