Weapon damage

Forumas skirtas spręsti problemas iškilusias su CS 1.6 serveriais.
Post Reply
KIRIL
Jau po truputį tampa savu
Posts: 136
Joined: 2013 Oct 06 12:18
Skype: kig.as
Contact:

Weapon damage

Post by KIRIL »

Sveiki,
gal kas žinote kaip pakeisti HE granatos damage (žalą) ?
drabuziai moterims - rūbai moterims internetu

User avatar
aaarnas
Vyr. diskusijų administratorius
Posts: 3891
Joined: 2010 Aug 31 13:21
Skype: fiarno
Contact:

Re: Weapon damage

Post by aaarnas »

Code: Select all

/* Plugin generated by AMXX-Studio */ #include <amxmodx>#include <hamsandwich> #define PLUGIN "New Plug-In"#define VERSION "1.0"#define AUTHOR "aaarnas" #define DMG_HEGRENADE   (1<<24) public plugin_init() {    register_plugin(PLUGIN, VERSION, AUTHOR)        RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")}public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type) {    if (damage_type & DMG_HEGRENADE) {        SetHamParamFloat(4, 100)        return HAM_SUPERCEDE;    }}
Palikau CS pasaulį ;/ . Nebepasiekiamas.

KIRIL
Jau po truputį tampa savu
Posts: 136
Joined: 2013 Oct 06 12:18
Skype: kig.as
Contact:

Re: Weapon damage

Post by KIRIL »

Ačiū, +karma
drabuziai moterims - rūbai moterims internetu

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 2 guests