How do I detect when a player hits another?
#1

I want to make a system where if a player hits another it will make a ding noise, I know how to make the ding. Just not how to make it recognise when a player hits another.
Reply
#2

When you're saying "hits another", do you mean with fist or any weapon? And the ding noise to be played to the player who hits the player or the one who is being hit by another?


Use OnPlayerTakeDamage callback.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=462189 - A simple tutorial, if you understand you know where to put the song.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)