Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new ip[32];
- new hour, minuite, second;
- new day, month, year;
- getdate(year, month, day);
- gettime(hour, minuite, second);
- GetPlayerIp(playerid, ip, 32);
- mysql_format(MySQL, mquery, sizeof(mquery), "INSERT INTO "TABLE_CONNECTS" (ID, Name, IP, Date, Time) VALUES ('%i', '%e', '%e', '%d.%d.%d', '%02d:%02d:%02d')", TOTALCONNECTS, GetName(playerid), ip, day, month, year, hour, minuite, second);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement