07.01.2014, 14:41
GetPlayerName returns the lenght of the player's name. This is not how we copy a string to another string.
pawn Код:
#define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
pawn Код:
strcpy(PlayerInfo[id][pOriginalName], originalname, MAX_PLAYER_NAME);