Quote:
Originally Posted by Bacardi
In csgo, you not get weapon name from entity classname
|
I don't think that you are right because it prints to me 'Stop reloading...weapon - weapon_usp_silencer'
PHP Code:
if(WeaponMaxAmmo[WeaponArrayIndex] < CurrentAmmo)
{
PrintToChat(client, "Stop reloading...weapon - %s", classname);
return Plugin_Handled;
}
I used to get weapon names through the classname always, and it worked fine, I'm sure.