Raised This Month: $ Target: $400
 0% 

[REQ] nVault & Vip - Function problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 06-20-2012 , 08:10   Re: [REQ] nVault & Vip - Function problem
Reply With Quote #9

2 means the number of command arguments that should be passed to the function in order to work. The command itself is also counted, so that's why it's 2. Now, if you write the command without setting "#userid" argument, it will print a message about the command usage (the message text is that from the 4th parameter of register_clcmd) and the function won't be executed.

About level and cid - they are allways like that, you won't need to change them. Level is the access level from the 2nd parameter of register_clcmd, cid shouldn't be touched - it's about the console message if you don't have the needed access or you have passed wrong number of command arguments.
__________________

Last edited by <VeCo>; 06-20-2012 at 08:11.
<VeCo> 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 06:13.


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