KingAlpha Posted July 2, 2020 Share Posted July 2, 2020 (edited) Hi guys. I'm modding a healing gun for my friend. I want it to attack people and heal them instead of damaging them. I finished it and it's working fine, However it only work in pvp server because in non pvp you can't click on other player with weapon in hand. I heard that you can by pass the "check of variable" from non pvp server which prevent you fo click on other player. But I'm not sure how to do it. Any suggestions? Edited July 2, 2020 by KingAlpha Link to comment Share on other sites More sharing options...
penguin0616 Posted July 5, 2020 Share Posted July 5, 2020 You'd probably have to modify either Combat.CanBeAttacked, or Combat.CanTarget 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now