|
Post by The Realist on Jul 25, 2014 4:02:54 GMT -6
RLG KNOWLEDGEBASE 010
By default Garry's Mod sandbox base gamemode shows TargetIDs for EVERY player in the game. Of course this causes a red name to pop up for players who are on the Props team. The following code is a hotfix I wrote for the issue.
in root/garrysmod/gamemodes/base/gamemode/cl_targetid.lua replace line 17: if (trace.Entity:IsPlayer()) then
with: if (trace.Entity:IsPlayer() and trace.Entity:Team() == TEAM_HUNTERS) then
and nobody should see red names when their crosshairs are targeting props anymore!
|
|