I am using this in a damage fuction:
PHP Code:
make_deathmsg( iAttacker, iVictim, 0, "UNKNOWN" );
Now sometimes this happens also when the victim is still alive, so I would need to have a task and check then if the victim is dead. But how can I use a task for both players? At the end it would be:
PHP Code:
if(is_user_connected(iAttacker) && is_user_connected(iVictim) && !is_user_alive(iVictim))
//make_deathmsg here
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.