Matevsz Posted May 14, 2015 Author 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
ALw7sH Posted May 14, 2015 Posted May 14, 2015 addEventHandler("onPlayerJoin",root, function() toggleControl(source,"fire", false) toggleControl(source,"aim_weapon", false) end )
Matevsz Posted May 14, 2015 Author Posted May 14, 2015 as I click the left mouse button, you can still fight: /
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