Counter-Strike: Fixed the buyammo1/primammo and buyammo2/secammo commands.

This commit is contained in:
Marco Cawthorne 2020-04-23 05:20:35 +02:00
parent d8b832041c
commit 747639af4d

View file

@ -118,11 +118,11 @@ Game_ConsoleCommand(void)
break; break;
case "buyammo1": case "buyammo1":
case "primammo": case "primammo":
sendevent("BuyAmmo", "f", 0); sendevent("AmmoBuyPrimary", "");
break; break;
case "buyammo2": case "buyammo2":
case "secammo": case "secammo":
sendevent("BuyAmmo", "f", 1); sendevent("AmmoBuySecondary", "");
break; break;
case "vest": case "vest":
sendevent("BuyEquipment", "f", 0); sendevent("BuyEquipment", "f", 0);