From 59554dab3a649d45b1c784c48f422eae57ef1089 Mon Sep 17 00:00:00 2001 From: marqdevx Date: Sat, 2 Mar 2024 00:07:04 +0100 Subject: [PATCH] coach kill after spawn --- src/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.cpp b/src/events.cpp index d410258d..f4078a4c 100644 --- a/src/events.cpp +++ b/src/events.cpp @@ -140,7 +140,7 @@ GAME_EVENT_F(round_prestart) { CCSPlayerController *pController = hController.Get(); if(!pController) return -1.0f; //avoid crash if coach is not connected - //pController->GetPawn()->CommitSuicide(false, true); + pController->GetPawn()->CommitSuicide(false, true); pController->m_pInGameMoneyServices->m_iAccount = 0; pController->m_pActionTrackingServices->m_matchStats().m_iDeaths = 0; return -1.0f;