TioTiago Posted December 2, 2015 Share Posted December 2, 2015 how to cancel reload? function cancelReload () cancelEvent() end addEventHandler ( "onPlayerReload", getRootElement(), cancelReload) I tried onPlayReload but there is no onPlayReload function so as to cancel the reload? I wanted to leave the manual reload Sorry my bad english Link to comment
Rockyz Posted December 2, 2015 Share Posted December 2, 2015 addEventHandler ( "onClientKey", root, function ( button, press ) if button == "r" and press then cancelEvent ( ) end end ) 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