Spoiler
// SQL configuration file // File location: $moddir/addons/amxmodx/configs/sql.cfg // *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" // We recommend using your server IP address instead of its name // *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use. amx_sql_host "127.0.0.1" amx_sql_user "root" amx_sql_pass "" amx_sql_db "amx" amx_sql_table "admins" amx_sql_type "mysql"
user.ini
Spoiler
; Users configuration file ; File location: $moddir/addons/amxmodx/configs/users.ini ; Line starting with ; is a comment ; Access flags: ; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands) ; b - reservation (can join on reserved slots) ; c - amx_kick command ; d - amx_ban and amx_unban commands ; e - amx_slay and amx_slap commands ; f - amx_map command ; g - amx_cvar command (not all cvars will be available) ; h - amx_cfg command ; i - amx_chat and other chat commands ; j - amx_vote and other vote commands ; k - access to sv_password cvar (by amx_cvar command) ; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command) ; m - custom level A (for additional plugins) ; n - custom level B ; o - custom level C ; p - custom level D ; q - custom level E ; r - custom level F ; s - custom level G ; t - custom level H ; u - menu access ; z - user (no admin) ; Account flags: ; a - disconnect player on invalid password ; b - clan tag ; c - this is steamid/wonid ; d - this is ip ; e - password is not checked (only name/ip/steamid needed) ; k - name or tag is case sensitive. eg: if you set it so the name "Ham" ; is protected and case sensitive (flags "k" only), then anybody ; can use the names "haM", "HAM", "ham", etc, but not "Ham" ; Password: ; Add to your autoexec.cfg: setinfo _pw "<password>" ; Change _pw to the value of amx_password_field ; Format of admin account: ; <name|ip|steamid> <password> <access flags> <account flags> ; Examples of admin accounts: "Akfa" "kowalski12" "abcdefghijklmnopqrstu" "a"
modules.ini
Spoiler
;;; ; To enable a module, remove the semi-colon (;) in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mysql ;sqlite ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fun ;engine ;fakemeta ;geoip ;sockets ;regex ;nvault cstrike csx ;hamsandwich
Wszystko jest dobrze wgrane dodałem kilka nowych perków i nagle nie działa mi admin
Użytkownik glut edytował ten post 07.02.2014 23:28
Poprawienie kodu.