Enable Whitelist In-Game

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:

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?

Yeah.