3.12.2010 09:30
Are you going to be adding any more features to this for Black Ops?
Moustache Wrote:Go to the map: PHP_Rcon\commandsThanks!
And open the .txt file of the game you are using. Remove what you want
Or don't you mean that?
$_SESSION['sess_rcon_appdir'] = getcwd(); // static to the instance, has to be the system working dir of php rcon root
$_SESSION['sess_rcon_lang'] = 'en';
$_SESSION['sess_rcon_rights'] = 1; //2=limited
$dbname = "dbname_e1071";
$con = mysql_connect("localhost","dbuser_e1071","dbpass");
if (!$con) { die('Could not connect: ' . mysql_error()); }
mysql_select_db("dbname_e1071", $con);
$result = mysql_query("SELECT user_name, user_rconpass, user_rconsuspend FROM e107__user FULL JOIN e107__user_extended ON user_id = user_extended_id WHERE user_class LIKE '%7%'");
while($row = mysql_fetch_array($result)) { if($row['user_rconsuspend'] == 0) { $list_of_users[] = $row['user_name'] ." ". $row['user_rconpass'] ." 1 en"; } }
mysql_close($con);