Raised This Month: $ Target: $400
 0% 

Unknown command: amx_test


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-23-2011 , 08:10   Re: Unknown command: amx_test
Reply With Quote #1

Try that

register_concmd("amx_test","cmd_test")
.Dare Devil. is offline
gamer99
Senior Member
Join Date: Jul 2011
Old 07-23-2011 , 08:23   Re: Unknown command: amx_test
Reply With Quote #2

then how I am supposed to check the access ?
gamer99 is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-23-2011 , 08:29   Re: Unknown command: amx_test
Reply With Quote #3

Quote:
Originally Posted by gamer99 View Post
then how I am supposed to check the access ?
#define ACCESSMENU ADMIN_KICK


PHP Code:
public yourcmd
{
      if(
get_user_flags(id) & ACCESSMENU)
      {
                
//your code
      
}

.Dare Devil. 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:11.


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