Jump to content
  • 0

No Build Timer as Donation Perk


Three Plus

Question

I've been trying set it so donators and admins don't have a build timer but I haven't had any luck.

 

This is what Im using, But the server won't authenticate anyone when I have this in my init.sqf.

// No Build Timer
[] execVM "custom\NoBuildTimmer.sqf";
if ( !((getPlayerUID player) in NoBuildTimer) && !((getPlayerUID player) in ModList) && !((getPlayerUID player) in tempList)) then 
{
DZE_StaticConstructionCount = 0;
};

Any ideas.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I would suggest using the Building snapping with admin insta-build etc. It does support that feature.

 

 

I agree with FragZ - without more details regarding your script (beyond what you have posted), it will be difficult to really help, while you can simply follow (or cherry pick what you need) from

Link to comment
Share on other sites

  • 0

fast_build = 
[
"", // NAME
"", // NAME
"", // NAME
"" //NAME
];

if ((getPlayerUID player) in fast_build)) 
then{
        DZE_StaticConstructionCount = 1;
    } 
else{
        DZE_StaticConstructionCount = 3;
    };

 

[] execVM "build.sqf";

 

 

Credits:

I Just change the array name to Fast_build instead of Admin_Build

Link to comment
Share on other sites

  • 0

Unfortunately it did not work.

Sorry, i messed the format of that, try it like this:

fast_build =
[
"", // NAME
"", // NAME
"", // NAME
"" //NAME
];

if ((getPlayerUID player) in fast_build)) then{
        DZE_StaticConstructionCount = 1;
    }
    else
    {
        DZE_StaticConstructionCount = 3;
    };
};
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...