Skip to content

function getPlayersCount (shared-side)

Available since version: 0.1.10

This function will return the number of online players on the server.

Declaration

int getPlayersCount()

Parameters

No parameters.

Returns int

Number of players on the server.