hmm someone know this cript, plz share me, i need it now
hmm someone know this cript, plz share me, i need it now
SELECT online FROM accounts WHERE online = '1'
no, mate. its the script on mysql, i need the script on mssql, irose server run on mssql
Code it by yourself...
well i know how, wait a sec i post it.
don't forget to clear the login log by every shutdown!PHP Code:mssql_connect( 'localhost, 'sa', '****' );
$query = mssql_query( "SELECT * FROM SHO_LOG..WS_LoginLog WHERE Login = '0'" );
$row1 = mssql_num_rows( $query );
$query = mssql_query( "SELECT * FROM SHO_LOG..WS_LoginLog WHERE Login = '1'" );
$row2 = mssql_num_rows( $query );
$row = $row1 - $row2;
echo "Online: ".$row."";
thanks i was trying to make that script my self also but now its working thanks for you code.
i am trying now to make a list that displayed the online players also
Is there a way to get this stuff for EVO aswell or is it the same stuff?