Raised This Month: $ Target: $400
 0% 

amx_who


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 04:40   amx_who
Reply With Quote #1

hello i want to do så only admins can write amx_who in the consol and not the "players" how can i do that?
plo is offline
Gotrice
Senior Member
Join Date: Oct 2005
Old 10-16-2005 , 04:51  
Reply With Quote #2

The admin amx_who is the Status for non admin. just type status in the console
Gotrice is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 04:54  
Reply With Quote #3

on my server everybody can write it in the consol and they can see who is admins...
plo is offline
Gotrice
Senior Member
Join Date: Oct 2005
Old 10-16-2005 , 04:55  
Reply With Quote #4

I dont kno, some here might can help you

But why would you want to let people kno that there is a admin in the serveR?
Gotrice is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 05:00  
Reply With Quote #5

someone who knows how t set permission on the amx_who command?
exampel if i want all admins whit letter B to have access to that command and no others... plz help me
plo is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 06:49  
Reply With Quote #6

?????
plo is offline
watch
Senior Member
Join Date: Sep 2005
Old 10-16-2005 , 08:06  
Reply With Quote #7

ive never used amx_who but im guessing it prints the users and their admin level, if you goto $moddir/addons/amxmodx/scripting/ and open admincmd.sma with notepad and then search for amx_who you will see something like this

Code:
register_concmd("amx_who","cmdWho",ADMIN_ADMIN,"- displays who is on server")

Change the ADMIN_ADMIN bit to ADMIN_LEVEL_B then save and click on the compile.exe , ensuring it compiles without errors (this is the n letter in users.ini btw)

Then goto $moddir/addons/amxmodx/scripting/compiled folder and put the admincmd.amx onto the server in the $moddir/addons/amxmodx/plugins folder
watch is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 09:04  
Reply With Quote #8

okej i will test this and see if its work.... thx
plo is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 09:13  
Reply With Quote #9

it´s not working :S
plo is offline
plo
Member
Join Date: Oct 2005
Old 10-16-2005 , 09:17  
Reply With Quote #10

register_plugin("Admin Commands", AMXX_VERSION_STR, "AMXX Dev Team")
register_dictionary("admincmd.txt")
register_dictionary("common.txt")
register_concmd("amx_kick", "cmdKick", ADMIN_KICK, "<name or #userid> [reason]")
register_concmd("amx_ban", "cmdBan", ADMIN_BAN, "<name or #userid> <minutes> [reason]")
register_concmd("amx_banip", "cmdBanIP", ADMIN_BAN, "<name or #userid> <minutes> [reason]")
register_concmd("amx_addban", "cmdAddBan", ADMIN_BAN, "<authid or ip> <minutes> [reason]")
register_concmd("amx_unban", "cmdUnban", ADMIN_BAN, "<authid or ip>")
register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>")
register_concmd("amx_slap", "cmdSlap", ADMIN_SLAY, "<name or #userid> [power]")
register_concmd("amx_leave", "cmdLeave", ADMIN_KICK, "<tag> [tag] [tag] [tag]")
register_concmd("amx_pause", "cmdPause", ADMIN_CVAR, "- pause or unpause the game")
register_concmd("amx_who", "cmdWho", ADMIN_LEVEL_b, "- displays who is on server")
register_concmd("amx_cvar", "cmdCvar", ADMIN_CVAR, "<cvar> [value]")
register_concmd("amx_plugins", "cmdPlugins", ADMIN_ADMIN)
register_concmd("amx_modules", "cmdModules", ADMIN_ADMIN)
register_concmd("amx_map", "cmdMap", ADMIN_MAP, "<mapname>")
register_concmd("amx_cfg", "cmdCfg", ADMIN_CFG, "<filename>")
register_concmd("amx_nick", "cmdNick", ADMIN_SLAY, "<name or #userid> <new nick>")
register_clcmd("amx_rcon", "cmdRcon", ADMIN_RCON, "<command line>")
register_clcmd("pauseAck", "cmdLBack")
}
this is in C:\Program\Steam\SteamApps\user\dedicated server\cstrike\addons\amxmodx\scripting

and i copy the hole thing to C:\Program\Steam\SteamApps\user\dedicated server\cstrike\addons\amxmodx\plugins

and add it in
C:\Program\Steam\SteamApps\user\dedicated server\cstrike\addons\amxmodx\configs\plugins
and in that file I added
admincmd.amxx

Is this right?
plo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode