Raised This Month: $ Target: $400
 0% 

some newbie questions :o


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Downtown1
Veteran Member
Join Date: Mar 2004
Old 07-04-2004 , 15:49  
Reply With Quote #2

Code:
   if (!cmd_access(id,level,cl,3)){            return PLUGIN_HANDLED    }

The 3 there is how many arguments AMXX wants you to have before it lets you use the command, so change it to '2' and people will be able to have 2 arguments provided the rest of your plugin reads the second argument.

So use this:
Code:
   if (!cmd_access(id,level,cl,2)){            return PLUGIN_HANDLED    }
Downtown1 is offline
 



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 14:48.


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