View Single Post
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