How to get the Killer of a victim in vehicle?
#6

1. I rather prefer use of OnPlayerGiveDamage, instead of OnPlayerTakeDamage.
2. In this case create a global variable with initial value = 0;
3. Check on OnPlayerGiveDamage, if the damagedid is in an vehicle, set the variable that you created with the damagedid, then do whatever you want with that variable.
TIPS: A car explode if vehicle health <= 300 (This may give you an ideea).
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)