Jump to content
  • 0

Restricted Zones


juandayz

Question

Hi, i using this in a restricted zone for banditis. and need to know if is possible restore weapons if player bandit leave the zone after the 30 seconds warning

heres the code:

Spoiler

PlayerHumanity = (player getVariable"humanity");
if (PlayerHumanity > 1200) then {
titleText ["Old refugee camp RESTRICTED AREA FOR BANDITS", "PLAIN DOWN", 3];
} else {
titleText ["turn around or you`ll be killed...", "PLAIN DOWN", 3];
sleep 15;
titleText ["Have 1 minute to go out...", "PLAIN DOWN", 3];
sleep 15;
titleText ["Less than 45 sec your weapons will be removed..", "PLAIN DOWN", 3];
sleep 15;
titleText ["30 sec its not a joke!!...", "PLAIN DOWN", 3];
removeAllWeapons player;
sleep 15;
titleText ["Last Warning!! (lets shoot on you)...", "PLAIN DOWN", 3];
sleep 15;
titleText ["you are done..!", "PLAIN DOWN", 3];
sleep 5;
player setDamage 0.9;
};

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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
  • Discord

×
×
  • Create New...