Raised This Month: $99 Target: $400
 24% 

restrict access to sourcemod admin commands. I need your help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Darkwob
Member
Join Date: Oct 2018
Old 08-14-2019 , 07:02   restrict access to sourcemod admin commands. I need your help.
Reply With Quote #1

Hello, How can I make Sourcemod admin commands accessible only to admins? for example; "!admin " as I did not think of any other command now. please help me. also I do not appear as admin in the game but when type"!admin", I can access the admin menu. "sourcemod/config / admin.cfg "and" admin_simple.txt " files I added myself as admin. but in the attendance message, when I enter the game, the player writes Instead of admin.
Darkwob is offline
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 08-14-2019 , 09:00   Re: restrict access to sourcemod admin commands. I need your help.
Reply With Quote #2

Quote:
Originally Posted by Darkwob View Post
Hello, How can I make Sourcemod admin commands accessible only to admins? for example; "!admin " as I did not think of any other command now. please help me. also I do not appear as admin in the game but when type"!admin", I can access the admin menu. "sourcemod/config / admin.cfg "and" admin_simple.txt " files I added myself as admin. but in the attendance message, when I enter the game, the player writes Instead of admin.
Simple
go to "addons/sourcemod/configs/admins_simple.ini" open the file via notepad or any text editior and go below, now enter this

Code:
"STEAM_0:1:1234567"  "99:z"     //YOURNAME
(CHANGE THE STEAMID TO YOURS)

save the file and restart the server, now you have access to the adminmenu...if you need specifc flags, you can look here: https://wiki.alliedmods.net/Adding_Admins_(SourceMod) here a example

Code:
"STEAMID"  "abcdefg"     //YOURNAME
__________________

Last edited by freak.exe_uLow; 08-14-2019 at 09:02.
freak.exe_uLow is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:15.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode