PDA

View Full Version : Plugins Usage and CVARs


=|[76AD]|= TatsuSaisei
09-09-2006, 03:28 PM
Before anyone else posts questions as to how to use a plugin, take the time to READ the CONTENTS of the SMA file... have you ever heard of RTFM ?? (Read the Fkin Manual), it applies here as well... ALOT of needless posts could be avoided if you would simply download the sma file and open it (use wordpad, every windows pc has it) and READ what it says... If for whatever reason the sma does not include "instructions" then you simply evaluate the contents of the plugin_init function, as all the commands will be listed there.

You also do NOT have to use the programmed ADMIN_LEVELS if you feel they are too low, or too high... simply EDIT the file and use the ADMIN_LEVEL you wish to use...

Here is a list of the admin levels, and the "letters" associated with them in the users.ini file...

Access flags - description - AMXX program setting
a - immunity - ADMIN_IMMUNITY
b - reservation - ADMIN_RESERVATION
c - amx_kick - ADMIN_KICK
d - amx_ban and amx_unban - ADMIN_BAN
e - amx_slay and amx_slap - ADMIN_SLAY
f - amx_map - ADMIN_MAP
g - amx_cvar command - ADMIN_CVAR
h - amx_cfg command - ADMIN_CFG
i - amx_chat and other chat commands - ADMIN_CHAT
j - amx_vote and other vote commands - ADMIN_VOTE
k - access to sv_password cvar - ADMIN_PASSWORD
l - access to amx_rcon command and rcon_password cvar - ADMIN_RCON
m - custom level A - ADMIN_LEVEL_A
n - custom level B - ADMIN_LEVEL_B
o - custom level C - ADMIN_LEVEL_C
p - custom level D - ADMIN_LEVEL_D
q - custom level E - ADMIN_LEVEL_E
r - custom level F - ADMIN_LEVEL_F
s - custom level G - ADMIN_LEVEL_G
t - custom level H - ADMIN_LEVEL_H
u - menu access - ADMIN_MENU
y - NOT LISTED IN users.ini - ADMIN_ADMIN
z - user (no admin) - ADMIN_USER

=|[76AD]|= TatsuSaisei
09-09-2006, 07:39 PM
Amendment:

If you have access to your servers console (HLSW) then you can enter one of the following commands to see the FULL list of Commands and CVARs...

amxx cmds
In addition to showing ALL the commands available, it will also tell you what user flag must be set in order to "use" the command from within the server.


amxx cvars

This will list all the CVARs that are able to be "set", most of the changes are manually stored in your amxx.cfg file on the server (you amend the amxx file), usually the defaults are the best, but some allow for deep customization, and the CVARs are what you will be setting to do this...