Raised This Month: $ Target: $400
 0% 

admin acces only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 01-24-2007 , 21:53   admin acces only
Reply With Quote #1

I'ved repost here b-cause the last location was incorrect
now, I can't make a command to be done only by an admin, I have to add a !command_acces or something like that but it gives me the ability to insert parametters and I don't need that, just the plain command only be used by the specified acces leve, what I must add ?
here's the code:
Code:
 
plugin int blabla
register_concmd("amx_clear","amx_clear",ADMIN_ADMIN)
}
.........
public amx_clear(id, level) {
client_cmd(id, "_clear")
return PLUGIN_HANDLED
}
the _clear command it's set somewhere else..... or btw, instead of the client_cmd I'd could just place the command that's set in statsme... it makes 5 chat lines and the last line says the player name that triggered the command.... I would read the manual on wikipedia but I don't understand a thing
__________________
Hunter-Digital is offline
 


Thread Tools
Display Modes

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 22:27.


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