Gets a weapon's price
int CS_GetWeaponPrice(int client, CSWeaponID id, bool defaultprice)
Client to check weapon price for.
Weapon id for the weapon to check
Set to true to get defaultprice.
Returns price of the weapon (even if modified)
Invalid client, failing to get weapon info, or failing to get price offset.
c4, knife and shield will always return 0. vest, vest helmet and night vision will always return default price.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.