Array problem.
#1

Error: must be assigned to an array
Код:
new Curse[][][] =
{
	{"Haine", "LS, Fallen Dep", "LS, BOBO", float:-576.3902, float:-497.2471, float:25.1482, float:815.9083, float:-1741.9529, float:13.0871, 10000},
	{"Blugi", "LS, Fallen Dep", "LS, Victim", float:-576.3902, float:-497.2471, float:25.1482, float:455.3918, float:-1502.1124, float:30.5764, 15000},
	{"Pantofi", "LS, Fallen Dep", "LS, Binco", float:-576.3902, float:-497.2471, float:25.1482, float:455.3918, float:-1502.1124, float:30.5764, 14000},
	{"Adidasi", "LS, Fallen Dep", "LS, Pig Pen", float:-576.3902, float:-497.2471, float:25.1482, float:2422.2314, float:-1228.7395, float:24.5227, 8000},
	{"Tricouri", "LS, Fallen Dep", "LS, Mall", float:-576.3902, float:-497.2471, float:25.1482, float:2422.2314, float:-1228.7395, float:24.5227, 16000},
	{"Porti", "LS, Fallen Dep", "LS, Stadion", float:-576.3902, float:-497.2471, float:25.1482, float:2422.2314, float:-1228.7395, float:24.5227, 17500},
	{"Geci", "LS, Docuri", "LS, BOBO", float:2759.9453, float:-2365.6296, float:13.2578, float:815.9083, float:-1741.9529, float:13.0871, 9000},
	{"Sandale", "LS, Docuri", "LS, Victim", float:2759.9453, float:-2365.6296, float:13.2578, float:455.3918, float:-1502.1124, float:30.5764, 14000},
	{"Tenisi", "LS, Docuri", "LS, Binco", float:2759.9453, float:-2365.6296, float:13.2578, float:455.3918, float:-1502.1124, float:30.5764, 13000},
	{"Haine", "LS, Docuri", "LS, Pig Pen", float:2759.9453, float:-2365.6296, float:13.2578, float:2422.2314, float:-1228.7395, float:24.5227, 10000},
	{"Bijuterii", "LS, Docuri", "LS, Mall", float:2759.9453, float:-2365.6296, float:13.2578, float:2422.2314, float:-1228.7395, float:24.5227, 14000},
	{"Mingi", "LS, Docuri", "LS, Stadion", float:2759.9453, float:-2365.6296, float:13.2578, float:2422.2314, float:-1228.7395, float:24.5227, 12500}
};
Код:
MisiuneInfo[playerid][mLoadp_x] = Curse[idt][3]; // Error
MisiuneInfo[playerid][mLoadp_y] = Curse[idt][4]; // Error
MisiuneInfo[playerid][mLoadp_z] = Curse[idt][5]; // Error
MisiuneInfo[playerid][mUnLoadp_x] = Curse[idt][6]; // Error
MisiuneInfo[playerid][mUnLoadp_y] = Curse[idt][7]; // Error
MisiuneInfo[playerid][mUnLoadp_z] = Curse[idt][8]; // Error
strcpy(MisiuneInfo[playerid][mMarfa], Curse[idt][0], 40);
strcpy(MisiuneInfo[playerid][mLoadp], Curse[idt][1], 40);
strcpy(MisiuneInfo[playerid][mUnloadp], Curse[idt][2], 40);
Reply


Messages In This Thread
Array problem. - by [RO]Five - 14.02.2014, 17:49
Re: Array problem. - by ACI - 14.02.2014, 17:52
Re: Array problem. - by [RO]Five - 14.02.2014, 17:58
Re: Array problem. - by Konstantinos - 14.02.2014, 18:06
Re: Array problem. - by [RO]Five - 14.02.2014, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)