Implement /account.php

This commit is contained in:
SilicaAndPina 2021-07-10 00:01:37 +12:00
parent d09a92ef9f
commit db82b96faa
5 changed files with 148 additions and 14 deletions

View file

@ -317,6 +317,19 @@ function getNoPlayersOnlineGlobal()
return $playersOn;
}
function userExistAny($playerId)
{
include('servers.php');
for($i = 0; $i < count($server_list); $i++)
{
if(userid_exists($server_list[$i]['database'], $playerId)){
return true;
}
}
return false;
}
function getNoSubbedPlayersOnlineGlobal()
{
include('servers.php');