Raised This Month: $ Target: $400
 0% 

amx_who restriction


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rymek
Junior Member
Join Date: May 2004
Old 09-05-2004 , 17:06   amx_who restriction
Reply With Quote #1

Hi

I was wondering is there any way to restrict this (amx_who) command to normal users. I know that in previous relases of AMXX due to a bug it was restricted Can someone point me how to do it?

thx 4 answers
Rymek is offline
BillyTheKid
Senior Member
Join Date: Jun 2004
Old 09-07-2004 , 20:36  
Reply With Quote #2

ummm not sure why you want to restrict amx_who...

1 so ppl can't figure out whos an admin
2 so ppl can't get steamid's

if your worried about 2 then forget it because they will still be able to do a status in console...
__________________
Select * from * where *=*;
BillyTheKid is offline
Send a message via AIM to BillyTheKid
Rymek
Junior Member
Join Date: May 2004
Old 09-08-2004 , 03:18  
Reply With Quote #3

the 1st option i dont wanna pipl to know who's the admin
Rymek is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 09-08-2004 , 04:50  
Reply With Quote #4

amx_who is restricted for normal players.

in 0.16 and in 0.20 as well. you need level ADMIN_ADMIN to
use it.
remove your admin account, restart the map and connect to your
server and you will see that you can't use it.
FeuerSturm is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 09-08-2004 , 13:43  
Reply With Quote #5

You want to restrict or maybe not to restrict this command so normal user could use it ?
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 09-08-2004 , 13:48  
Reply With Quote #6

Plugin admincmd.sma change to :

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


Code:
  // amx_who , for all players
  register_concmd("amx_who","cmdWho",ADMIN_USER,"- displays who is on server")
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 09-08-2004 , 16:56  
Reply With Quote #7

The simplest way to restrict it is just dont give the player admin level "y." Give them "z," so that they are registered as a normal user and not as an admin. GO into amxx.cfg I believe and
Code:
amx_default_access "y"
Change to
Code:
amx_default_access "z"
slmclarengt is offline
kalel
Senior Member
Join Date: Aug 2004
Old 09-09-2004 , 04:27  
Reply With Quote #8

unless it was changed in .20 defult acess for players is already z
kalel 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 17:26.


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