Reference/Server_constants/Part_reasons_markers_misc

ConstantValueMeaning
PARTREASON_DISCONNECTED0Left normally
PARTREASON_TIMEOUT1Connection lost
PARTREASON_KICKED2
PARTREASON_BANNED3
PARTREASON_CRASHED4
MARKER_TYPE_BOTH0Player.MarkerType 0 = NO radar blip (the name is historical)
MARKER_TYPE_PLAYER1MarkerType 1 = radar blip only (the default)
MARKER_TYPE_VEHICLE2MarkerType 2 = radar blip + in-world arrow
INVALID_PLAYER_ID255
INVALID_TEAM_ID255
INVALID_TRAIN_ID255
SHARED_VIRTUAL_WORLD255
MAX_PLAYERS / MAX_VEHICLES / MAX_OBJECTS / MAX_PICKUPS128 / 2500 / 5000 / 5000Reference limits (the live server limit for players is GetMaxPlayers()).
MAX_SPHERES / MAX_CLIENTSPHERES512 / 100v0.3.3-r3: 512 spheres, drawn all at once
MAX_CHECKPOINTS / MAX_CLIENTCHECKPOINTS250 / 100
MAX_SPAWNCLASSES / MAX_SPAWNCLASS_WEAPONS150 / 12
MAX_SOUNDS / MAX_SPRITES1000 / 1000MAX_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