[HELP] Multi dimensional arrays
#1

Hi at all!
So, I have this
pawn Код:
new HouseOwner[128];
And I assign a string:
pawn Код:
HouseOwner[128] = "LolMan95";
But, if I want to assign another array:
pawn Код:
new HouseOwner[MAX_PLAYERS][128];
HouseOwner[playerid][128] = "LolMan95";
It give me some errors like: "expression has no effect".
How can I assign a string to a variabile with two arrays?
Reply


Messages In This Thread
[HELP] Multi dimensional arrays - by ReDevilGames - 14.02.2013, 19:24
Re: [HELP] Multi dimensional arrays - by PaulDinam - 14.02.2013, 19:29
Re: [HELP] Multi dimensional arrays - by park4bmx - 14.02.2013, 19:33
Re: [HELP] Multi dimensional arrays - by ReDevilGames - 14.02.2013, 19:40

Forum Jump:


Users browsing this thread: 1 Guest(s)