GetMaxPlayers

From RAGE Multiplayer Wiki

Returns the max players of the server set in conf.json ("maxplayers").


C# Syntax

int NAPI.Server.GetMaxPlayers();

Example

int maxPlayers = NAPI.Server.GetMaxPlayers();