GetMaxSlots Shared function

From Gothic 2 Online: Wiki
Jump to navigation Jump to search

This function was added in version: 0.0.0

Gets the number of server slots.

Syntax

int getMaxSlots()

Returns

  • int: Number of server max slots.

Example

function isServerFull()
{
	return getMaxSlots() == getPlayersCount();
}

Related functions