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

Commit

Permalink
Hide coach agent model
Browse files Browse the repository at this point in the history
  • Loading branch information
marqdevx committed Mar 16, 2024
1 parent 9fe3edc commit 596648f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ CON_COMMAND_CHAT(coach, "Request slot coach")

coaches.AddToTail(player);

player->GetPawn()->m_clrRender(Color(255, 255, 255, 0));

int target_team_number = CS_TEAM_SPECTATOR;

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

if (!pTarget)
return;

pTarget->GetPawn()->m_clrRender(Color(255, 255, 255, 255));

//Check it is not existing already
FOR_EACH_VEC(coaches,i){
Expand Down

0 comments on commit 596648f

Please sign in to comment.