![]() Static Ammo Ammo = cs_get_weapon_ammo(Ent) Public fw_TraceAttack_Player(Victim, Attacker, Float:Damage, Float:Direction, Ptr, DamageBits) If(get_user_weapon(Attacker) != CSW_PLASMA || !Get_BitVar(g_Had_Plasma, Attacker)) Public fw_TraceAttack_World(Victim, Attacker, Float:Damage, Float:Direction, Ptr, DamageBits) Set_pev(weapon, pev_impulse, WEAPON_SECRETCODE)Įngfunc(EngFunc_SetModel, entity, W_MODEL) Static weapon weapon = fm_find_ent_by_owner(-1, weapon_plasma, entity) Pev(entity, pev_classname, Classname, sizeof(Classname)) ![]() If(get_user_weapon(invoker) != CSW_PLASMA || !Get_BitVar(g_Had_Plasma, invoker))Įngfunc(EngFunc_PlaybackEvent, flags | FEV_HOSTONLY, invoker, eventid, delay, origin, angles, fparam1, fparam2, iParam1, iParam2, bParam1, bParam2) Public fw_PlaybackEvent(flags, invoker, eventid, Float:delay, Float:origin, Float:angles, Float:fparam1, Float:fparam2, iParam1, iParam2, bParam1, bParam2) Set_cd(cd_handle, CD_flNextAttack, get_gametime() + 0.001) If(get_user_weapon(id) = CSW_PLASMA & Get_BitVar(g_Had_Plasma, id)) Public fw_UpdateClientData_Post(id, sendweapons, cd_handle) #define Get_BitVar(%1,%2) (%1 & (1 PLASMA_RADIUS)ĮxecuteHamB(Ham_TakeDamage, i, 0, Attacker, float(DAMAGE) / random_float(1.25, 1.5), DMG_ACID) #define PLASMABALL_CLASSNAME "plasmaball" ![]() #define WEAPONANIM_SHOOT random_num(3, 5) #define WEAPON_OLD_WMODEL "models/w_ak47.mdl" ![]() New const MuzzleFlash = "sprites/muzzleflash27.spr" ![]() #define V_MODEL "models/v_plasmagun2.mdl" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |