30.12.2018, 18:41
This is what happens at OnPlayerText:
this is what happens in the database:
The only working lines are the database ID and the time. What did I do wrong here? I can't see it.
Код:
static query[168 + 50]; format(query, sizeof(query), "INSERT INTO chatlogs(acc_dbid, acc_name, playerid, time, text) VALUES('%i', '%e', '%i', UTC_TIMESTAMP(), '%e')", PlayerInfo[playerid][pDBID], ReturnName(playerid), playerid, text); mysql_tquery(g_SQL, query);
The only working lines are the database ID and the time. What did I do wrong here? I can't see it.