Posts: 101
Threads: 22
Joined: Feb 2014
Reputation:
0
Hello!
I want to create filterscript that prohibit the use of a command that is defined in the gamemode.
I can not access the PWN file of the gamemode and therefore I must figure out a way to disable the use of this command on all players.
Any ideas?
P.S. Sorry for my English, I'm Bulgarian.
Server: 0.3z-R3
Posts: 101
Threads: 22
Joined: Feb 2014
Reputation:
0
Can you give me some examples?
I'm new in scripting.
If I want to disable the command "/command1" for all players, what I must do?
Posts: 765
Threads: 183
Joined: Sep 2011
Reputation:
0
i don't think you can script without pwn file. as you have to put pvars in both script. You can either de_amx it and do little editing. I am sure you can't disabled gamemode command without having pwn file of it. :/
Suggestion: Just add a rule that if anyone did this bug will be banned or something like that.
Posts: 1,241
Threads: 67
Joined: Dec 2013
Quote:
Originally Posted by bobsona
I'll try to explain again. Maybe the problem comes from my bad English. 
I have a command that restarts all cars in the server.
All players in the server can use this command and they take advantage of this and write it a hundred times and server crashes. I want to make sure that they can not use this command, but as I said I don't have the pwn file of the gamemode.
I am looking for a way to disable the command with filterscript.
|
Copy from your GameMode the define variables and place it in the FilterScript, After that, Change the commands from regular players to admins.
Posts: 101
Threads: 22
Joined: Feb 2014
Reputation:
0
Actually it turned out that the command is defined in one of the filterscripts, not in the gamemode.
But I don't have the pwn of this filterscript so I removed it from server.cfg
Thanks for all help!
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
Why do you delete the pwn files ._.