Garry's Mod

Garry's Mod

166 avaliações
TAB menu without team name
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Realism
Tamanho:
Publicado em:
Atualizado em:
5.242 KB
15 fev. 2016 às 16:26
1 set. 2018 às 12:49
4 notas de alterações ( ver )

Subscreve para transferir
TAB menu without team name

Descrição
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 comentários
Diablos  [autor] 26 dez. 2022 às 15:37 
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 dez. 2022 às 5:06 
Comment on lactive ? avec la commande
Diablos  [autor] 12 dez. 2021 às 8:45 
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 dez. 2021 às 2:54 
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  [autor] 24 out. 2021 às 9:50 
Pas de problème ! La décompilation est évidemment autorisée. Belle journée à vous! :golde:
Oublions 22 out. 2021 às 22:45 
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.
Oublions 22 out. 2021 às 22:43 
Salut Diablos, pour les métiers Undercover comment fait-on pour les mettres en couleur verte, puisque vos couleurs bypass mes couleurs ;(
76561199086303905 6 mai. 2021 às 6:40 
Normal que le tab n'affiche plus les couleurs des jobs diablos ?
Helod 21 abr. 2021 às 8:34 
Hi, do you need to install special fonts for the addon to work?
Baptiste Damar CS.PRO 24 jan. 2021 às 8:36 
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.