Garry's Mod
166 valoraciones
TAB menu without team name
   
Premiar
Favoritos
Favorito
Quitar
Tipo de contenido: Extensión
Tipo de extensión: Contenido del servidor
Etiqueta de extensión: Diversión, Realismo
Tamaño
Publicado el
Actualizado el
5.242 KB
15 FEB 2016 a las 16:26
1 SEP 2018 a las 12:49
4 notas sobre cambios ( ver )

Suscríbete para descargar
TAB menu without team name

Descripción
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 comentarios
Diablos  [autor] 26 DIC 2022 a las 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 DIC 2022 a las 5:06 
Comment on lactive ? avec la commande
Diablos  [autor] 12 DIC 2021 a las 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
Hichem 11 DIC 2021 a las 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 OCT 2021 a las 9:50 
Pas de problème ! La décompilation est évidemment autorisée. Belle journée à vous! :golde:
αℓzнє ツ 22 OCT 2021 a las 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.
αℓzнє ツ 22 OCT 2021 a las 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 MAY 2021 a las 6:40 
Normal que le tab n'affiche plus les couleurs des jobs diablos ?
Helod 21 ABR 2021 a las 8:34 
Hi, do you need to install special fonts for the addon to work?
Baptiste Damar 24 ENE 2021 a las 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.