Raised This Month: $12 Target: $400
 3% 

To help new plug-in


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-13-2020 , 16:43   To help new plug-in
Reply With Quote #1

Only to be head, dare thanks in advance
wy19850 is offline
Send a message via Skype™ to wy19850
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-13-2020 , 17:31   Re: To help new plug-in
Reply With Quote #2

What?! Google Translate doesn't work that well I see.

You want only headshots in your server?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-14-2020 , 06:32   Re: To help new plug-in
Reply With Quote #3

The plug that will hear the sound if you are shot in the head, would anyone like to do it
wy19850 is offline
Send a message via Skype™ to wy19850
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-14-2020 , 06:33   Re: To help new plug-in
Reply With Quote #4

If you hit him in the head and die, you hear the sound
wy19850 is offline
Send a message via Skype™ to wy19850
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-14-2020 , 06:43   Re: To help new plug-in
Reply With Quote #5

Quote:
Originally Posted by OciXCrom View Post
What?! Google Translate doesn't work that well I see.

You want only headshots in your server?
Hit the enemy in the head dead, hear the sound
wy19850 is offline
Send a message via Skype™ to wy19850
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-14-2020 , 06:45   Re: To help new plug-in
Reply With Quote #6

Expect someone nice to finish this plugin
wy19850 is offline
Send a message via Skype™ to wy19850
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-17-2020 , 07:50   Re: To help new plug-in
Reply With Quote #7

Hit the head dead, make a sound, hope someone help, thank you
wy19850 is offline
Send a message via Skype™ to wy19850
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 02-17-2020 , 09:12   Re: To help new plug-in
Reply With Quote #8

Quote:
Originally Posted by wy19850 View Post
Hit the head dead, make a sound, hope someone help, thank you
Try
PHP Code:
#include <amxmodx>

#define PLUGIN  "Headshot Sound"
#define VERSION "1.0"
#define AUTHOR  "Author"

new const soundfile[]="misc/headshot.mp3" //soundfile name here

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
plugin_precache()    precache_sound(soundfile)

public 
client_death(iKilleriVictimiWpnIndexiHitPlace)
{
    if(
iHitPlace == HIT_HEAD)
    {
        
client_cmd(iKiller"mp3 play %s"soundfile)
    }

__________________
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-17-2020 , 11:40   Re: To help new plug-in
Reply With Quote #9

Quote:
Originally Posted by Sanjay Singh View Post
Try
PHP Code:
#include <amxmodx>

#define PLUGIN  "Headshot Sound"
#define VERSION "1.0"
#define AUTHOR  "Author"

new const soundfile[]="misc/headshot.mp3" //soundfile name here

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}

public 
plugin_precache()    precache_sound(soundfile)

public 
client_death(iKilleriVictimiWpnIndexiHitPlace)
{
    if(
iHitPlace == HIT_HEAD)
    {
        
client_cmd(iKiller"mp3 play %s"soundfile)
    }

CS1.5 and CS1.6, WAV and MP3 players try doesn't work, please continue to improve, thank you
wy19850 is offline
Send a message via Skype™ to wy19850
wy19850
Member
Join Date: Feb 2020
Location: suzhou
Old 02-17-2020 , 11:46   Re: To help new plug-in
Reply With Quote #10

cstrike/addons/amxmodx/plugins/head_wav.amxx

cstrike/addons/amxmodx/configs/plugins.ini/head_wav.amxx

cstrike/sound/misc/head
wy19850 is offline
Send a message via Skype™ to wy19850
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode