Raised This Month: $ Target: $400
 0% 

cm_access(), get_user_flags(), What using?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
_Master_
Senior Member
Join Date: Dec 2006
Old 05-15-2007 , 10:17   Re: cm_access(), get_user_flags(), What using?
Reply With Quote #3

Use cmd_access() if that command has a "fixed" number of arguments. (It also displays the "USAGE:..." text on incorrect number of arguments, checks for authorized access - based on get_user_flags() and local player/server rights, logs unauthorized command usage)

Use get_user_flags() if command has a variable number of arguments. (You can also insert portions of code from cmd_access() to fit your needs)
_Master_ 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 10:33.


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