02.09.2016, 23:21
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];
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];