This site has been archived and made available for preservation purposes. No edits can be made.

GetMaximumPlayers

(Difference between revisions)
Return to current revision
  1.  
    Retrieves the maximum amount of players allowed to connect to this server.
    [h="2"] Declaration [/h]
    [highlight=cpp]
  2. -
    VAULTSCRIPT vaultmp::UCount (*GetMaximumPlayers)();
  3. +
    VAULTSCRIPT VAULTSPACE UCount (*VAULTAPI(GetMaximumPlayers))() _CPP(noexcept);
    native GetMaximumPlayers();
    [/highlight]
    [highlight=c]
  4.  
    native GetMaximumPlayers();
    [/highlight]
    [h="2"] Parameters [/h]
    None.
    [h="2"] Return value [/h]
  5. -
    Returns a [wiki="UCount"]vaultmp::UCount[/wiki].
  6. +
    Returns a [wiki="UCount"]UCount[/wiki].
  7.  
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Misc functions[/category]