This site has been archived and made available for preservation purposes. No edits can be made.
GetCurrentPlayers
(Difference between revisions)
Return to current revision
-
Retrieves the current amount of connected players.
[h="2"] Declaration [/h]
[highlight=cpp]
-
-
VAULTSCRIPT vaultmp::UCount (*GetCurrentPlayers)();
-
+
VAULTSCRIPT VAULTSPACE UCount (*VAULTAPI(GetCurrentPlayers))() _CPP(noexcept);
[/highlight]
[highlight=c]
-
native GetCurrentPlayers();
[/highlight]
[h="2"] Parameters [/h]
None.
[h="2"] Return value [/h]
-
-
Returns a [wiki="UCount"]vaultmp::UCount[/wiki].
-
+
Returns a [wiki="UCount"]UCount[/wiki].
-
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Misc functions[/category]