Fix CS_OnCSWeaponDrop after latest CSGO update (21/10/21) (#1602)

This commit is contained in:
GAMMACASE
2021-10-22 16:20:54 +01:00
committed by GitHub
parent f7cd28cfd3
commit 11e7bb10f1
3 changed files with 21 additions and 2 deletions
+3 -1
View File
@@ -196,8 +196,10 @@ forward Action CS_OnBuyCommand(int client, const char[] weapon);
*
* @param client Client index
* @param weaponIndex Weapon index
* @param donated Was weapon donated (Bought from a buy menu while ctrl was pressed)
* (Note: This param is for CS:GO only, will be false on other games)
*/
forward Action CS_OnCSWeaponDrop(int client, int weaponIndex);
forward Action CS_OnCSWeaponDrop(int client, int weaponIndex, bool donated);
/**
* Called when game retrieves a weapon's price for a player.