Quote:
Originally Posted by Darkwob
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