Code:class Item0 { position[]={9845.4043,0,3606.3677}; a=200; b=200; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="AdminBase"; expCond="(vehicle player) in thislist;"; expActiv="AdminBase = [] execVM ""Scripts\adminbase.sqf"";"; expDesactiv="terminate AdminBase; titleText [""You have left the Admin Base!"", ""PLAIN DOWN"", 3];"; class Effects { };
Code:if ((getPlayerUID player) in ["16600710","101263750","106387654","107404550","83484998","124084422","123512326","122971078"]) then { titleText ["Hello Admin. Welcome back.", "PLAIN DOWN", 3]; } else { titleText ["This is a protected base, leave now, or perish!", "PLAIN DOWN", 3]; sleep 5; titleText ["You have 15 seconds to turn back...", "PLAIN DOWN", 3]; sleep 5; titleText ["You have less than 10 seconds to leave.", "PLAIN DOWN", 3]; sleep 5; titleText ["You were warned..!", "PLAIN DOWN", 3]; sleep 5; player setDamage 1; };
I'm using the standard code provided in this thread.
Where do you want me to place this looping trigger?
change this:
Code:
if ((getPlayerUID player) in ["16600710","101263750","106387654","107404550","83484998","124084422","123512326","122971078"]) then {
titleText ["Hello Admin. Welcome back.", "PLAIN DOWN", 3];
} else {
titleText ["This is a protected base, leave now, or perish!", "PLAIN DOWN", 3];
sleep 5;
titleText ["You have 15 seconds to turn back...", "PLAIN DOWN", 3];
sleep 5;
titleText ["You have less than 10 seconds to leave.", "PLAIN DOWN", 3];
sleep 5;
titleText ["You were warned..!", "PLAIN DOWN", 3];
sleep 5;
player setDamage 1;
};
to this:
Code:
// Base Owners camp
if ((getPlayerUID player) in [""16600710","101263750","106387654","107404550","83484998","124084422","123512326","122971078""]) exitWith {
titleText ["You are cleared to stay... Welcome back.", "PLAIN DOWN", 3];
};
// Everyone Else
titleText ["You have less than 5 seconds to leave, or you will be fried, like chicken.", "PLAIN DOWN", 3];
sleep 5;
titleText ["5", "PLAIN DOWN", 3];
sleep 1;
titleText ["4", "PLAIN DOWN", 3];
sleep 1;
titleText ["3", "PLAIN DOWN", 3];
Sleep 1;
titleText ["2", "PLAIN DOWN", 3];
sleep 1;
titleText ["1", "PLAIN DOWN", 3];
sleep 1;
player setDamage 1;
sleep 1;