Jump to content
  • 0

Safezone and Anti-theft help


ChimaeraZone

Question

4 answers to this question

Recommended Posts

  • 0

without looking at your files theres really nothing we can help with 

Here you go https://drive.google.com/folderview?id=0B5kLgn-x_D4HV1YzR0stZUVCUnc&usp=sharing That should work

I removed the anti theft files thinking that caused the failure 

Or here for the PBO https://docs.google.com/file/d/0B5kLgn-x_D4HMXVVS1JMNTNtaXc/edit?usp=sharing

Link to comment
Share on other sites

  • 0

I guess you want anti theft enabled in trader citys?

 

You have to move your file "anti_theft.sqf" from custom to your root (i don't know why but it wont work when it is inside a folder).

 

Next thing you have to do is to remove the line "[]execVM "custom\anti_theft.sqf";" from your init.sqf

 

Next step is to go into your mission.sqm file and replace this:

class Item0
                {
                        position[]={4053.8501,364.76645,11668.645};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zonebash";
                        expCond="(player distance zonebash) < 100;";
                        expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false;";
                        expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };
                class Item1
                {
                        position[]={11463.747,317.3078,11349.89};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zoneklen";
                        expCond="(player distance zoneklen) < 100;";
                        expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; canbuild = false;";
                        expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };
                class Item2
                {
                        position[]={6344.8081,304.99023,7806.7598};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zonestary";
                        expCond="(player distance zonestary) < 100;";
                        expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false;";
                        expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };

With this:

class Item0
                {
                        position[]={4053.8501,364.76645,11668.645};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zonebash";
                        expCond="(player distance zonebash) < 100;";
                        expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false; execVM ""anti_theft.sqf"";";
                        expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };
                class Item1
                {
                        position[]={11463.747,317.3078,11349.89};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zoneklen";
                        expCond="(player distance zoneklen) < 100;";
                        expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; canbuild = false; execVM ""anti_theft.sqf"";";
                        expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };
                class Item2
                {
                        position[]={6344.8081,304.99023,7806.7598};
                        activationBy="WEST";
                        repeating=1;
                        interruptable=1;
                        age="UNKNOWN";
                        name="zonestary";
                        expCond="(player distance zonestary) < 100;";
                        expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; execVM ""anti_theft.sqf"";";
                        expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true;";
                        class Effects
                        {
                        };
                };

Explanation:

 

The script will be activated if someone enters the safezone. 

Link to comment
Share on other sites

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...