Reference/Server_constants/Part_reasons_markers_misc
| Constant | Value | Meaning |
|---|---|---|
PARTREASON_DISCONNECTED | 0 | Left normally |
PARTREASON_TIMEOUT | 1 | Connection lost |
PARTREASON_KICKED | 2 | |
PARTREASON_BANNED | 3 | |
PARTREASON_CRASHED | 4 | |
MARKER_TYPE_BOTH | 0 | Player.MarkerType 0 = NO radar blip (the name is historical) |
MARKER_TYPE_PLAYER | 1 | MarkerType 1 = radar blip only (the default) |
MARKER_TYPE_VEHICLE | 2 | MarkerType 2 = radar blip + in-world arrow |
INVALID_PLAYER_ID | 255 | |
INVALID_TEAM_ID | 255 | |
INVALID_TRAIN_ID | 255 | |
SHARED_VIRTUAL_WORLD | 255 | |
MAX_PLAYERS / MAX_VEHICLES / MAX_OBJECTS / MAX_PICKUPS | 128 / 2500 / 5000 / 5000 | Reference limits (the live server limit for players is GetMaxPlayers()). |
MAX_SPHERES / MAX_CLIENTSPHERES | 512 / 100 | v0.3.3-r3: 512 spheres, drawn all at once |
MAX_CHECKPOINTS / MAX_CLIENTCHECKPOINTS | 250 / 100 | |
MAX_SPAWNCLASSES / MAX_SPAWNCLASS_WEAPONS | 150 / 12 | |
MAX_SOUNDS / MAX_SPRITES | 1000 / 1000 | MAX_SOUNDS is the number of sound FILES. Sound instances alive at once (FindSound): 256 on the client, 128 for the server-side Sound API (0.5-rc2 and older: 16, more returned null). |
Categories: Server constants