diff --git a/html/playerlist.html b/html/playerlist.html index 83730a4..4feacba 100644 --- a/html/playerlist.html +++ b/html/playerlist.html @@ -13,6 +13,8 @@ + + @@ -24,6 +26,20 @@ + + + diff --git a/js/playerlist.js b/js/playerlist.js index f2f8588..390ab88 100644 --- a/js/playerlist.js +++ b/js/playerlist.js @@ -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 ()
ActionsUsername Steamid Voilation
+
+ + +
+
{{line.DisplayName}}