Matevsz Posted May 14, 2015 Share Posted May 14, 2015 Hello, how to blocked fight? (if left mouse click) Link to comment
Matevsz Posted May 14, 2015 Author Share Posted May 14, 2015 addEventHandler("onClietPlayerWeaponFire", root, function() if (isElement(localPlayer)) and (getElementType(localPlayer) == "player") then toggleControl("fire", false) toggleControl("aim_weapon", false) end end) not work Link to comment
ALw7sH Posted May 14, 2015 Share Posted May 14, 2015 addEventHandler("onPlayerJoin",root, function() toggleControl(source,"fire", false) toggleControl(source,"aim_weapon", false) end ) Link to comment
Matevsz Posted May 14, 2015 Author Share Posted May 14, 2015 as I click the left mouse button, you can still fight: / Link to comment
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