Пређи на главни садржај

Vampire

When you damage an enemy you heal yourself for part of the damage — with separate values for headshots and VIPs.
Version: v1.0

⬇ Download Vampire

Installation​

Step 1) Open your console and select your Counter-Strike 1.6 server.

Step 2) Go to TOOLS → Plugins (the in-panel installer).

Step 3) Find Vampire in the list and click INSTALL — the panel downloads it and places every file for you automatically.

Step 4) Set the CVARs / configuration shown below (if any), then RESTART the server.

Manual installation (FTP / File Manager)​

Step 1) Download the archive above and unzip it on your computer.

Step 2) Open your console → File Manager (or connect over FTP) and upload the plugin files:

  • vampire.amxx → cstrike/addons/amxmodx/plugins/

Step 3) Open cstrike/addons/amxmodx/configs/plugins.ini and add the plugin on a new line:

vampire.amxx

Step 4) Restart the server. Check that it loaded with amxx plugins in the server console.

tip

Need the basics first? See How to upload plugins and How to compile a plugin.

CVARs​

CVARDefaultDescription
amx_vampire_hp15HP gained per normal hit.
amx_vampire_hp_hs30HP gained per headshot hit.
amx_vampire_hp_vip20HP gained per normal hit for VIP players.
amx_vampire_hp_hs_vip40HP gained per headshot for VIP players.
amx_vampire_max_hp200Maximum HP a player can reach through vampirism.

Where to set them: add the CVARs to cstrike/addons/amxmodx/configs/amxx.cfg (one per line, e.g. amx_vampire_hp 15). Changes take effect after a map change or a server restart.

QGS Hosting