Garry's Mod

Garry's Mod

164 ratings
TAB menu without team name
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Realism
File Size
Posted
Updated
5.242 KB
15 Feb, 2016 @ 4:26pm
1 Sep, 2018 @ 12:49pm
4 Change Notes ( view )

Subscribe to download
TAB menu without team name

Description
DO NOT CONTACT THE AUTHOR SAYING THE SCRIPT DOESN'T WORK, IT WORKS BUT YOU ARE A SUPERADMIN SO YOU SEE THE JOBS

This addon removes the name of team in the TAB Menu and add colors functionnalities which are explicated in the picture above.
This addon is for DarkRP only.

Q : This addon doesn't work...
A : You must have DarkRP and the default TAB menu. If this doesn't work, suscribe to this addon and extract the GMA file to have the tabmenu folder. Put the folder into darkrp_modules if you have the darkrpmodification or into modules if you use the DarkRP gamemode only. Else, the problem is your, the addon works, I promise you.

Q : How the color works ?
A : The green color is the basic color ; normally, for every job you have it.

The blue color works for every team which is a CP team. You must inevitably put your jobs in the GAMEMODE.CivilProtection. This line is situated at the end of the job file (jobs.lua for darkrpmodification, jobrelated.lua for darkrp).

The red color works for the teams that have the variable mayor = true on the jobs.

The grey color is for the admin team : When you want to manage your server, maybe you want to go in an "Admin Team", and players can see there is an admin. The grey color works for the TEAM_ADMIN, so simply create a team with the "TEAM_ADMIN" variable name and this will work.

Nobody sees job names in the TAB menu when you download this addon EXCEPT those who are in the superadmin usergroup.
If you want to add a usergroup (like superadmin/admin/moderator) which will be able to see the team names, you have to use the ConVar called tabmenu_admins.
Open your file called server.cfg in garrysmod/cfg and add a line at the end which looks like:
tabmenu_admins "superadmin"
If you want to add multiple usergroups, separate them only with a ; so it will look like
tabmenu_admins "superadmin;admin;moderator"
Don't forget to restart your server else there will be a huge conflict since the convar informations are sent when the player spawns for the first time and everyone should receive the same informations so nothing should change if you don't restart after any modification.


I will not add any features for a private guy or something like this : the addon works and you must take it how it is.

Diablos
250 Comments
Diablos  [author] 26 Dec, 2022 @ 3:37pm 
Tout est écrit dans la description. Il faut ajouter cet addon à votre collection du serveur, et l'addon sera fonctionnel. Les noms des équipes restent écrits pour les administrateurs.
Totowin- 23 Dec, 2022 @ 5:06am 
Comment on lactive ? avec la commande
Diablos  [author] 12 Dec, 2021 @ 8:45am 
Ce n'est pas possible malheureusement, c'est un code adapté au menu TAB du DarkRP de base. Pour un autre scoreboard, il faudrait demander à l'auteur du script de le faire de lui-même
Hich 11 Dec, 2021 @ 2:54am 
Salut Diablos j'aime beaucoup ton addon mais ce qui me dérange je voudrais l'adapter au rogue scoreboard tu a une idée merci
Diablos  [author] 24 Oct, 2021 @ 9:50am 
Pas de problème ! La décompilation est évidemment autorisée. Belle journée à vous! :golde:
Poka 22 Oct, 2021 @ 10:45pm 
Nevermind, en décompilant l'addon j'ai compris, désolé de l'avoir décompilé mais c'était un cas de force majeur !
J'espère que cela ne te gènera pas.
Poka 22 Oct, 2021 @ 10:43pm 
Salut Diablos, pour les métiers Undercover comment fait-on pour les mettres en couleur verte, puisque vos couleurs bypass mes couleurs ;(
76561199086303905 6 May, 2021 @ 6:40am 
Normal que le tab n'affiche plus les couleurs des jobs diablos ?
Helod 21 Apr, 2021 @ 8:34am 
Hi, do you need to install special fonts for the addon to work?
Baptiste Damar CS.PRO 24 Jan, 2021 @ 8:36am 
Salut comme l'a YearBall ça change les couleurs dans le tab possbile de régler ça? Et la commande "tabmenu_admins" n'est pas reconnue merci.