BanPlayer

From RAGE Multiplayer Wiki

Bans the player from joining the current server.


C# Syntax

void NAPI.Player.BanPlayer(Player player, string reason = "");

Parameters

  • player: parameter input should be in Player type
  • reason: optional parameter, input should be in string type


Example

// Code here...