20.04.2013, 10:33
Please don't use format to copy a string
Use ****** strcpy macro to keep it simple
pawn Код:
//instead
format(gPlayerInfo[playerid][PLAYER_PASS], 129, "%s", newpassword);
//use
strcat((gPlayerInfo[playerid][PLAYER_PASS][0] = EOS, gPlayerInfo[playerid][PLAYER_PASS]), newpassword, 129);
pawn Код:
strcpy(gPlayerInfo[playerid][PLAYER_PASS], newpassword, 129);