admin_restrict

Post Reply
boyle_heights
A regular
A regular
Posts: 46
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

admin_restrict

Post by boyle_heights »

I have been trying to restrict the shield using AdminMod, but all attempts failed. I added the following lines to my adminmod.cfg file:

admin_restrict 1
admin_command admin_restrictweapon 8 8

Thought this would fix it but it can still be bought. Anyone know what I can do to fix this without having to go to AMX?

Thanks.
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

admin_restrictitem (item-id)

make sure you have the latest adminmod 2.50.58

To disable the Tactical Shield, use command admin_restrictitem 31.
-Nick
boyle_heights
A regular
A regular
Posts: 46
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

Post by boyle_heights »

I tried that but it didn't work. Any other suggestions? I do have the latest version of Admin Mod

Thanks.
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

you can do:

admin_cs_restrict 1
admin_command admin_restrict 8 8

in adminmod.cfg

make sure mapchangecfgfile is set for server.cfg so its activated every map change.
-Nick
boyle_heights
A regular
A regular
Posts: 46
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

Post by boyle_heights »

Tried that but that didn't work either.

:(
[HuN]CHuCKstA
A semi-regular
A semi-regular
Posts: 25
Joined: Mon May 12, 2003 7:40 pm

Post by [HuN]CHuCKstA »

GameOver wrote:you can do:

admin_cs_restrict 1
admin_command admin_restrict 8 8

in adminmod.cfg

make sure mapchangecfgfile is set for server.cfg so its activated every map change.

I also added this too in my server.cfg file and on my server. shields are blocked.. i still don't know wich one did it lol.

// Ban Shield
admin_restrict shield
boyle_heights
A regular
A regular
Posts: 46
Joined: Tue Dec 03, 2002 5:31 pm
Contact:

Post by boyle_heights »

Where do I set the mapchangecfgfile? In server.cfg or autoexec.cfg? It is currently set in the autoexec.cfg.

Thanks.
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

boyle_heights wrote:Where do I set the mapchangecfgfile? In server.cfg or autoexec.cfg? It is currently set in the autoexec.cfg.

Thanks.
thats fine, both will work, autoexec.cfg is activated before the server.cfg thats all.
-Nick
Vm|Mayhem
This is my homepage
This is my homepage
Posts: 105
Joined: Sun Oct 13, 2002 11:12 pm
Location: Ca.
Contact:

Post by Vm|Mayhem »

You only need to do admin_restrict 8 8 and select save. Nothing needs to go in auto.exec file. I've had shields restricted for a long time this way. It's saves your restrict setting in your adminmod vault.ini file forever. :D

Type admin_restrict in game to see what is saved/blocked.
Post Reply