Cstrike: Fix spaces/tabulations/typo
This commit is contained in:
parent
b6910667a8
commit
eb0222455a
|
@ -376,17 +376,17 @@
|
||||||
|
|
||||||
"BuyEquip"
|
"BuyEquip"
|
||||||
{
|
{
|
||||||
"hegren"
|
"hegren"
|
||||||
{
|
{
|
||||||
"itemid" "4" // CSW/I_HEGRENADE
|
"itemid" "4" // CSW/I_HEGRENADE
|
||||||
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
||||||
}
|
}
|
||||||
"sgren"
|
"sgren"
|
||||||
{
|
{
|
||||||
"itemid" "9" // CSW/I_SMOKEGRENADE
|
"itemid" "9" // CSW/I_SMOKEGRENADE
|
||||||
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
||||||
}
|
}
|
||||||
"flash"
|
"flash"
|
||||||
{
|
{
|
||||||
"itemid" "25" // CSW/I_FLASHBANG
|
"itemid" "25" // CSW/I_FLASHBANG
|
||||||
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
"classid" "3" // CS_WEAPONCLASS_GRENADE
|
||||||
|
@ -436,7 +436,7 @@
|
||||||
"buyammo2"
|
"buyammo2"
|
||||||
{
|
{
|
||||||
"itemid" "37" // CSI_SECAMMO
|
"itemid" "37" // CSI_SECAMMO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,7 @@ UTIL_FindEntityByStringFunc CS_UTIL_FindEntityByString;
|
||||||
GetWeaponInfoFunc GetWeaponInfo;
|
GetWeaponInfoFunc GetWeaponInfo;
|
||||||
|
|
||||||
int CurrentItemId;
|
int CurrentItemId;
|
||||||
|
bool TriggeredFromCommand;
|
||||||
|
|
||||||
StringHashMap<int> ItemAliasList;
|
StringHashMap<int> ItemAliasList;
|
||||||
TypeDescription TeamDesc;
|
TypeDescription TeamDesc;
|
||||||
|
@ -127,7 +128,7 @@ DETOUR_DECL_STATIC1(C_ClientCommand, void, edict_t*, pEdict) // void ClientComma
|
||||||
/* Menu_BuyMachineGun */ { 0, CSI_M249, 0, 0, 0, 0, 0, 0, 0 },
|
/* Menu_BuyMachineGun */ { 0, CSI_M249, 0, 0, 0, 0, 0, 0, 0 },
|
||||||
/* Menu_BuyShotgun */ { 0, CSI_M3, CSI_XM1014, 0, 0, 0, 0, 0, 0 },
|
/* Menu_BuyShotgun */ { 0, CSI_M3, CSI_XM1014, 0, 0, 0, 0, 0, 0 },
|
||||||
/* Menu_BuySubMachineGun */ { 0, CSI_TMP, CSI_MP5NAVY, CSI_UMP45, CSI_P90, 0, 0, 0, 0 },
|
/* Menu_BuySubMachineGun */ { 0, CSI_TMP, CSI_MP5NAVY, CSI_UMP45, CSI_P90, 0, 0, 0, 0 },
|
||||||
/* Menu_BuyItem */ { 0, CSI_VEST, CSI_VESTHELM, CSI_FLASHBANG, CSI_HEGRENADE, CSI_SMOKEGRENADE, CSI_NVGS, CSI_DEFUSER, CSI_SHIELDGUN }
|
/* Menu_BuyItem */ { 0, CSI_VEST, CSI_VESTHELM, CSI_FLASHBANG, CSI_HEGRENADE, CSI_SMOKEGRENADE, CSI_NVGS, CSI_DEFUSER, CSI_SHIELD }
|
||||||
};
|
};
|
||||||
|
|
||||||
int menuId = get_pdata<int>(pEdict, MenuDesc.fieldOffset);
|
int menuId = get_pdata<int>(pEdict, MenuDesc.fieldOffset);
|
||||||
|
|
|
@ -258,7 +258,7 @@ static cell AMX_NATIVE_CALL cs_set_weapon_silenced(AMX *amx, cell *params)
|
||||||
GET_OFFSET("CBasePlayerWeapon", m_flNextPrimaryAttack);
|
GET_OFFSET("CBasePlayerWeapon", m_flNextPrimaryAttack);
|
||||||
|
|
||||||
char animExt[12];
|
char animExt[12];
|
||||||
float time;
|
float time = 0.0f;
|
||||||
|
|
||||||
switch (weaponType)
|
switch (weaponType)
|
||||||
{
|
{
|
||||||
|
@ -1769,7 +1769,7 @@ static cell AMX_NATIVE_CALL cs_find_ent_by_owner(AMX* amx, cell* params)
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
{
|
{
|
||||||
return index;
|
return index;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user