#1

I am using mysql system.
I have somthing like this:
pawn Код:
new row[1024];
     new ExplodeSplit[210][32];
    mysql_fetch_field_row(row,"|");
     explode(ExplodeSplit, row, "|");
     SendClientMessage(playerid, COLOR_PURPLE, "Account Begins to load..");
     strmid(PlayerInfo[playerid][pNick], ExplodeSplit[0], 0, strlen(ExplodeSplit[0]), 255);
     strmid(PlayerInfo[playerid][pKey], ExplodeSplit[1], 0, strlen(ExplodeSplit[1]), 255);
     format(var, 32, PlayerInfo[playerid][pLevel], ExplodeSplit[2]);
     PlayerInfo[playerid][pAdmin] = strval(ExplodeSplit[3]);
     PlayerInfo[playerid][pDonateRank] = strval(ExplodeSplit[4]);
     PlayerInfo[playerid][gPupgrade] = strval(ExplodeSplit[5]);
     PlayerInfo[playerid][pConnectTime] = strval(ExplodeSplit[6]);
     PlayerInfo[playerid][pReg] = strval(ExplodeSplit[7]);
     PlayerInfo[playerid][pSex] = strval(ExplodeSplit[8]);
     PlayerInfo[playerid][pAge] = strval(ExplodeSplit[9]);
     PlayerInfo[playerid][pOrigin] = strval(ExplodeSplit[10]);
     PlayerInfo[playerid][pCK] = strval(ExplodeSplit[11]);
     PlayerInfo[playerid][pMuted] = strval(ExplodeSplit[12]);
     PlayerInfo[playerid][pExp] = strval(ExplodeSplit[13]);
     PlayerInfo[playerid][pCash] = strval(ExplodeSplit[14]);
     PlayerInfo[playerid][pAccount] = strval(ExplodeSplit[15]);
     PlayerInfo[playerid][pCrimes] = strval(ExplodeSplit[16]);
     PlayerInfo[playerid][pKills] = strval(ExplodeSplit[17]);
I need some way to split it to somthing like this: new ExplodeSplit1[50][32];, new ExplodeSplit2[50][32], new ExploadSplit3[50][32];
Why, Because i cant use new ExplodeSplit[210][32]; the server just stuck in this command.
So how i can split it ?
Reply
#2

bumppppppppppppp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)