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"; };