Madin 9 Posted May 20, 2017 Hi. i need something as in title. Any suggestions? :) Share this post Link to post Share on other sites
Midnighters 152 Posted May 24, 2017 you mean allowing the repair of a certain type of vehicle? Share this post Link to post Share on other sites
pierremgi 4833 Posted May 24, 2017 You can choose what king of vehicle you can repair or even declare an array of specific vehicle and, add a counter on toolkit use. This script will allow you to disable repair on tanks, and repair the other vehicles, only 3 times with the same toolkit: MGIRepairCnt = 0; inGameUISetEventHandler ["Action"," if (_this select 3 == 'repairVehicle') then { if ((_this select 0) isKindOf 'tank') then { hint 'You cant repair this vehicle'; true } else { MGIRepairCnt = MGIRepairCnt + 1; if (MGIRepairCnt == 4) exitWith { player removeItemFromBackpack 'toolKit'; MGIRepairCnt = 0; true }; false }; } "]; 1 Share this post Link to post Share on other sites
Midnighters 152 Posted May 25, 2017 @pierremgi Tehehehe, king of vehicle Share this post Link to post Share on other sites