Jump to content
  • 0

Any Scripts for this Case ?


truongdatnhan

Question

So i know base building is required plot pole and you only can place building parts in that area. But someone sneak into your base and place the tent over the door make you can get out of inside.

 

So i want to ask,that have any scripts make another players can place any building part like tent,... in the plot pole area .

Or the owner of the plot pole have the optinions that remove any thing in his plot pole area.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

 

private ["_unwantedObjects","_nearUnwantedObj","_run"]

 
_unwantedObjects = ["",""];
_nearUnwantedObj = count nearestObjects [_playerPos, [_unwantedObjects], 45] > 0;
_run = true;
 
if (_run) then {
_this call server_deleteObj forEach _nearUnwantedObj;
cutText [format["You have deleted all unwanted objects within 45m!"], "PLAIN DOWN"];
_run = false;
};
 
Try adding this to your plotpole as a scroll function and or somewhere else so it can be manually executed.
 
All objects placed in "_unwantedObjects" will be deleted within 45m!
 
So choose wise.
 
 
I am not sure if deleting in a wide range is effective though, I am just here to give you a way to create what you thought of, if you think it is the right thing then go ahead :)
 
Your Server. Your Ideas. Your Rules. Right? :D
 
Best regards,
Blite
Link to comment
Share on other sites

  • 0

 

Quote

Try adding this to your plotpole as a scroll function and or somewhere else so it can be manually executed.
 
All objects placed in "_unwantedObjects" will be deleted within 45m!
 
So choose wise.
 
 
I am not sure if deleting in a wide range is effective though, I am just here to give you a way to create what you thought of, if you think it is the right thing then go ahead  :)
 
Your Server. Your Ideas. Your Rules. Right?  :D
 
Best regards,
Blite

Yes I understood it later as posted above ^

 

 

 

:)

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