Jump to content
  • 0

Dupe


godmode8

Question

 

Hello. I found dupe on server.

We need 2 players, 1 safe.

1 player opens the safe and departs from it by 5 meters

2 player starts to pack safe

1 player runs up and closes the safe.

Get 2 safes with the same loot.

Fix: Cancel pack safe when within a radius of 10 meters there is a player or cancellation 5 second delay before packaging. Code poorly understand, need your help. I am writing through an interpreter, sorry.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Fix:

create custom player_lockVault

add

if ({isPlayer _x} count (player nearEntities ["Man", 10]) > 1) exitWith { cutText [format["Anti-Dupe: You text"], "PLAIN DOWN"]; }; 

under

if(DZE_ActionInProgress) exitWith { cutText [(localize "str_epoch_player_10") , "PLAIN DOWN"]; };

 

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