for(tm = world; (tm = find(tm, classname, "entcs_receiver")); )\r
{\r
col = GetPlayerColor(tm.sv_entnum);\r
- //if(color == COLOR_SPECTATOR || color == col)\r
+ if(cvar("cl_radar_players") > 1 || (cvar("cl_radar_players") > 0 && teamplay && GetPlayerColor(player_localentnum - 1) == col))\r
if not(tm.eaten) // don't show prey on the radar\r
draw_radar_player(tm.origin, tm.angles, GetTeamRGB(col));\r
}\r
ATTRIB(VoretHudDialog, title, string, "Radar, HUD & Waypoints")\r
ATTRIB(VoretHudDialog, color, vector, SKINCOLOR_DIALOG_HUD)\r
ATTRIB(VoretHudDialog, intendedWidth, float, 1)\r
- ATTRIB(VoretHudDialog, rows, float, 19)\r
+ ATTRIB(VoretHudDialog, rows, float, 20)\r
ATTRIB(VoretHudDialog, columns, float, 8)\r
ENDCLASS(VoretHudDialog)\r
#endif\r
me.TD(me, 1, 1.2, e = makeVoretRadioButton(1, "cl_radar", "0", "Disabled"));\r
me.TD(me, 1, 1.2, e = makeVoretRadioButton(1, "cl_radar", "1", "Team games"));\r
me.TD(me, 1, 1.2, e = makeVoretRadioButton(1, "cl_radar", "2", "Always"));\r
+ me.TR(me);\r
+ me.TDempty(me, 0.2);\r
+ me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Show players:"));\r
+ setDependent(e, "cl_radar", 1, 2);\r
+ me.TD(me, 1, 3, e = makeVoretTextSlider("cl_radar_players"));\r
+ e.addValue(e, "Disabled", "0");\r
+ e.addValue(e, "Teammates", "1");\r
+ e.addValue(e, "All players", "2");\r
+ e.configureVoretTextSliderValues(e);\r
+ setDependent(e, "cl_radar", 1, 2);\r
me.TR(me);\r
me.TDempty(me, 0.2);\r
me.TD(me, 1, 0.8, e = makeVoretTextLabel(0, "Foreground:"));\r