Jump to content

[Solved] Disabling commands in login panel


ManeXi

Recommended Posts

Posted (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 by Guest
Posted

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

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...