Hey!
I'm trying to make a whitelist that's able to be updated whilst the server's running. So far I have this:
It works in single player but on the server it won't define "adminUID" etc etc.
Even if I use the debug on the server and do something like:
call compile preprocessfileLineNumbers "\whitelist.txt";
hint format ["%1", adminUID];
It won't work on the server.
I've got -filePatching on the server too.
Any help would be greatly appreciated.
EDIT: I know the code isn't the greatest I'll optimise it when I get it working. It just won't work for now and I'm trying to make it as simple as possible.
Also worth noting that I'm not a coder lol
EDIT2: It seems like the path is wrong. Is there anyway to check the logs for WHERE the game searches for "whitelist.txt"?