PHP Code:
args = [];
args[0] = player;
self maps\mp\gametypes\_mysql::asyncquery(yourquery, ::showlocation, args);
PHP Code:
showlocation(rows, args)
{
if(!isdefined(args[0]))
return;
if(isdefiend(rows) && isdefined(rows[0]) && isdefined(rows[0]["country"]))
self iprintln(args[0].name + " is from " + rows[0]["country"]);
}