Hi,
I was trying to get the admin domes working again, I had one working but when i added the 2nd nothing works..
My Mission Code
admindome.sqf
kelsdome.sqf
The player UID's I changed for posting purposes they are correct in the actual file. Any help would be appreciated.
I was trying to get the admin domes working again, I had one working but when i added the 2nd nothing works..
My Mission Code
Code:
class Sensors
{
items=2;
class Item0
{
position[]={1395.72,0.002,4490.09};
a=150;
b=150;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="AdminBase";
expCond="(vehicle player) in thislist;";
expActiv="AdminBase = [] execVM ""admindomes\admindome.sqf"";";
expDesactiv="terminate AdminBase; titleText [""You've left the AdminBase"", ""PLAIN DOWN"", 3];";
class Effects
};
class Item1
{
position[]={14132.1,0.001,2756.59};
a=50;
b=80;
rectangular=1
activationBy="WEST";
repeating=1;
interruptable=1;
age="UNKNOWN";
name="KelsBase";
expCond="(vehicle player) in thislist;";
expActiv="KelsBase = [] execVM ""admindomes\kelsdome.sqf"";";
expDesactiv="terminate KelsBase; titleText [""You've left the KelsBase"", ""PLAIN DOWN"", 3];";
class Effects
};
};
};
};
admindome.sqf
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 ["12345678"]) exitWith {
titleText ["Welcome home", "PLAIN DOWN", 3];
};
// 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 5;
titleText ["Good night.", "PLAIN DOWN", 3];
sleep 2;
player setDamage 1;
kelsdome.sqf
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 ["12345678","12345678"]) exitWith {
titleText ["Welcome home", "PLAIN DOWN", 3];
};
// 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 5;
titleText ["Good night.", "PLAIN DOWN", 3];
sleep 2;
player setDamage 1;
The player UID's I changed for posting purposes they are correct in the actual file. Any help would be appreciated.