array
#1

Code:
CMD:realizare(playerid, params[]) {
	if(gPlayerLogged[playerid] ==0) return 1;
	new string[256], string2[256], status;
	strcat(string2, "Realizare\tStatus\n");
	for(new i = 0; i < 3; i++) {
		if(PlayerInfo[playerid][pAchievement][i] == 0) status = "{FF0000}Realizare incompleta";
		else if(PlayerInfo[playerid][pAchievement][i] == 1) status = "{00FF00}Realizare completa";

		format(string,sizeof(string), "%s\t%s\n", Realizari(i), status);
		strcat(string, string2);
	}
	ShowPlayerDialog(playerid, DIALOG_REALIZARE, DIALOG_STYLE_TABLIST_HEADERS, "Realizari:", string2, "SELECT", "CLOSE");
	return 1;
}
D:\server\gamemodes\ExtremeGame.pwn(31169) : error 006: must be assigned to an array
D:\server\gamemodes\ExtremeGame.pwn(31170) : error 006: must be assigned to an array
Reply


Messages In This Thread
array - by enzulikeS - 09.03.2018, 12:21
Re: array - by wallen - 09.03.2018, 12:23
Re: array - by skuller12 - 09.03.2018, 12:29
Re: array - by enzulikeS - 09.03.2018, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)