#if defined _INC_a_samp #endinput #endif #if defined _INC_a_npc #error Include `` or ``, not both. #endif #define _INC_a_samp #define _samp_included #define SAMP_CONST_CORRECT #pragma tabsize 4 #if !defined MAX_PLAYER_NAME #define MAX_PLAYER_NAME (24) #endif #if !defined MAX_PLAYERS #define MAX_PLAYERS (1000) #endif #if !defined MAX_VEHICLES #define MAX_VEHICLES (2000) #endif #if !defined MAX_ACTORS #define MAX_ACTORS (1000) #endif #if !defined MAX_OBJECTS #define MAX_OBJECTS (2000) #endif #if !defined MAX_GANG_ZONES #define MAX_GANG_ZONES (1024) #endif #if !defined MAX_TEXT_DRAWS #define MAX_TEXT_DRAWS (Text:2048) #endif #if !defined MAX_PLAYER_TEXT_DRAWS #define MAX_PLAYER_TEXT_DRAWS (PlayerText:256) #endif #if !defined MAX_MENUS #define MAX_MENUS (Menu:128) #endif #if !defined MAX_3DTEXT_GLOBAL #define MAX_3DTEXT_GLOBAL (Text3D:1024) #endif #if !defined MAX_3DTEXT_PLAYER #define MAX_3DTEXT_PLAYER (PlayerText3D:1024) #endif #if !defined MAX_PICKUPS #define MAX_PICKUPS (4096) #endif #define NO_TEAM (255) #define INVALID_PLAYER_ID (0xFFFF) #define INVALID_VEHICLE_ID (0xFFFF) #define INVALID_ACTOR_ID (0xFFFF) #define INVALID_OBJECT_ID (0xFFFF) #define INVALID_MENU (Menu:0xFF) #define INVALID_TEXT_DRAW (Text:0xFFFF) #define INVALID_PLAYER_TEXT_DRAW (PlayerText:0xFFFF) #define INVALID_GANG_ZONE (-1) #define INVALID_3DTEXT_ID (Text3D:0xFFFF) #define INVALID_PLAYER_3DTEXT_ID (PlayerText3D:0xFFFF) #define PLAYER_STATE_NONE (0) #define PLAYER_STATE_ONFOOT (1) #define PLAYER_STATE_DRIVER (2) #define PLAYER_STATE_PASSENGER (3) #define PLAYER_STATE_EXIT_VEHICLE (4) #define PLAYER_STATE_ENTER_VEHICLE_DRIVER (5) #define PLAYER_STATE_ENTER_VEHICLE_PASSENGER (6) #define PLAYER_STATE_WASTED (7) #define PLAYER_STATE_SPAWNED (8) #define PLAYER_STATE_SPECTATING (9) #define PLAYER_MARKERS_MODE_OFF (0) #define PLAYER_MARKERS_MODE_GLOBAL (1) #define PLAYER_MARKERS_MODE_STREAMED (2) #define UNKNOWN_WEAPON (-1) #define WEAPON_FIST (0) #define WEAPON_BRASSKNUCKLE (1) #define WEAPON_GOLFCLUB (2) #define WEAPON_NITESTICK (3) #define WEAPON_KNIFE (4) #define WEAPON_BAT (5) #define WEAPON_SHOVEL (6) #define WEAPON_POOLSTICK (7) #define WEAPON_KATANA (8) #define WEAPON_CHAINSAW (9) #define WEAPON_DILDO (10) #define WEAPON_DILDO2 (11) #define WEAPON_VIBRATOR (12) #define WEAPON_VIBRATOR2 (13) #define WEAPON_FLOWER (14) #define WEAPON_CANE (15) #define WEAPON_GRENADE (16) #define WEAPON_TEARGAS (17) #define WEAPON_MOLTOV (18) #define WEAPON_COLT45 (22) #define WEAPON_SILENCED (23) #define WEAPON_DEAGLE (24) #define WEAPON_SHOTGUN (25) #define WEAPON_SAWEDOFF (26) #define WEAPON_SHOTGSPA (27) #define WEAPON_UZI (28) #define WEAPON_MP5 (29) #define WEAPON_AK47 (30) #define WEAPON_M4 (31) #define WEAPON_TEC9 (32) #define WEAPON_RIFLE (33) #define WEAPON_SNIPER (34) #define WEAPON_ROCKETLAUNCHER (35) #define WEAPON_HEATSEEKER (36) #define WEAPON_FLAMETHROWER (37) #define WEAPON_MINIGUN (38) #define WEAPON_SATCHEL (39) #define WEAPON_BOMB (40) #define WEAPON_SPRAYCAN (41) #define WEAPON_FIREEXTINGUISHER (42) #define WEAPON_CAMERA (43) #define WEAPON_PARACHUTE (46) #define WEAPON_VEHICLE (49) #define WEAPON_DROWN (53) #define WEAPON_COLLISION (54) #define KEY_ACTION (1) #define KEY_CROUCH (2) #define KEY_FIRE (4) #define KEY_SPRINT (8) #define KEY_SECONDARY_ATTACK (16) #define KEY_JUMP (32) #define KEY_LOOK_RIGHT (64) #define KEY_HANDBRAKE (128) #define KEY_LOOK_LEFT (256) #define KEY_SUBMISSION (512) #define KEY_LOOK_BEHIND (512) #define KEY_WALK (1024) #define KEY_ANALOG_UP (2048) #define KEY_ANALOG_DOWN (4096) #define KEY_ANALOG_LEFT (8192) #define KEY_ANALOG_RIGHT (16384) #define KEY_YES (65536) #define KEY_NO (131072) #define KEY_CTRL_BACK (262144) #define KEY_UP (-128) #define KEY_DOWN (128) #define KEY_LEFT (-128) #define KEY_RIGHT (128) #define DIALOG_STYLE_MSGBOX (0) #define DIALOG_STYLE_INPUT (1) #define DIALOG_STYLE_LIST (2) #define DIALOG_STYLE_PASSWORD (3) #define DIALOG_STYLE_TABLIST (4) #define DIALOG_STYLE_TABLIST_HEADERS (5) #define TEXT_DRAW_FONT_SPRITE_DRAW (4) #define TEXT_DRAW_FONT_MODEL_PREVIEW (5) #define SERVER_VARTYPE_NONE (0) #define SERVER_VARTYPE_INT (1) #define SERVER_VARTYPE_STRING (2) #define SERVER_VARTYPE_FLOAT (3) #define DOWNLOAD_REQUEST_EMPTY (0) #define DOWNLOAD_REQUEST_MODEL_FILE (1) #define DOWNLOAD_REQUEST_TEXTURE_FILE (2) #define CLICK_SOURCE_SCOREBOARD (0) #define EDIT_RESPONSE_CANCEL (0) #define EDIT_RESPONSE_FINAL (1) #define EDIT_RESPONSE_UPDATE (2) #define SELECT_OBJECT_GLOBAL_OBJECT (1) #define SELECT_OBJECT_PLAYER_OBJECT (2) #define BULLET_HIT_TYPE_NONE (0) #define BULLET_HIT_TYPE_PLAYER (1) #define BULLET_HIT_TYPE_VEHICLE (2) #define BULLET_HIT_TYPE_OBJECT (3) #define BULLET_HIT_TYPE_PLAYER_OBJECT (4) #if MAX_PLAYER_NAME < 3 || MAX_PLAYER_NAME > 24 #error MAX_PLAYER_NAME must be >= 3 and <= 24 #endif #if MAX_PLAYERS < 1 || MAX_PLAYERS > 1000 #error MAX_PLAYERS must be >= 1 and <= 1000 #endif #if MAX_VEHICLES < 1 || MAX_VEHICLES > 2000 #error MAX_VEHICLES must be >= 1 and <= 2000 #endif #if MAX_ACTORS < 1 || MAX_ACTORS > 1000 #error MAX_ACTORS must be >= 1 and <= 1000 #endif #if MAX_OBJECTS < 1 || MAX_OBJECTS > 2000 #error MAX_OBJECTS must be >= 1 and <= 2000 #endif #if MAX_GANG_ZONES < 1 || MAX_GANG_ZONES > 1024 #error MAX_GANG_ZONES must be >= 1 and <= 1024 #endif #if MAX_TEXT_DRAWS < Text:1 || MAX_TEXT_DRAWS > Text:2048 #error MAX_TEXT_DRAWS must be >= 1 and <= 2048 #endif #if MAX_PLAYER_TEXT_DRAWS < PlayerText:1 || MAX_PLAYER_TEXT_DRAWS > PlayerText:256 #error MAX_PLAYER_TEXT_DRAWS must be >= 1 and <= 256 #endif #if MAX_MENUS < Menu:1 || MAX_MENUS > Menu:128 #error MAX_MENUS must be >= 1 and <= 128 #endif #if MAX_3DTEXT_GLOBAL < Text3D:1 || MAX_3DTEXT_GLOBAL > Text3D:1024 #error MAX_3DTEXT_GLOBAL must be >= 1 and <= 1024 #endif #if MAX_3DTEXT_PLAYER < PlayerText3D:1 || MAX_3DTEXT_PLAYER > PlayerText3D:1024 #error MAX_3DTEXT_PLAYER must be >= 1 and <= 1024 #endif #if MAX_PICKUPS < 1 || MAX_PICKUPS > 4096 #error MAX_PICKUPS must be >= 1 and <= 4096 #endif public const SAMP_INCLUDES_VERSION = 0x037030; #pragma unused SAMP_INCLUDES_VERSION #include #include #include #include #include