Reading name from database going wrong.
#1



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);
OnPlayerUpdate
Код:
MySQLUpdatePlayerStr(query, PData[playerid][pSQLID], "JLubaValjastaja", PData[playerid][JLubaValjastaja]);
So what problem is?
Reply


Messages In This Thread
Reading name from database going wrong. - by Typhome - 03.05.2011, 18:40
Re: Reading name from database going wrong. - by Zh3r0 - 03.05.2011, 18:46
Re: Reading name from database going wrong. - by Typhome - 03.05.2011, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)