string question
#6

pawn Код:
new string[15][128];
format(string[0], 128, "lol");
That works. sizeof() seems to not work past the first level of multidimensional arrays.

Although you can just assign the string values and avoid a bunch of formats:

pawn Код:
new string[15][128] = {
    "line 1",
    "line 2",
    ...,
    "line 15"
};
Reply


Messages In This Thread
string question - by Whizion - 24.04.2012, 11:32
Re: string question - by Claude - 24.04.2012, 11:35
Re: string question - by Whizion - 24.04.2012, 11:41
Re: string question - by Claude - 24.04.2012, 11:46
Re: string question - by Whizion - 24.04.2012, 11:57
Re: string question - by mkr - 24.04.2012, 12:13
Re: string question - by BlackBank - 24.04.2012, 12:15
Re: string question - by Whizion - 24.04.2012, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)