12.07.2015, 11:26
Can anyone gives me full stock with all weapon names?
this found on wikki, can you add other weapons too for me? I am not at my home so I don't have pawno with me that's why I am asking you.
Thanks.
EDIT: and yes, how can I use this GetWeaponNameEx to show weapon name in SendClientMessage?
PHP код:
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
}
Thanks.
EDIT: and yes, how can I use this GetWeaponNameEx to show weapon name in SendClientMessage?