thomas withers
Member
hey guys so i am trying to put a restriction zone over my admin base and we all keep getting stuck in wait for host,
the reason i have started a new thread so when i get it working i will make it into a proper tutorial
here is the codes im using
adminbase.sqf
mission.sqm here is the whole of my sensors and they are below vehicles and above markers
could someone please help me fix this problem
the reason i have started a new thread so when i get it working i will make it into a proper tutorial
here is the codes im using
adminbase.sqf
Code:
// Base Owners
if ((getPlayerUID player) in ["********" ]) exitWith {
titleText ["You are cleared to stay... Welcome back.", "PLAIN DOWN", 3];
};
// Everyone Else
titleText ["This base is protected by a deadly nerve gas agent.. LEAVE NOW!", "PLAIN DOWN", 3];
sleep 5;
titleText ["Your presence here has been logged!", "PLAIN DOWN", 3];
sleep 5;
titleText ["The NERVE GAS will kill you in less than 20 seconds..!", "PLAIN DOWN", 3];
sleep 10;
titleText ["You now have less than 10 seconds to leave (stay and die!)", "PLAIN DOWN", 3];
sleep 10;
titleText ["GAS! GAS! GAS!", "PLAIN DOWN", 3];
sleep 3;
player setDamage 1;
mission.sqm here is the whole of my sensors and they are below vehicles and above markers
Code:
class Sensors
{
items=1;
class Item0
{
position[]={14215.376,136.84589,14137.79};
a=350;
b=350;
interruptable=1;
age="UNKNOWN";
class Effects
{
};
class Item1
{
position[]={14215.376,136.84589,14137.79};
a=400;
b=400;
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
{
titleType="TEXT";
titleEffect="PLAIN DOWN";
title="You are entering a restricted zone.";
};
};
could someone please help me fix this problem