02.01.2010, 10:36
Hey there,
wondered whether it's possible to create "player specific" multidimensional string arrays.
As an example which doesn't work but to get you an idea of what I mean:
new strings[playerid][playerstrings];
enum playerstrings{
string[5][128]
};
(Fuck the syntax errors, that's just to get you an idea of what I mean)
The aim is that you can call different strings like:
string[playerid][string][0]
string[playerid][string][1]
string[playerid][string][2]
and so on... without having a damn non dynamic way, creating each time a new one like:
string[playerid][string1];
string[playerid][string2];
Does anyone know how to code that?
Thanks for help,
regards!
wondered whether it's possible to create "player specific" multidimensional string arrays.
As an example which doesn't work but to get you an idea of what I mean:
new strings[playerid][playerstrings];
enum playerstrings{
string[5][128]
};
(Fuck the syntax errors, that's just to get you an idea of what I mean)
The aim is that you can call different strings like:
string[playerid][string][0]
string[playerid][string][1]
string[playerid][string][2]
and so on... without having a damn non dynamic way, creating each time a new one like:
string[playerid][string1];
string[playerid][string2];
Does anyone know how to code that?
Thanks for help,
regards!