ManeXi Posted June 17, 2016 Share Posted June 17, 2016 (edited) When a player is on the login panel he is allowed to do /showchat or /showhud or opening F8 and writting "say (text)" how may I disable this commands on the login panel? Edited June 17, 2016 by Guest Link to comment
xyz Posted June 17, 2016 Share Posted June 17, 2016 Showchat and showhud aren't that big of a problem in most cases, you can just cancel the chat event 'onPlayerChat' if the player isn't logged in. EDIT: You can probably disable showchat and showhud with canceling OnPlayerCommand, havent tested it Link to comment
ManeXi Posted June 17, 2016 Author Share Posted June 17, 2016 Showchat and showhud aren't that big of a problem in most cases, you can just cancel the chat event 'onPlayerChat' if the player isn't logged in.EDIT: You can probably disable showchat and showhud with canceling OnPlayerCommand, havent tested it Thanks alot now I have fixed it 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