Skip to content

function getPlayersCount (server-side)

Available since version: 0.0.0

The function will get the current number of online players on the server.

Declaration

int getPlayersCount()

Parameters

No parameters.

Returns int

Number of players on the server.