Jump to content

Default commands in MTA


Minokon

Recommended Posts

Add this line in your ACL under the group you want it. So you want that normal players can't use /kill, at the following under the group default:

And under admin and moderator

Want to change it for another command, just change kill for the command name.

Link to comment

I'm asking about chat commands, no console commands :)

I have only one resource loaded (gamemode with spawnPlayer) and I clear Access Control List - I testing some commands, which works and for example command /login work, but /register don't. There is other commands?

Edited by Guest
Link to comment
I'm asking about chat commands, no console commands :)

I have only one resource loaded (gamemode with spawnPlayer) and I clear Access Control List - I testing some commands, which works and for example command /login work, but /register don't. There is other commands?

they are the same, just in chat you type /commandname while in console without /

Link to comment

Ok, so:

1. Why there isn't command "login" when I type "help" in console?

2. Why command "/ver" doesn't work when I type it into chat, but when I type "ver" in console it works?

top_gradient.jpg

Sorry, because this maybe is stupid questions, but I must know all before I start scripting ;) Now I try to "ride" MTA commands.

Edited by Guest
Link to comment
Ok, so:

1. Why there isn't command "login" when I type "help" in console?

2. Why command "/ver" doesn't work when I type it into chat, but when I type "ver" in console it works?

Sorry, because this maybe is stupid questions, but I must know all before I start scripting ;) Now I try to "ride" MTA commands.

1)cant approve all of them are there

2)no idea

Link to comment

1. login is provided by the Admin resource I believe. help only shows built-in commands.

2. ver probably always outputs to the console, even if you use it from the chat box. Commands can't tell if they were triggered through the chatbox or the console.

Link to comment

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...