How to make this array to store strings?
#1

I have this array, how I need to remake it to store strings?
Код:
new PlayerTexts[MAX_PLAYERS][1000];
Because now I get:
Код:
error 006: must be assigned to an array
Array info like this:
Код:
PlayerTexts[playerid][0] = "Some text 1";
PlayerTexts[playerid][1] = "Some text 2";
PlayerTexts[playerid][2] = "Some text 3";
...
I use like this:
Код:
PlayerTexts[playerid][0]
PlayerTexts[playerid][1]
PlayerTexts[playerid][2]
...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)