Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 596648f

Browse files
committed
Hide coach agent model
1 parent 9fe3edc commit 596648f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commands.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ CON_COMMAND_CHAT(coach, "Request slot coach")
599599

600600
coaches.AddToTail(player);
601601

602+
player->GetPawn()->m_clrRender(Color(255, 255, 255, 0));
603+
602604
int target_team_number = CS_TEAM_SPECTATOR;
603605

604606
if(args.ArgC() > 1){
@@ -649,6 +651,8 @@ CON_COMMAND_CHAT(uncoach, "Undo slot coach")
649651

650652
if (!pTarget)
651653
return;
654+
655+
pTarget->GetPawn()->m_clrRender(Color(255, 255, 255, 255));
652656

653657
//Check it is not existing already
654658
FOR_EACH_VEC(coaches,i){

0 commit comments

Comments
 (0)