Quote:
Originally Posted by Gabs
1 last question, i have admin and everything, but when i do "sv_lan 0" which allows other internet players to join my server, i dont have admin anymore..
|
Go to the same folder like above (...addons/amxmodx/configs) and find the file users.ini and find these lines:
; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"
"loopback" "" "abcdefghijklmnopqrstu" "de"
Put the semicolon ";" at the begining of the last line and try to admin by name method (You can see what You can use - 3 methods + loopback - last method only for LAN listenserver). To do this put this line (I guess Your player name during the game it's "Gabs"):
"Gabs" "your_password" "abcdefghijklmnopqrstu" "a"
Go to the file amxx.cfg (the same folder) and find these lines:
// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_pw"
and change the last line to this:
amx_password_field "_amx_pw"
Then create an file (by text editor - notepad or ultraedit) named autoexec.cfg and put there this line:
setinfo "_amx_pw" "your_password"
Note1 - this file - autoexec.cfg You need to put into cstrike directory.
Note2 - this string "your_password" means Your password You need to put here and as the same string ("your_password") in users.ini. I hope You can understand what I mean.
This is a standard method in majority of mm plugins to get access as an admin.
Quote:
Originally Posted by Gabs
and where can i fix the server name when amx is running??
i did change the server name in server.cfg but its still "Counter-Strike" when i create game.
|
Let me know - You want to play on the same computer You setup the server (in this case it's listenserver and You need to modify listenserver.cfg to change the name of Your server) or You want to setup a server only, but for playing You need to connect to this server from another computer (then You have a dedicated server and You need to change server.cfg on it to change the name of Your server)?