English disablecommand lua script need

2 replies
Goto Page
To the start Previous 1 Next To the start
Up
blood2d
User
Offline Off
I need a command to disable a command to a specific person
example
I use a lua admin @ changeColor and other commands
and for example a person uses a long restart and I want to disable this command in my lua administrator specifies the person

use a ToTable to specify an id
they would use text [2] to specify

the command would look like

@disablecommand [id] [command]

@disablecommand ["..player(text [2]," USGN ").."] [command]

@disablecommand 1 @restart

@disablecommand [id = player(text[2],"usgn") or other] [command = @restart)

SORRY FOR MY BAD ENGLISH
21.12.11 01:57:19 am
Up
SilentDash
User
Offline Off
Ehm if I understand all...

then...

Don't give them the rights if they don't allow to use them?

Sry that was i understand is that you want a Script which disable the right from someone
21.12.11 04:10:04 am
Up
blood2d
User
Offline Off
yes
i need disable a command for one person but multiple commands , for different persons
To the start Previous 1 Next To the start