A explosion kills a player, but player does not recieve credit.
#7

A fairly simple way which i have used in the past is...

When you create the explosion store the x, y and z co-ordinates of the explosion.

Under OnPlayerDeath check if the player was killed by an explosion.

If the player died by explosion - check if they are in range of the explosion, use the x, y, z co-ords you saved when creating the explosion.

Now you can give credit to player who created the explosion.

It's not %100 accurate, but iv used this method before and it works.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)