22.05.2016, 14:40
PHP код:
mysql_format(db, query, sizeof(query), "SELECT `IP` FROM `users` WHERE `Username` = BINARY('%s') LIMIT 1", GetpName(playerid)); //selects IP from `users`
mysql_pquery(db, query, "AdminLogs", "d", playerid);
PHP код:
forward AdminLogs(playerid);
public AdminLogs(playerid)
{
//do whatever you want with that IP
return 1;
}