From 747639af4d60d20167156a20d769026e1afb4d8a Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Thu, 23 Apr 2020 05:20:35 +0200 Subject: [PATCH] Counter-Strike: Fixed the buyammo1/primammo and buyammo2/secammo commands. --- src/client/cstrike/cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/cstrike/cmds.c b/src/client/cstrike/cmds.c index 23b687d4..2607cd6a 100644 --- a/src/client/cstrike/cmds.c +++ b/src/client/cstrike/cmds.c @@ -118,11 +118,11 @@ Game_ConsoleCommand(void) break; case "buyammo1": case "primammo": - sendevent("BuyAmmo", "f", 0); + sendevent("AmmoBuyPrimary", ""); break; case "buyammo2": case "secammo": - sendevent("BuyAmmo", "f", 1); + sendevent("AmmoBuySecondary", ""); break; case "vest": sendevent("BuyEquipment", "f", 0);