GetMaxPlayers
From Onset Developer Wiki
Description
Gets the player slots count
Syntax
GetMaxPlayers()
Parameters
- This function has no parameters.
Return Value
- Returns the player slots count.
Example
AddCommand("players", function(playerid)
AddPlayerChat(playerid, "Max Players: "..GetMaxPlayers())
end)