Перейти к содержанию

GetMaxPlayers

Материал из RAGE MP Wiki Archive

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


int NAPI.Server.GetMaxPlayers();

Example

<syntaxhighlight lang="csharp"> int maxPlayers = NAPI.Server.GetMaxPlayers(); </syntaxhighlight>