Jump to content
  • 0

Script Help - Donator Base Domes


conagan

Question

I found a tutorial on donator base domes but I'm having an issue where when I try to join the server I get the black screen "Waiting for Host".

Would someone please take a look at my code and help me figure out whats wrong?

 

This is my dome.sqf code:

 

if ((getPlayerUID player) in ["########", "########"]) exitWith {
titleText [format ["Welcome Home, %1", name player], "PLAIN DOWN"]; // welcomes you with your name
} else {
// 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;

//titleText ["Welcome home", "PLAIN DOWN", 3];

 

 

 

 

this is the code in my mission.sqm file:

 

class Item3
        {
            position[]={538.023,0.001,4552.21};
            a=130;
            b=90;
            rectangular="1";
            activationBy="WEST";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="AdminBase";
            expCond="(vehicle player) in thislist;";
            expActiv="adminbase = [] execVM ""adminbase.sqf"";";
            expDesactiv="terminate adminbase; titleText [""You've just saved yourself a PERM BAN"", ""PLAIN DOWN"", 3];";
            class Effects
            {
                titleType="TEXT";
                titleEffect="PLAIN DOWN";
                title="You have entered a restricted area, you will be banned if you don't leave";
            };
        };
    };

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...