Helmet Hit Sound
2 Attachment(s)
Helmet Hit Sound
Description: This is my first plugin, its very simple because im still learning. This plugin adds an diferent sound to the helmet hit. Just put the sound in sound/misc. Credits to joaquimandrade for the help Please report if something is wrong/buggy. Quote:
Requires: hamsandwich fakemeta Change-Log: * 1.0 - First release |
Re: Helmet Hit Sound
Quote:
|
Re: Helmet Hit Sound
Quote:
|
Re: Helmet Hit Sound
ive missed that.every one understands why we cannot post slowhacking, offensive plugins etc.but I cant understant why we cant post a plugin that does that
|
Re: Helmet Hit Sound
It's not really a response to an event, + this is a good idea (i haven't listened the sound yet but if it's a helmet sound this is cool).
You don't need to check if the victim is valid, the fact that you register the ham forward with classname "player" is suffisent. Also, this is not a hudge optimisation, but you can save a var by doing : get_user_attacker(victim, hitzone, hitzone) Or you can even try : get_user_attacker(victim, _, hitzone) I don't know how the compiler will react as i've never seen native such as : native get_user_attacker(index,...); |
Re: Helmet Hit Sound
Quote:
Anyway this is a response to an event. The event is called "being hit in the head when with helmet". |
Re: Helmet Hit Sound
I would consider that a music or a funny sound is a sound in response to an event.
You plugin is more as a nice feature added to the game. But call that as you want :mrgreen: |
Re: Helmet Hit Sound
Quote:
PS: Connor, to do this: get_user_attacker(victim, hitzone, hitzone), you must be sure that it is assigned the value to the last parameter after being assigned to the second parameter but, anyway, the code is uglier. |
Re: Helmet Hit Sound
Quote:
|
Re: Helmet Hit Sound
Are you planning on adding more features to this plugin? If not, then I will unapprove it per the rules
|
All times are GMT -4. The time now is 16:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.