01.02.2018, 16:56
you can use this if u want to define names by yourself.
PHP код:
stock GetWeaponNameEx(weaponid)
{
new wname[64];
if(weaponid == 0) wname = "Fist";
if(weaponid == 31) wname = "M4";
if(weaponid == 30) wname = "AK-47";
/// u can add the weaponids an names by yourself.
return wname;
}