Hadeszeus
New member
How to check if players killed by mobs.
OnPCDieEvent:
if ( killerrid >= 3000000) {
do something;
}
else
OnPCDieEvent:
if ( killerrid >= 3000000) {
do something;
}
else
killerrid < 1500000 (min char_id)OnPCDieEvent:
This special label triggers when a player dies. The variable 'killerrid'
is set to the ID of the killer.
Dunno why it's not working..killerrid < 1500000 (min char_id)OnPCDieEvent:
This special label triggers when a player dies. The variable 'killerrid'
is set to the ID of the killer.
Thanks for thisOnPCDieEvent:
if ( killerrid >= 110000000 ) {
...........................
}
end;
if(killerrid==getcharid(3))----->killed by him/her self
if(!killerrid) ----->eat poison potion
Ohh, always I thought, killerrid will return mobid.OnPCDieEvent:
if ( killerrid >= 110000000 ) { //--->killed by a mob
...........................
}
end;
if(killerrid==getcharid(3))----->killed by him/her self (ex: Grand Cross)
if(!killerrid) ----->eat poison potion
We use essential cookies to make this site work, and optional cookies to enhance your experience.