Skip to content

Make it so only staff job can use certain SAM commands in DarkRP

Notifications You must be signed in to change notification settings

KawaiiBunga/SAM-Staff-Perm-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

SAM-Staff-Perm-Module

Make it so only a set DarkRP job can use certain SAM commands

Super simple to use and setup.

Drop the addons folder into your server directory and confugre the staff_perms.lua file to your liking.

This should allow you to restrict any sort of command to a certain job. I use it for staff perms on DarkRP, but it could be used for other things too.

This is setup as a sam module, so try to leave the folder structure alone if you don't already have any extra SAM modules installed. The staff_perms.lua can be added to your existing sam-modules folder (if you have one) in lua/sam/modules, and you can disregard the folder structure completely.

Credit to Hejfi from DanFMN's Discord for being super awesome and helping (This wouldn't exist without him! Thank you!)

Credit to Sriloin for ALSO being super awesome and providing me the correct hook to use.

Buy SAM Admin Mod - https://www.gmodstore.com/market/view/sam

About

Make it so only staff job can use certain SAM commands in DarkRP

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages