Badger Docs
Search…
Badger Docs
Welcome to Badger Docs
Badger's Website
Badger's Discord
Join Guilded
Badger's Support Guild
20% off hosting | Use Code: TheWolfBadger-4765
Fivem General Help
Updating Server Binaries
ACE Permissions
Getting Discord Role IDs
Setting up a Discord Webhook
Discord identifier not found
Fivem Discord Scripts
Introduction
BadgerTools
DiscordChatRoles
DiscordAcePerms
DiscordPedPerms
DiscordWeaponPerms
DiscordVehiclesRestrict
DiscordTagIDs
PoliceEMSActivity
BadgerCopChat
DiscordDonatorPerks
Badger-911
Bad-Scoreboard
Bad-DiscordQueue
Badger_Discord_API
DiscordVehicleRestrictions
Fivem Misc. Scripts
Introduction
BadgerAnims
BadgerBankRobbery
VehicleTrustSystem
PedTrustSystem
BadgerVoting
BadgerTracer
Fivem Keybase Anticheat
DiscordReports
Badger-Priorities
Badssentials
BadgerStockMarket
Badger-Anticheat
Badger_Jailing
BadgerFires
Multiverse-World-Manager
Badger Software
Introduction
FivemDiscordPerms
BadgerTrustSystem
BadgerStaffPanel
ResourceEventScrambler
CollectiveBot
Archived Projects
SimpleRoleBot
EssentialBot
Powered By
GitBook
DiscordPedPerms
Version 1.0
Badger's Discord Community
What is it?
Another discord script, yes, you're all welcome!
This one restricts peds to certain discord groups much like my other scripts
Forgive my typing mistakes in the gif please... Thanks
You must set up IllusiveTea's discord_perms script for this to work properly. -->
https://forum.cfx.re/t/discord-roles-for-permissions-im-creative-i-know/233805
How it works
Find the following within your server.lua and replace the 1s in here with discord role IDs:
roleList = {
1, -- Trusted Civ (1)
1, -- Donator (2)
1, -- Personal (3)
}
responds to it's respective number within the other list (which will be located in the client.lua):
restrictedPeds = {
{}, -- Trusted Civ (1)
{}, -- Donator (2)
{
"mickeymouse",
"deadpool",
"kermit",
"blackpanther",
}, -- Personal (3)
}
Therefore blackpanther, deadpool, and kermit would be restricted to be used by the roleList group 'Personal'
It's quite simple :)
Download
DiscordPedPerms
Fivem Discord Scripts - Previous
DiscordAcePerms
Next - Fivem Discord Scripts
DiscordWeaponPerms
Last modified
1yr ago
Copy link
Outline
Badger's Discord Community
What is it?
How it works
Download