Raised This Month: $ Target: $400
 0% 

Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
capndurk
Senior Member
Join Date: Feb 2006
Old 03-30-2006 , 23:58  
Reply With Quote #2

Under the give_items function, put this

Code:
if(!cmd_access(id,level,cid,num) // replace num with the number of arguments (including command) {      return PLUGIN_HANDLED; }

instead of

Code:
if(!(get_user_access(id,&ADMIN_KICK)) {         client_print(id, print_center, "[AMXX] Access not granted.")         return PLUGIN_HANDLED     }

You also need a register_concmd function in plugin_init() to call the give_items function with a function in your console. ;)
__________________
I have left these forums because a certain respected member has been acting immaturely lately and has decided that I am not welcome in this community.
capndurk 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 16:37.


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