Raised This Month: $ Target: $400
 0% 

number of arguments does not match definition


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
n0br41ner
Senior Member
Join Date: May 2012
Location: Planet Earth
Old 09-18-2012 , 12:21   number of arguments does not match definition
Reply With Quote #1

1.
PHP Code:
BuildMapVoteMenu() {
    
g_iMapVoteBodyLenght copy(g_iMapVoteBody511"\rMap Vote:^n");
    
    for(new 
i=1i<10i++) {
        
g_iMapVoteBodyLenght += copy(g_iMapVoteBody[g_iMapVoteBodyLenght], (511-g_iMapVoteBodyLenght), "^n\r%d\y. \w%s"ig_iPickedMaps[i]);
    }
    
    return 
PLUGIN_HANDLED;

2.
PHP Code:
BuildTeamsTypeVoteMenu() {
    
copy(g_iTeamsTypeVoteBody149"\rTeams Type Vote:^n^n\r1\y. \w%s^n\r2\y. \w%s^n\r3\y. \w%s^n^n\r0\y. \yEXIT"TEAMS_TYPE_VOTE1TEAMS_TYPE_VOTE2TEAMS_TYPE_VOTE3);
    
    return 
PLUGIN_HANDLED;

3.
PHP Code:
BuildOverTimeVoteMenu() {
    
copy(g_iOverTimeVoteBody149"\rOver Time Vote:^n^n\r1\y. \w%s^n\r2\y. \w%s^n^n\r0\y. \yEXIT"YESNO);
    
    return 
PLUGIN_HANDLED;

All these functions are returning this error: "error 088: number of arguments does not match definition"

How is it that the arguments does not match, am i not allowed to to use the %s?
If i am not allowed, then what should i do? What alternative should i adopt?

Please explain, i am confused.

Thanks in advance...
__________________

Last edited by n0br41ner; 09-18-2012 at 12:27.
n0br41ner 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 08:22.


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