Add a method to call when an action gets restricted via :restrictAction().
Add a method to call when an action gets restricted via :restrictAction().
1 string id
the action to add a callback for.
2 function callback
the function to call upon restriction.
interactionRestrictor:addRestrictCallback("contract_work", function() contractWork:lock() end)