KickPlayer function added in playerlist

This commit is contained in:
alexfriesen committed 2016-04-30 17:03:19 +02:00
1 parent 1ce541e2b0
commit c9b2ee8335
2 files changed
+23

No files matched your search

+7
View File
@@ -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 ()