Originally Posted by Rxelik
i need specific weapons
public Action:CS_OnGetWeaponPrice(int client, const char weapon, int& price)
if(StrEqual(weapon, "weapon_g3sg1") || StrEqual(weapon, "weapon_scar20")) // The auto noobs.
price = 2147483647; // The biggest number the game can support.
If you reach infinity, you'll have blocked all weapons, so you have to iterate all numbers to figure out what's what. There's also a GetEntProp for that to debug but whatever you can just iterate through all numbers ( there are less than 50 total weapons. )