stock GetWeaponNameEx(weaponid, weapon[], len = sizeof(weapon)) { switch(weaponid) { case 18: strcat(weapon, "Molotov Cocktail", len); case 44: strcat(weapon, "Night Vision Goggles", len); case 45: strcat(weapon, "Thermal Goggles", len); default: GetWeaponName(weaponid, weapon, len); } return weapon }
Hi,
Код:
stock GetWeaponNameEx(weaponid, weapon[], len = sizeof(weapon)) { switch(weaponid) { case 18: strcat(weapon, "Molotov Cocktail", len); case 44: strcat(weapon, "Night Vision Goggles", len); case 45: strcat(weapon, "Thermal Goggles", len); default: GetWeaponName(weaponid, weapon, len); } return weapon } |
stock GetWeaponNameEx(weaponid, weapon[], len = sizeof(weapon))
{
switch(weaponid)
{
case 18: weapon = "Molotov Cocktail";
case 44: weapon = "Night Vision Goggles";
case 45: weapon = "Thermal Goggles";
default: GetWeaponName(weaponid, weapon, len);
}
return weapon;
}