Badger Docs
Search…
DiscordTagIDs

Version 1.0

Yes yes I know... I only make discord-based scripts. Well, you're damn welcome!
This is a script that added prefixes to ID tags above players :) by using fully discord roles thanks to IllusiveTea!
I also wanna give thanks to MrDaGree for originally creating the script this was adapted onto! You can find that here, https://forum.cfx.re/t/release-changed-player-name-tags-distance-names/19204

Badger's Discord Community

Requirement

GitHub - JaredScar/Badger_Discord_API: A FiveM API Script [created by Badger]
GitHub

Installation Tutorial

Commands

/tag-toggle - Turns off the prefix from being shown for the player (if they have a prefix in their tag)
/tags-toggle - Turns off all tags from being shown above other players for ONLY yourself (good for streamers and/or pictures)
/headtag - Check what Head-Tags you have access to and change them with /headtag [id]
Running /headtag:
On /tag-toggle not being active:
On /tag-toggle being active:
On /tags-toggle for tags not being active:
On /tags-toggle for tags being active:
How does the tags look on players? Let's have a look :)
The 1s in this part of the server.lua file must be replaced with the IDs of your discord roles that are equal to the prefix you have associated with it:
1
roleList = {
2
{0, "~w~"}, -- Regular Civilian / Non-Staff
3
{1, "~r~STAFF ~w~"}, --[[ T-Mod ]]--
4
{1, "~r~STAFF ~w~"}, --[[ Moderator ]]--
5
{1, "~r~STAFF ~w~"}, --[[ Admin ]]--
6
{1, "~p~MANAGEMENT ~w~"}, --[[ Management ]]--
7
{1, "~o~OWNER ~w~"}, --[[ Owner ]]--
8
}
Copied!

Download

Last modified 10mo ago