1.
PHP Code:
BuildMapVoteMenu() {
g_iMapVoteBodyLenght = copy(g_iMapVoteBody, 511, "\rMap Vote:^n");
for(new i=1; i<10; i++) {
g_iMapVoteBodyLenght += copy(g_iMapVoteBody[g_iMapVoteBodyLenght], (511-g_iMapVoteBodyLenght), "^n\r%d\y. \w%s", i, g_iPickedMaps[i]);
}
return PLUGIN_HANDLED;
}
2.
PHP Code:
BuildTeamsTypeVoteMenu() {
copy(g_iTeamsTypeVoteBody, 149, "\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_VOTE1, TEAMS_TYPE_VOTE2, TEAMS_TYPE_VOTE3);
return PLUGIN_HANDLED;
}
3.
PHP Code:
BuildOverTimeVoteMenu() {
copy(g_iOverTimeVoteBody, 149, "\rOver Time Vote:^n^n\r1\y. \w%s^n\r2\y. \w%s^n^n\r0\y. \yEXIT", YES, NO);
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...
__________________