Ivlar Posted May 17, 2015 Report Share Posted May 17, 2015 InventoryOpened.sqf: // @file Author: Ivlar.net [] spawn { while {1 == 1} do { waitUntil {!isnull (findDisplay 602)}; { if ((isPlayer _x && _x != player) && (alive _x)) then { _backpack=backpackContainer player; _backpack_x=backpackContainer _x; if(_backpack==_backpack_x)then{ hint "No Duping!"; removeBackpack player; }; }; } forEach nearestObjects [player, ["Epoch_Male_F","Epoch_Female_F"], 10]; sleep 1; }; }; Add to your init: if (hasInterface) then { [] execVM "InventoryOpened.sqf"; }; Maybe you have any ideas on how to improve the script? Link to comment Share on other sites More sharing options...
second_coming Posted May 18, 2015 Report Share Posted May 18, 2015 I can see people causing issues on servers using this by just standing near traders with their inventory active thereby blocking anyone using traders. Link to comment Share on other sites More sharing options...
Halvhjearne Posted May 18, 2015 Report Share Posted May 18, 2015 as i have already mentioned once (alltho my post was deleted for some reason), this will most likely NOT work ... Link to comment Share on other sites More sharing options...
Ivlar Posted May 18, 2015 Author Report Share Posted May 18, 2015 (edited) I can see people causing issues on servers using this by just standing near traders with their inventory active thereby blocking anyone using traders. as i have already mentioned once (alltho my post was deleted for some reason), this will most likely NOT work ... script updated 05/18/15 Edited May 18, 2015 by Ivlar Link to comment Share on other sites More sharing options...
Creep Posted May 18, 2015 Report Share Posted May 18, 2015 make use of pickup eventhandlers Link to comment Share on other sites More sharing options...
DirtySanchez Posted May 18, 2015 Report Share Posted May 18, 2015 Haha had to sit here and think for a second what duping exploit this covered. Well if all goes well nice script, but yes several people raid the mission boxes to get out faster, load their vehicles up same time plus more I haven't thought of. Not sure of this would be as much of a benefit as it would be a hindrance Link to comment Share on other sites More sharing options...
Avarax Posted May 29, 2015 Report Share Posted May 29, 2015 If i undestend this script protect player 1 have in his backpack item cinder block player 2 com to access player 1 backpack and the same moment player 1 drop iten on flor and player 2 take item ? Link to comment Share on other sites More sharing options...
bombajack Posted September 23, 2015 Report Share Posted September 23, 2015 Ivlar is possible add anti duping vehicles?Not only backpack?Thx. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now