11.03.2013, 14:02
Hello , is it possible for me to convert this to ini from MySQL? I dont know MySQL language, i'm still learning thanks.
and explain it to me aswell , thanks
Код:
if(PlayerInfo[playerid][pAdmin] == 8)format(string, sizeof(string), "INSERT INTO dm_player (id,reporter,timestamp,superwatch) VALUES (%d,%d,%d,1)", GetPlayerSQLId(giveplayerid), GetPlayerSQLId(playerid), gettime()); else format(string, sizeof(string), "INSERT INTO dm_player (id,reporter,timestamp) VALUES (%d,%d,%d)", GetPlayerSQLId(giveplayerid), GetPlayerSQLId(playerid), gettime()); mysql_function_query(MainPipeline, string, false, "OnQueryFinish", "ii", SENDDATA_THREAD, playerid);