12.05.2014, 09:42
see this
Quote:
//---------------------------------[O.3c Colors]-------------------------// #define COL_EASY "{FFF1AF}" #define COL_WHITE "{FFFFFF}" #define COL_BLACK "{0E0101}" #define COL_GREY "{C3C3C3}" #define COL_NICEGREEN "{6EF83C}" #define COL_RED "{A80000}" #define COL_NICERED "{F81414}" #define COL_YELLOW "{F3FF02}" #define COL_YELLOW2 "{DAE368}" #define COL_BYELLOW "{FFFF80}" #define COL_ORANGE "{FFAF00}" #define COL_LIME "{B7FF00}" #define COL_CYAN "{00FFEE}" #define COL_LIGHTBLUE "{00C0FF}" #define COL_BLUE "{0049FF}" #define COL_MAGENTA "{F300FF}" #define COL_VIOLET "{B700FF}" #define COL_PINK "{FF00EA}" #define COL_MARONE "{A90202}" #define COL_CMD "{B8FF02}" #define COL_PARAM "{3FCD02}" #define COL_SERVER "{AFE7FF}" #define COL_VALUE "{A3E4FF}" #define COL_RULE "{F9E8B7}" #define COL_RULE2 "{FBDF89}" #define COL_RWHITE "{FFFFFF}" #define COL_LGREEN "{C9FFAB}" #define COL_LRED "{FFA1A1}" #define COL_LRED2 "{C77D87}" #define COL_GREEN "{00BC2E}" #define COL_LBLUE "{00A5FF}" #define EMBED_WHITE "{6422DD}" #define DARK_PURPLE "{800040}" #define BIZ_HEX "{F5DEB3}" #define GARAGE_HEX "{FFA500}" #define COL_VIP "{630469}" #define COL_NEWBIE "{5B9CBB}" //----------------------------------------[Single-Name Colors]------------------// #define ADMINCHAT 0x00FF00FF #define ILLEGAL 0xE1B0B0FF #define GREY1 0xB4B5B7FF #define GREY2 0xBFC0C2FF #define GREY3 0xCBCCCEFF #define GREY4 0xD8D8D8FF #define GREY5 0xE3E3E3FF #define GREY6 0xF0F0F0FF #define GREY 0xAFAFAFFF #define GREEN 0x33AA33FF #define RED 0xAA3333FF #define BLACK 0x000001FF #define BLUE 0x007BD0FF #define LIGHTORANGE 0xFFA100FF #define FLASH 0xFF000080 #define COLOR_BLUE 0x2641FEAA #define LIGHTRED 0xFF6347FF #define LIGHTBLUE 0x33CCFFFF #define LIGHTGREEN 0x9ACD32FF #define YELLOW 0xFFFF00FF #define LIGHTYELLOW 0xFFFF91FF #define YELLOW2 0xF5DEB3FF #define WHITE 0xFFFFFFFF #define FADE1 0xE6E6E6E6 #define FADE2 0xC8C8C8C8 #define FADE3 0xAAAAAAFF #define FADE4 0x8C8C8C8C #define FADE5 0x6E6E6E6E #define PURPLE 0xC2A2DAAA #define DBLUE 0x2641FEFF #define DOC 0xFF8282FF #define DCHAT 0xF0CC00FF #define NEWS 0xFFA500FF #define OOC 0xE0FFFFFF #define TEAM_BLUE_COLOR 0x8D8DFF00 #define TEAM_GROVE_COLOR 0x00AA00FF #define TEAM_AZTECAS_COLOR 0x01FCFFC8 #define NEWBIE_COLOR 0x7DAEFFFF #define HOUSETEXT 0xBDB388FF #define ORANGE 0xFF8300FF #define SAMP_COLOR 0xAAC4E5FF #define BIZ 0xE85D00FF //----------------------------------------[Colors]------------------------------// #define green 0x45E01FFF #define COLOR_NICERED 0xFF0000FF #define COLOR_VIP 0xECFF0000 #define COLOR_NICEGREEN 0x00FF00FF #define TEAM_TAXI_COLOR 0xFFFF5000 #define COL_NEWBIEB 0x5B9CBBFF #define COLOR_BITEM 0xE1B0B0FF #define COLOR_GRAD1 0xB4B5B7FF #define COLOR_GRAD2 0xBFC0C2FF #define COLOR_GRAD3 0xCBCCCEFF #define COLOR_GRAD4 0xD8D8D8FF #define COLOR_CAR 0x7DAEFFFF #define COLOR_GRAD5 0xE3E3E3FF #define COLOR_GRAD6 0xF0F0F0FF #define COLOR_DEV 0xFFFF91FF #define COLOR_ADMIN 0xB2EBE0AA #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_RED 0xAA3333AA #define COLOR_LIGHTRED 0xFF6347AA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_LIGHTGREEN 0x9ACD32AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_LIGHTYELLOW 0xFFFF91FF #define COL_FORUM 0x808000C8 #define COLOR_YELLOW2 0xF5DEB3AA #define COLOR_TAN 0xD2B48CFF #define COLOR_WHITE 0xFFFFFFAA #define COLOR_FADE1 0xE6E6E6E6 #define COLOR_FADE2 0xC8C8C8C8 #define COLOR_FADE3 0xAAAAAAAA #define COLOR_FADE4 0x8C8C8C8C #define COLOR_FADE5 0x6E6E6E6E #define COLOR_PURPLE 0xC2A2DAAA #define COLOR_CHAT1 0xF9B7FFAA #define COLOR_CHAT2 0xE6A9ECAA #define COLOR_CHAT3 0xC38EC7AA #define COLOR_CHAT4 0xD2B9D3AA #define COLOR_CHAT5 0xC6AEC7AA #define TEAM_CYAN_COLOR 0xFF8282AA #define COLOR_DBLUE 0x2641FEAA #define COLOR_DOC 0xFF8282AA #define COLOR_DCHAT 0xF0CC00FF #define COLOR_NEWS 0xFFA500AA #define COLOR_OOC 0xE0FFFFAA #define COLOR_ORANGE 0xFF9900AA #define TEAM_BLUE_COLOR 0x8D8DFF00 #define TEAM_GROVE_COLOR 0x00AA00FF #define ENT_COLOR 0xFF6347FF #define TEAM_AZTECAS_COLOR 0x01FCFFC8 #define COLOR_TEAL 0x00AAAAAA #define COLOR_OFFWHITE 0xF5DEB3AA #define COLOR_DARKAQUA 0x83BFBFAA #define NEWBIE_COLOR 0x7DAEFFFF #define TPARAMEDIC 0xFF828200 #define SCOLOR_RED 0xD9000000 #define SCOLOR_PINK 0xFE81FE00 #define SCOLOR_ORANGE 0xFF6A2200 #define SCOLOR_YELLOW 0xF0F00000 #define SCOLOR_CYAN 0x00E6E600 #define SCOLOR_GREEN 0x00CA0000 #define SCOLOR_BLUE 0x0058B000 #define SCOLOR_BLACK 0x00000000 #define SCOLOR_WHITE 0xFFFFFF00 #define SCOLOR_MARKER 0xD90000FF #define TBLUE 0x2641FE00 #define GARAGE_COLOR 0xFFA500FF //-------------------------------------[Defines]-----------------------------// #define MAX_FAMVEHICLES 140 #define MAX_DYNAMIC_OBJECTS (2000) #define MAX_ROADBLOCKS 100 #define MAX_ENTRANCES (600) #define MAX_GATES (800) #define TYPE_ENTRANCE (7) #define TYPE_GATE (5) #define MAX_MONEYBAGS (150) #define TYPE_GARAGE (3) #define TYPE_OBJECT (4) #define TYPE_FACGATE (6) #define TYPE_FAMGATE (10) #define MAX_DRIVETHRUS (50) #define MAX_FACGATES (65) #define MAX_FAMGATES (32) #define VIPSKINMENU 13337 #define MAX_PLATE_LENGTH 12 #define VIPNUMBERCHANGEMENU 13338 #define SASD1 1305 #define SASD2 1304 #define SPECIAL_ACTION_PISSING 68 #define MAX_SPIKESTRIPS 200 #define MAX_MAPICONS 100 #undef MAX_VEHICLES #define MAX_CCTVS 100 #define MAX_CCTVMENUS 10 #define MAX_POINTS (9) #define MAX_VEHICLES 500 #define MAX_STRING 255 #define MAX_HOUSES 1000 #define MAX_SPEED_WARNINGS 3 #define MAX_BUSINESSES 1000 #define MAX_ROADBLOCKS 1000 #define MAX_GARAGES (1000) #define MAX_ATM 1000 #define MAX_MAPB 1000 #define MAX_GSTATION 1000 #define MAX_HSSIGN 1000 #define MAX_OOCSHOP 1000 #define MAX_InfoBoard 1000 #define MAX_BUILDINGS 1000 #define MAX_DIVISIONS (5) #define MAX_MOTELS 1000 #define BUSINESSES_INT 5000 #define MAX_STRING 255 // Radio System #define USE_TEXTDRAW_SET 2 #define MAX_RADIO_STATIONS 20 #define TEXTDRAW_DISAPPEAR_TIME 999999 #define NAME_SIZE 30 #define LINK_SIZE 70 #define GetVehicleRadioStation(%1) v_VehicleInfo[%1][RadioPlaying] #define DIALOG_GPS 1041 //Boombox Dialog #define DIALOG_BOOMBOX 31997 #define DIALOG_BOOMBOX1 31998 #define DIALOG_BOOMBOX2 31999 #define DIALOG_BOOMBOX3 32000 #define DIALOG_BOOMBOX4 32001 #define DIALOG_BOOMBOX5 32002 #define DIALOG_BOOMBOX6 32003 #define DIALOG_BOOMBOX7 32004 #define DIALOG_OOCSHOP 32546 #define CHECKPOINT_NONE 0 #define CHECKPOINT_HOME 12 #define CHECKPOINT_HITMAN 123 #pragma tabsize 0 #pragma dynamic 100000 //----------------------------------------------------// #define DEFAULT_TIMEOUT (5000) // Equals to 5 seconds #define isnull(%1) \ ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1])))) #define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJ ECTS-1,%2,%3,%4,%5,%6,%7,%8,%9) #define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_ OBJECTS-1) #define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTAC HED_OBJECTS-1) #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 //-------------------------------------------[MENUS]---------------------------------// #define SASDSKINMENU 671 #define DIALOG_SERVERCTRL 32580 #define DIALOG_CHANGEHOSTNAME 32581 #define DIALOG_CHANGEMAPNAME 32582 #define DIALOG_CHANGEURL 32583 #define DIALOG_LOCKSERVER 32584 #define DIALOG_UNLOCKSERVER 32585 #define DIALOG_CHANGERCON 32586 #define DIALOG_RESOURCES_MENU 21750 #define DIALOG_RESOURCES_INTERIOR 21751 #define DIALOG_RESOURCES_VEHICLE 21752 //#define DMMENU 1309 //#define OOCMENU 1308 #define SEXMENU 1335 //#define PGMENU 1431 //#define CKMENU 1232 //#define PCMENU 3641*/ #define AGEMENU 5625 #define HOUSES_INT 6000 #define CHOUSES_INT 2121 #define MAX_TRUNK_SLOTS (6) // Is actually 4. #define MAX_VEHICLE_MODELS (200) #define MAX_PLYVEH_RATIO (50) // per player. #define BUSINESSES_INT 5000 #define SKINMENU 1318 #define UPGRADEMENU6 1313 #define UPGRADEMENU5 1312 #define UPGRADEMENU4 1311 #define UPGRADEMENU3 1310 #define DIALOG_UPDATES (30000) #define UM2 1309 #define UPGRADEMENU1 1308 #define mapmenu 6767 #define FBI2 1307 #define FBI1 1306 #define VEHMENU3 1305 #define VEHMENU2 1304 #define VEHMENU1 1303 #define CARMENU 1302 #define CARMENU2 1301 #define CARMENU3 1300 #define CARMENU4 1299 #define CARMENU5 1298 #define CARMENU6 1297 #define CARMENU7 1296 #define CARMENU8 1295 #define CARMENU9 1294 #define DMVMENU 1333 #define DSVMENU 1334 #define CARMENU10 1293 #define CARMENU11 1292 #define CARMENU12 1291 #define CARMENU13 1290 #define CARMENU14 1289 //--------------------------------------[TEAM COLORS]--------------------------------// #define TCOLOR_VIP 0xECFF0000 #define TCOLOR_WHITE 0xFFFFFF00 #define TCOLOR_LIGHTGREEN 0x9ACD3200 #define TCOLOR_NAVYBLUE 0x8D8DFF00 #define TCOLOR_BEIGE 0xA5937000 #define TCOLOR_GREY 0xBFC0C200 #define TCOLOR_DARKGREY 0x52545900 #define TCOLOR_BLUE 0x2641FE00 #define TCOLOR_LIGHTBLUE 0x2B77A100 #define TCOLOR_YELLOW 0xFFFF0000 #define TCOLOR_HELP 0x00D700FF #define TCOLOR_FIND 0x9B0000AA #define TCOLOR_WANTED 0xFF0000AA #define TCOLOR_PRISON 0xF4A41900 #define TCOLOR_HOSPITAL 0xAFAFAF00 #define TCOLOR_PARAMEDIC 0xFF828200 //--------------------------------------[TURF WAR]------------------------------------ /*#define COLOR_TWWHITE 0xFFFFFFAA #define COLOR_TWYELLOW 0xFFFF00AA #define COLOR_TWPINK 0xE75480AA #define COLOR_TWRED 0xFF0000AA #define COLOR_TWBROWN 0x654321AA #define COLOR_TWGRAY 0x808080AA #define COLOR_TWOLIVE 0x808000AA #define COLOR_TWPURPLE 0x800080AA #define COLOR_TWTAN 0xD2B48CAA #define COLOR_TWAQUA 0x00FFFFAA #define COLOR_TWORANGE 0xFF8C00AA #define COLOR_TWAZURE 0x007FFFAA #define COLOR_TWGREEN 0x008000AA #define COLOR_TWBLUE 0x0000FFAA #define COLOR_TWBLACK 0x000000AA #define TW_WAITDELAY 5 // TESTING*/ //--------------------------------------[Fire System]---------------------------------/ #define MAX_FLAMES 100 // maxmimal flames #define BurnOthers // Should other players burn, too, if they are touching a burning player? #define FireMessageColor 0x00FF55FF // color used for the extinguish-message #define FLAME_ZONE 1.2 // radius in which you start burning if you're too close to a flame #define ONFOOT_RADIUS 1.5 // radius in which you can extinguish the flames by foot #define PISSING_WAY 2.0 // radius in which you can extinguish the flames by peeing #define CAR_RADIUS 8.0 // radius in which you can extinguish the flames by firetruck/SWAT Van #define Z_DIFFERENCE 2.5 // height which is important for the accurancy of extinguishing. please do not change #define EXTINGUISH_TIME_VEHICLE 1 // time you have to spray at the fire with a firetruck (seconds) #define EXTINGUISH_TIME_ONFOOT 4 // time you have to spray at the fire onfoot (seconds) #define EXTINGUISH_TIME_PEEING 10 // time you have to pee at the fire (seconds) #define EXTINGUISH_TIME_PLAYER 3 // time it takes to extinguish a player (seconds) #define FIRE_OBJECT_SLOT 1 // the slot used with SetPlayerAttachedObject and RemovePlayerAttachedObject //---------------------------------------[Locations]----------------------------------// #if defined LOS_SANTOS #define LocationGet IsLocationLosSantos #endif #if defined SAN_FIERRO #define LocationGet IsLocationSanFierro #endif #if defined LAS_VENTURAS #define LocationGet IsLocationLasVenturas #endif //---------------------------------------[PayPhone]-----------------------------------// #define DACCT32 2137 #define DACCT33 2138 //------------------------------------------[SPEC]-------------------------------------// #define ADMIN_SPEC_TYPE_NONE 0 #define ADMIN_SPEC_TYPE_PLAYER 1 new hostname[128], mapname[128], weburl[128], rconpass[128], boolerver_locked; #define EX_SPLITLENGTH 118 new Text3D:mDutyText[MAX_PLAYERS]; |