Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Hello does anyone know a good damage or hit indicator for DM scripts? Nowdays, every DM scripts uses that so players know when they really damaged a player or not. Thanks.
Posts: 112
Threads: 18
Joined: Dec 2012
You mean like when someone shoots another play it plays a sound? Well, that's simple.
Download OPSP include by Wups and add OnPlayerShootPlayer to your GM and everytime a killer shoots the player, PlaySound.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Thanks for replying. Thanks +REP.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Ok Thanks but which one use OPSP or OnPlayerTakeDamage or can I use either one of them?
Posts: 119
Threads: 10
Joined: Oct 2010
Reputation:
0
I recommend to use OnPlayerTakeDamage option as it is more accurate and optimized.
Posts: 112
Threads: 18
Joined: Dec 2012
Quote:
Originally Posted by RTR12
Ok Thanks but which one use OPSP or OnPlayerTakeDamage or can I use either one of them?
|
OnPlayerTakeDamage will be more accurate.
However, both will work.
Posts: 815
Threads: 127
Joined: May 2011
Reputation:
0
Alright this is a big favor to ask but could you give me the code of showing me how to do this. While in the process as the attacker hears the sound to the id that I've set it to, could a ClientMessage be sent to him, SendClientMessage(attacker, Color... Showing him the amount of damage he made to the victim and the remaining amount of health left? I'm not good with the floats and stuff... Lol.