Raised This Month: $ Target: $400
 0% 

Error: Number of arguments does not match definition on line 778


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 07-26-2013 , 22:12   Re: Error: Number of arguments does not match definition on line 778
Reply With Quote #8

Compiler says that:
CmdDonateShow function requires two more parameter which are level and cid.

you can fix this error by changing function parameters like that

public CmdDonateShow( iPlayer, level, cid)

->

public CmdDonateShow( iPlayer )

and remove the cmd_access line. These are not necessary. If you want to require an access flag to function, you must define it in register_concmd.

Last edited by akcaliberg; 07-26-2013 at 22:15.
akcaliberg 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:19.


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