CS_OnGetWeaponPrice Forward

Called when game retrieves a weapon's price for a player. Return Plugin_Continue to use default value or return a higher action to use a newly-set price.

Action CS_OnGetWeaponPrice(int client, const char[] weapon, int& price)

Parameters

int client

Client index

const char[] weapon

Weapon classname

int& price

Buffer param for the price of the weapon

Return Value

No description.

Notes

This can be called multiple times per weapon purchase

Not all "weapons" call GetWeaponPrice. Example: c4, knife, vest, vest helmet, night vision.