29.01.2014, 12:06
You forgot "Graffiti" before [playerid].
A way easier would be to use macro for it:
and the usage:
Note that the array should be declared:
since you have one more index (playerid).
pawn Код:
strcat((Graffiti[playerid][active_character[playerid]][asicerik][0] = '\0', Graffiti[playerid][active_character[playerid]][asicerik]), inputtext, 128);
pawn Код:
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
pawn Код:
strcpy(Graffiti[playerid][active_character[playerid]][asicerik], inputtext, 128);
pawn Код:
new Graffiti[MAX_PLAYERS][MAX_GRAFFITI][grafInfo];