Desaster Posted November 12, 2013 Share Posted November 12, 2013 hello so I wanted to ask you how to disable all commands if anyone is not logged in pls don't tell me that I must add it in every script I made before Link to comment
Anony# Posted November 12, 2013 Share Posted November 12, 2013 hello so I wanted to ask you how to disable all commands if anyone is not logged in pls don't tell me that I must add it in every script I made before guiSetInputMode("no_binds_when_editing") Link to comment
arezu Posted November 12, 2013 Share Posted November 12, 2013 hello so I wanted to ask you how to disable all commands if anyone is not logged in pls don't tell me that I must add it in every script I made before guiSetInputMode("no_binds_when_editing") That function disables binds when writing in a textbox, not commands. The right way to do it is to use [url=https://wiki.multitheftauto.com/wiki/OnPlayerCommand]https://wiki.multitheftauto.com/wiki/OnPlayerCommand[/url] and cancel the event if source (the player that is trying to use a command) is not logged in. Link to comment
Desaster Posted November 12, 2013 Author Share Posted November 12, 2013 That function disables binds when writing in a textbox, not commands. The right way to do it is to use [url=https://wiki.multitheftauto.com/wiki/OnPlayerCommand]https://wiki.multitheftauto.com/wiki/OnPlayerCommand[/url] and cancel the event if source (the player that is trying to use a command) is not logged in. yup that's it so thnx it worked 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