02.01.2016, 00:36
pawn Код:
GetWeaponNameEx(weaponid, const weapon[], len)
{
if(weaponid == 0)
{
strcat(weapon, "Fists", sizeof weapon);
return 1;
}
else return GetWeaponName(weaponid, weapon, len);
}
#if defined _ALS_GetWeaponName
#undef GetWeaponName
#else
#define _ALS_GetWeaponName
#endif
#define GetWeaponName GetWeaponNameEx