22.03.2014, 12:12
It depends on what you want to do with it. If you want to store the data to a global variable (for everyone) then:
and to copy a string to another:
and the macro:
However, if you wanted to save each data for a different player, then you'd need to use 1 more dimension for the playerid.
pawn Код:
// global:
new Update_data[128];
pawn Код:
strcpy(Update_data, data, 128);
pawn Код:
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)