timothypaul26
New Member
Does anyone know a way to add another file to include a list of admins into my dome files?
I have several donator domes on my server, and with admins constantly rotating. I thought it would be a great thing to have a file where you can keep a list of admins separate of the actual dome owners. I have tried the #include "admin.sqf" but it overwrites the players already listed in the dome.sqf. Can I add a callcompile in there somewhere? Any suggestions would be great. Bellow is a copy of the code I'm currently using. Thanks
I have several donator domes on my server, and with admins constantly rotating. I thought it would be a great thing to have a file where you can keep a list of admins separate of the actual dome owners. I have tried the #include "admin.sqf" but it overwrites the players already listed in the dome.sqf. Can I add a callcompile in there somewhere? Any suggestions would be great. Bellow is a copy of the code I'm currently using. Thanks
Code:
// Below, put the UID of player(s) where it says pasteUIDhere that you want to give access to the dome
if ((getPlayerUID player) in ["####" , "####" , "####"]) exitWith {
waitUntil {time > 70};
titleText [format ["Welcome home, %1", name player], "PLAIN DOWN"];
};
// What happens if unauthorized players get into the dome
titleText ["You are entering restricted area, leave.", "PLAIN DOWN", 3];
sleep 5;
titleText ["Are you blind?!? GET OUT!!", "PLAIN DOWN", 3];
sleep 5;
titleText ["Still not listening, huh?!?", "PLAIN DOWN", 3];
sleep 5;
titleText ["You have 5 seconds left", "PLAIN DOWN", 3];
sleep 4;
titleText ["Good night...", "PLAIN DOWN", 3];
sleep 1;
player setDamage 1;
//Location of base
/*
Added Users
***UID's***
*/