KickPlayer function added in playerlist
This commit is contained in:
1 parent
1ce541e2b0
commit
c9b2ee8335
2 files changed
+23
No files matched your search
@@ -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