03.05.2011, 18:40
That is the problem, while system taking database/reading name, then it destroy (one in front of the letter) a name.
My gamename is Martin Sulov, then it will be artin_Sulov.
I log out of game and setting at database/name to Martin_Sulov. When i go ingame, then it will be changed to artin_Sulov. (Happens too that dialog. At first picture)
OnPlayerLogin
Код:
mysql_fetch_field_row(Field,"JLubaValjastaja"); PData[playerid][JLubaValjastaja] = strmid(PData[playerid][JLubaValjastaja], Field, 0, strlen(Field), 255);
Код:
MySQLUpdatePlayerStr(query, PData[playerid][pSQLID], "JLubaValjastaja", PData[playerid][JLubaValjastaja]);