Raised This Month: $ Target: $400
 0% 

How can I get the command access flag


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

You're on the right track, but that's not quite what I'm looking for. The line: flag = ADMIN_SLAY says that I KNOW what the command's access flag is. I need to know how to get the access flag of a command if I DON'T know what it is.

Why? With the release of 1.8.0, the access flag can be changed in the cmdaccess.ini file. And I want my new command have the same access level at run time. I suppose I can get it by reading through and finding the command in the cmdaccess.ini file. But I figured there must be an easier way.
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 11-08-2007 at 00:00.
Vet is offline
Send a message via MSN to Vet
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-08-2007 , 08:29   Re: How can I get the command access flag
Reply With Quote #2

Type 'amxx cmds' in server console ?
ConnorMcLeod 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 01:22.


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