topden 62 Posted October 7, 2022 tell me how to make a player laying a weapon on the ground (box, car) can no longer pick it up? Share this post Link to post Share on other sites
Stormmy1950 30 Posted October 8, 2022 I guess you can Dmg the weapon on the ground and it will remove the interaction: {_x setDamage 1} forEach (nearestObjects [player,["WeaponHolderSimulated"],5]); Taken from this Tread: Share this post Link to post Share on other sites
Schatten 252 Posted October 8, 2022 @topden, here seems to be a suitable example for weapon holder removal. To block getting weapons, you need to handle InventoryClosed event, where, for example, to assign the player's GUID to the weapon holder, and InventoryClosed event, where to check this GUID and, if it is equal to the player's GUID, close the inventory. Plus, you need to add using inGameUISetEventHandler command Rearm event handler, where also check the GUID. Share this post Link to post Share on other sites