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

GetCurrentPlayers

(Difference between revisions)
Return to current revision
  1.  
    Retrieves the current amount of connected players.
    [h="2"] Declaration [/h]
    [highlight=cpp]
  2. -
    VAULTSCRIPT vaultmp::UCount (*GetCurrentPlayers)();
  3. +
    VAULTSCRIPT VAULTSPACE UCount (*VAULTAPI(GetCurrentPlayers))() _CPP(noexcept);
    [/highlight]
    [highlight=c]
  4.  
    native GetCurrentPlayers();
    [/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]