Sign In

Sign In

    1. Created 15 September 2025

    CSHOT

    Siec tworzona z pasja, prężnie rozwijajacą się. Posiadamy serwery CS 1.6. Każdy znajdzie u nas coś dla siebie. Profesjonalne podejście administracji jak i adminów tworzy wspaniałą atmosferę na sieci. Jeśli masz

    1. Created 15 September 2025

    CSHOT

    Siec tworzona z pasja, prężnie rozwijajacą się. Posiadamy serwery CS GO. Każdy znajdzie u nas coś dla siebie. Profesjonalne podejście administracji jak i adminów tworzy wspaniałą atmosferę na sieci. Jeśli masz c

Partners

Awatar autora

Brak tytułu

Created Today  in PLUGINY  by Poster
/******************************************************************************************/

HELP For Configuration Of Headshot Plugin ...

/******************************************************************************************/

New cvars

/******************************************************************************************/

amx_hs_event "flags"

flags
"a" - text FX
"b" - sound FX
"c" - display number of headshots ( for killer only , and current map )
"d" - display percentage of frags by headshot ( for killer only , and current map )
"e" - display headshot ranking ( for killer only , and current map )
"f" - enables steam MOTD for result of saying /hsAll

default "abf"

/******************************************************************************************/

New commands

/******************************************************************************************/

amx_hs_set_lang <language>

modify the language of plugin ( without hud, chat texts ... )

use : amx_hs_set_lang "fr"

possibilities : eng (English), fr (French), esp (Spanish), port (Portugues), ger (German)

tip : the texts specified for hud and chat are not modified ( You will have to do it yourself .. )

access to ADMIN_CVAR needed ...


amx_hs_set_wav <users> <wavPathFile>

adds or modify the wav for ONE specified type of user
Do not put the extension of the file ( no .wav at end ... )

use : amx_hs_set_wav "A" "misc/headshot"

users possibilities :
"A" : for ALL
"V" : for victim
"K" : for killer

access to ADMIN_CVAR needed ...


amx_hs_set_hud <users> <text>

adds or modify the hud text for ONE specified type of user

use : amx_hs_set_hud "V" "Headshot by %killer%"

users possibilities :
"A" : for ALL
"V" : for victim
"K" : for killer

%killer%, %victim%, %distance%, %distFeet% and %weapon% will be replaced by the good values

access to ADMIN_CVAR needed ...


amx_hs_set_chat <users> <text>

adds or modify the chat text for ONE specified type of user

use : amx_hs_set_chat "A" "%killer% made headshot on %victim% at %distance%"

users possibilities :
"A" : for ALL
"V" : for victim
"K" : for killer

%killer%, %victim%, %distance%, %distFeet% and %weapon% will be replaced by the good values

access to ADMIN_CVAR needed ...


amx_hs_save_config <config file path>

Stores the configuration at specified place
only under your mod directory, do not use ../
and specify a name with .cfg as extension

use : amx_hs_save_config "config/hsd.cfg"

access to ADMIN_RCON needed ...


amx_hs_set_fun <ON/OFF>

enables or disables FUN Mode ...

use : amx_hs_set_fun "ON" or amx_hs_set_fun "OFF"

access to ADMIN_CVAR needed

/******************************************************************************************/

New said commands

/******************************************************************************************/

say /hd
Displays just a small message presenting plugin


say /hs
Displays your rank at headshots ( and number of headshots )


say /hsAll
Displays rankings at Headshot for the current map


/******************************************************************************************/

HOW TO

/******************************************************************************************/


How to configure this plugin :

In a file that you execute at every round ( like server.cfg or other )
put these lines : ( Example is my personal config )


amx_hs_event "abf"

amx_hs_set_lang "fr"

amx_hs_set_chat "A" "* %killer% a mis un headshot a %victim% ( Arme : %weapon% , Distance : %distance% m )"
amx_hs_set_chat "K" ""
amx_hs_set_chat "V" ""

amx_hs_set_hud "A" ""
amx_hs_set_hud "K" ""
amx_hs_set_hud "V" "Headshot par %killer%\nArme : %weapon%"

amx_hs_set_wav "A" "misc/headshot"
amx_hs_set_wav "K" "barney/ba_gotone"
amx_hs_set_wav "V" "misc/ow"


You can specify the values as you like
or do these commands when playing.

Don't forget to enable/disable FUN mode with

amx_hs_set_fun "ON" or "OFF"


So easy. Enjoy

/******************************************************************************************/

lool ... DanRaZor




Załączniki:
commands_cvars.txt
headshot_deluxe.sma