Jump to content

Default commands in MTA


Minokon

Recommended Posts

Posted (edited)

Hello

top_gradient.jpg

I have a question: what are the default commands in MTA? I know /register /login and there is other? And another question: Can i block to use that commands?

Edited by Guest

Pawn Programmer(SA-MP) and Webmaster

Now LUA...

Posted

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.

blue2.png

I'm still looking for some scripters for my server, because i am learning it and i'm not good in LUA scripting yet.

Posted (edited)

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

Pawn Programmer(SA-MP) and Webmaster

Now LUA...

Posted (edited)

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

Pawn Programmer(SA-MP) and Webmaster

Now LUA...

Posted

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.

Posted

I writed that up: I haven't any resource (only gamemode with spawnPlayer) and command /login works. I haven't any admin resource.

Pawn Programmer(SA-MP) and Webmaster

Now LUA...

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