09.06.2012, 16:58
(
Последний раз редактировалось cloudysky; 09.06.2012 в 17:39.
)
Yeah hey, recently made a thread about saving problems, these are now fixed but I've got these now errors now, which is related to this command as far as I know.
Errors
And this is the command, I add this and the errors appear.
Lines the errors appear on...
Errors
pawn Код:
: error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
error 047: array sizes do not match, or destination array is too small
pawn Код:
command(createfaction, playerid, params[])
{
new fname[150], r1[150], r2[150], r3[150], r4[150], r5[150], r6[150], r7[150];
if( sscanf( params, "zzzzzzzz", fname, r1, r2, r3, r4, r5, r6, r7))
CreateFaction(fname, r1, r2, r3, r4, r5, r6, r7);
SendClientMessage(playerid, COLOUR_RED, "DONE" );
return 1;
}
pawn Код:
Faction[i][FactionName] = dini_Get(Factionfile, "FactionName" );
Faction[i][FactionRank1] = dini_Get(Factionfile, "FactionRank1" );
Faction[i][FactionRank2] = dini_Get(Factionfile, "FactionRank2" );
Faction[i][FactionRank3] = dini_Get(Factionfile, "FactionRank3" );
Faction[i][FactionRank4] = dini_Get(Factionfile, "FactionRank4" );
Faction[i][FactionRank5] = dini_Get(Factionfile, "FactionRank5" );
Faction[i][FactionRank6] = dini_Get(Factionfile, "FactionRank6" );
Faction[i][FactionRank7] = dini_Get(Factionfile, "FactionRank7" );