Skip to content
samp-incognito edited this page Mar 25, 2017 · 9 revisions

HomeDefinitions

Item Types

#define STREAMER_TYPE_OBJECT (0)
#define STREAMER_TYPE_PICKUP (1)
#define STREAMER_TYPE_CP (2)
#define STREAMER_TYPE_RACE_CP (3)
#define STREAMER_TYPE_MAP_ICON (4)
#define STREAMER_TYPE_3D_TEXT_LABEL (5)
#define STREAMER_TYPE_AREA (6)
#define STREAMER_TYPE_ACTOR (7)

Area Types

#define STREAMER_AREA_TYPE_CIRCLE (0)
#define STREAMER_AREA_TYPE_CYLINDER (1)
#define STREAMER_AREA_TYPE_SPHERE (2)
#define STREAMER_AREA_TYPE_RECTANGLE (3)
#define STREAMER_AREA_TYPE_CUBOID (4)
#define STREAMER_AREA_TYPE_POLYGON (5)

Object Types

#define STREAMER_OBJECT_TYPE_GLOBAL (0)
#define STREAMER_OBJECT_TYPE_PLAYER (1)
#define STREAMER_OBJECT_TYPE_DYNAMIC (2)

Miscellaneous

#define STREAMER_MAX_TYPES (8)
#define STREAMER_MAX_AREA_TYPES (5)
#define STREAMER_MAX_OBJECT_TYPES (3)
#define INVALID_STREAMER_ID (0)

Default Draw Distances and Streaming Distances

#define STREAMER_OBJECT_SD 300.0
#define STREAMER_OBJECT_DD 0.0
#define STREAMER_PICKUP_SD 200.0
#define STREAMER_CP_SD 200.0
#define STREAMER_RACE_CP_SD 200.0
#define STREAMER_MAP_ICON_SD 200.0
#define STREAMER_3D_TEXT_LABEL_SD 200.0
#define STREAMER_ACTOR_SD 200.0
  • If STREAMER_OBJECT_DD is set to 0.0, each object's default draw distance (as defined by the game) will be used.
  • These values can be reconfigured by defining them before streamer.inc is included in the script.