Raised This Month: $ Target: $400
 0% 

How can I get the command access flag


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 11-07-2007 , 21:51   How can I get the command access flag
Reply With Quote #1

How can I retrieve the access level flag from a registered console command?

Example:
In the amxcmd.amxx plugin, it registers the slay command as such...
Code:
 
register_concmd("amx_slay", "cmdSlay", ADMIN_SLAY, "<name or #userid>")
So if I wanted to set my custom command to the same access level as the 'amx_slay' command (assuming I didn't know what it was), how would I go about it?

Clear as mud eh?
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 11-07-2007 at 21:53.
Vet is offline
Send a message via MSN to Vet
 



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


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