Quote:
Originally Posted by Grey83
eliteroyal, path should contain extension.
|
Hi, please help me to add a check of the WUA. I have a new weapons plugin from FrozDark and there for each skin the name of the weapon is given to weapon_awp_dark of this type. Because of this, when I kill with no zoom, it doesn't count. I tried to add it myself but it doesn't work.
Code:
event.GetString("weapon", weapon, sizeof(weapon));
if(weapon[0] && ((!strcmp(weapon, "awp") || !strcmp(weapon, "awp_unicorn") || !strcmp(weapon, "awp_legion") || !strcmp(weapon, "awp_chocola") || !strcmp(weapon, iEngine == E_CSGO ? "ssg08" : "scout"))
|| (bAllSnipers && (!strcmp(weapon, "g3sg1") || !strcmp(weapon, iEngine == E_CSGO ? "scar20" : "sg550"))))
&& (wpn = GetEntPropEnt(attacker, Prop_Send, "m_hActiveWeapon")) != -1 && !GetEntProp(wpn, Prop_Send, "m_weaponMode"))