Hey there,
What im trying to do is add a button to an admin menu im making where it can enable whitelist in game, Im not too sure how this could be done. maybe ExecuteCommand
But then again, im too sure any whitelist scripts have a command activation. Any help would be great!
Cheers
As in enable a join whitelist, or in-game whitelist? If it’s the latter, this may help you:
[image]
How to whitelist anything is any resource
In this short tutorial, you will learn how to add a whitelist to any aspect of a resource, using either a JSON file, or Ace Permissions. Once you have implemented either of these methods, it is as simple as wrapping your code in IF statements. For your convenience, code snippets have been provided, and some examples given at the end.
Prerequisites:
A basic understanding of LUA
A basic understanding of how resources are created
A very basic u…
A player join whitelist, so only people who are added to the system will be able to join
why would you want to enable and disable whitelist? are you making something where the server goes into whitelist at certain times of the day?