Damages
#3

You're doing CorpseInjury[id][i][j] = Injury[playerid][i][j];
But...
corpseInjuries is only a multidimensional array. You're setting its data like it was a three dimensional array.
Are you sure you didn't mean to define corpseInjuries like so?:
corpseInjuries[MAX_PLAYERS][MAX_BODY_PARTS][MAX_WEAPONS]

If not, then replace this:
CorpseInjury[id][i][j] = Injury[playerid][i][j];

by this:
CorpseInjury[i][j] = Injury[playerid][i][j];
Reply


Messages In This Thread
Damages - by GoldenLion - 02.09.2016, 15:14
Re: Damages - by GoldenLion - 02.09.2016, 20:43
Re: Damages - by jwh - 02.09.2016, 23:21
Re: Damages - by GoldenLion - 03.09.2016, 10:39

Forum Jump:


Users browsing this thread: 1 Guest(s)