Question regarding strings inside arrays
#7

Quote:
Originally Posted by thefirestate
Посмотреть сообщение
Or how about this?

Код HTML:
#define MAX_LANGUAGES 2
enum PLAYER_INFO {
	Language[MAX_LANGUAGES][10],
};
new pInfo[MAX_PLAYERS][PLAYER_INFO];
	
format(pInfo[playerid][Language][0], 10, "English");
format(pInfo[playerid][Language][1], 10, "Russian");

for(new i=0; i < MAX_LANGUAGES; i++) {
	printf("%i %s",i,pInfo[playerid][Language][i]);
}
Not supported.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)