GetPlayerCount: Difference between revisions
From Onset Developer Wiki
X7airworker (talk | contribs) No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
AddCommand("players", function(playerid) | |||
end) | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
* [[GetMaxPlayers]] |
Revision as of 16:59, 17 November 2019
Description
Gets the count of the online players.
Syntax
GetPlayerCount()
Parameters
- This function has no parameters.
Return Value
- Count of players.
Example
AddCommand("players", function(playerid) end)