headshot sound when doing headshot
hello, im trying to make a own "Knife fight" plugin and now i need some
help with headshot sound when you kill an enemy with headshot a hud msg should be shown and a headshot sound should play. but i don't really know how to do THANKS |
Re: headshot sound when doing headshot
Learn pawn, see the existing tutorials, wiki, others plugin source, etc. There are many resources. Before wanting to do a plugin, learn the basics.
|
Re: headshot sound when doing headshot
Include:
PHP Code:
PHP Code:
PHP Code:
|
Re: headshot sound when doing headshot
thanks, but im gonna do what arkshine told me to do, thanks anyway :)
|
Re: headshot sound when doing headshot
Why you don't hook Ham_Killed Gadzislaw007 ?
|
Re: headshot sound when doing headshot
LoL. I'm new so I don't know every command - forgot about something really simple, hamtrace was my first idea. But yeah, my bad :).
|
Re: headshot sound when doing headshot
You can hook Ham_Killed or event DeathMsg
PHP Code:
|
Re: headshot sound when doing headshot
Guys he wants headshot, just register then normal death even and do read_data(3)
|
Re: headshot sound when doing headshot
Fixed, thank you, I forgot :mrgreen:
|
Re: headshot sound when doing headshot
Search the forums prior to requesting code.
Untested. PHP Code:
|
| All times are GMT -4. The time now is 00:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.