(CSO) (ZP) Extra Item - Stinger
A new harpoon called Stinger from the game Counter-Strike Online. This weapon has a very unusual physics, namely, this weapon shoots arrows that repel the enemy well, after which they can explode and cause some more damage. This weapon has as many as 3 arrows in the store, which can be released without reloading. Also, the arrows explode themselves after 2 seconds, 1.2 seconds after hitting the victim / wall or instantly when pressing the PCM (Right mouse button). Also, when an explosion occurs, the victim or you are thrown up a little bit. With the help of this weapon, you can climb into hard-to-reach points on maps.
Video :
Settings :
/* ~ ( Extra Item ) ~ */
new const WEAPON_ITEM_NAME() = "Stinger";
const WEAPON_ITEM_COST = 0;
/* ~ ( Weapon Settings ) ~ */
new const WEAPON_REFERENCE() = "weapon_m249";
new const WEAPON_WEAPONLIST() = "x/weapon_speargunm";
new const WEAPON_NATIVE() = "zp_give_user_speargunm";
new const WEAPON_MODEL_VIEW() = "models/x/v_speargunm.mdl";
new const WEAPON_MODEL_PLAYER() = "models/x/p_speargunm.mdl";
new const WEAPON_MODEL_WORLD() = "models/x/w_speargunm.mdl";
new const WEAPON_SOUND_FIRE() = "weapons/speargunm-1.wav";
new const WEAPON_SOUND_EMPTY() = "weapons/speargunm_empty.wav";
const WEAPON_SPECIAL_CODE = 2019;
const WEAPON_BODY = 0;
const WEAPON_MAX_CLIP = 3;
const WEAPON_DEFAULT_AMMO = 30;
const Float: WEAPON_RATE = 0.88;
new const iWeaponList() = { 3, WEAPON_DEFAULT_AMMO,-1, -1, 0, 4, 20, 0 };
/* ~ ( Entity ) ~ */
new const ENTITY_REFERENCE() = "info_target";
new const ENTITY_CLASSNAME() = "ent_spearm";
new const ENTITY_MODEL() = "models/x/spearm.mdl";
new const ENTITY_EXPLODE_MODEL() = "models/x/spearm2.mdl";
new const ENTITY_EXPLODE_SPRITE() = "sprites/fexplo.spr";
new const ENTITY_TRAIL_SPRITE() = "sprites/laserbeam.spr";
const Float: ENTITY_SPEED = 2000.0; // Max value 2000
const Float: ENTITY_KNOCKBACK = 1500.0;
const Float: ENTITY_KNOCK_EXP = 225.0;
const Float: ENTITY_DAMAGE = 250.0;
const Float: ENTITY_RADIUS_EXP = 100.0;
#define ENTITY_DAMAGE_EXP random_float(250.0, 400.0)
Link To Download : https://disk.yandex.ru/d/sI45k-In5Q06Tg