kowalski Posted April 17, 2020 Posted April 17, 2020 The following should prevent a gun from firing thanks to cancel event. function lockGun() outputChatBox("Lock") cancelEvent() end addEventHandler("onClientPlayerWeaponFire",root,lockGun) For one reason or another that does not seem to be the case.
kowalski Posted April 18, 2020 Author Posted April 18, 2020 Yes however I would appear that cancel event is more or less ineffective
kowalski Posted April 18, 2020 Author Posted April 18, 2020 Thanks it seems that some functions tend to hide on the wiki
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