KickPlayer function added in playerlist
This commit is contained in:
@@ -32,6 +32,13 @@ function PlayerListController( $scope, rconService, $interval )
|
||||
return null;
|
||||
}
|
||||
|
||||
$scope.KickPlayer = function ( id )
|
||||
{
|
||||
rconService.Command( 'kick ' + id );
|
||||
|
||||
$scope.Refresh();
|
||||
}
|
||||
|
||||
rconService.InstallService( $scope, $scope.Refresh )
|
||||
|
||||
var timer = $interval( function ()
|
||||
|
||||
Reference in New Issue
Block a user