1. Don't use quotations around numbers.
2. Your Name and PlayedTime variables are placed incorrectly, which could be the cause.
3. You have g_iPlayersInfo[iPlayer][PlayedTime] as a string which I assume is an integer as well
4.
Use steam id as the key, not name. I can join your server using someone elses name and have all of their stats, it makes no sense.
Try:
PHP Code:
formatex(szQuery, charsmax(szQuery), "UPDATE `%s` SET `frags`=%i , `deaths`=%i , `played_time`=%d WHERE `name` = ^"%s^";",
g_szTables[0], g_iPlayersInfo[iPlayer][Frags], g_iPlayersInfo[iPlayer][Deaths], g_iPlayersInfo[iPlayer][PlayedTime] , g_iPlayersInfo[iPlayer][Name] )
__________________