03.05.2011, 20:59
Код:
SavePlayer(playerid);{ new saveQuery[1000]; new ppass = PlayerInfo[playerid][pKey]; new plevel = PlayerInfo[playerid][pLevel]; format(saveQuery, sizeof(saveQuery), "UPDATE `playerinfo` SET `password` = '%s', `level` = '%d' WHERE `user` = '%s' " ,ppass , plevel , GetName(playerid)); mysql_query(saveQuery); mysql_free_result(); }
in mysql i get this
password = b
level = 15
only first letter from pass :S
level is ok
why pass not show at all ?