
// Factions
#define MAX_FACTIONS		15

#define FACTION_NONE		0
#define FACTION_SAPD		1
#define FACTION_FBI			2
#define FACTION_SASD		3
#define FACTION_FMD			4
#define FACTION_ARMY		5
#define FACTION_GOV			6
#define FACTION_JD			7
#define FACTION_NEWS		9
#define FACTION_TAXI		10
#define FACTION_S9			11
#define FACTION_DEA			12
#define FACTION_ATF			13
#define FACTION_SANG		14
#define FACTION_SAS			15

#define MAX_SAPD_RANKS   	7
#define MAX_FBI_RANKS		6
#define MAX_SAST_RANKS		7
#define MAX_SAFMD_RANKS	 	6
#define MAX_DOC_RANKS       6
#define MAX_GOV_RANKS 		4
#define MAX_SCOTUS_RANKS 	1
#define MAX_HITMEN_RANKS 	6
#define MAX_NEWS_RANKS 		7
#define MAX_TAXI_RANKS 		6
#define MAX_S9_RANKS        4
#define MAX_SAS_RANKS   	8
#define MAX_SANG_RANKS 		6

// If the line below is uncommented, the S9 faction will be disabled
// #define S9_DISABLED	

// HQ coordinates
#define HQ_SYNDICATE	420.61, 2522.76, 9.99
#define HQ_CJNG			421.53, 	2521.25, 9.99
#define HQ_SECTOR9		255.3861, 	76.6493, 1003.6406
#define HQ_HITMAN		312.7244,  -166.1414, 999.6010

// Dialogs
#define DIALOG_LOGIN 1
#define DIALOG_REGISTER 2
#define DIALOG_BUSSINESS_BUY 3
#define DIALOG_BUSINESS_DRINK 4
#define DIALOG_TRAIN 5
#define DIALOG_BUYMEAL 6
#define DIALOG_PG_MAIN 7
#define DIALOG_PG_WEAPONRY 8
#define DIALOG_LEO_MAIN 9
#define DIALOG_SAPD_WEAPONRY 10
#define DIALOG_SAPD_SWAT 11
#define DIALOG_SAPD_SWAT_WEAPONS 12
#define DIALOG_SAPD_SWAT_ACCESSORIES 14
#define DIALOG_ADMIN_COLORCHANGER 15
#define DIALOG_JOBHELP 16
#define DIALOG_JOBHELP_DETECTIVE 17
#define DIALOG_JOBHELP_LAWYER 18
#define DIALOG_JOBHELP_DDEALER 19
#define DIALOG_JOBHELP_MECHANIC 20
#define DIALOG_JOBHELP_BODYGUARD 21
#define DIALOG_JOBHELP_ADEALER 22
#define DIALOG_JOBHELP_BOXER 23
#define DIALOG_JOBHELP_TAXIDR 24
#define DIALOG_JOBHELP_DRUGSM 25
#define DIALOG_SAS_MAIN 26
#define DIALOG_S9_MAIN 27
#define DIALOG_S9_ARMORY 28
#define DIALOG_S9_RESTRICTED 29
#define DIALOG_S9_BADGES 30
#define DIALOG_NAMECHANGES 31
#define DIALOG_NAMECHANGES_OLD 32
#define DIALOG_NAMECHANGES_NEW 33
#define DIALOG_NAMECHANGES_ADMIN 34
#define DIALOG_NAMECHANGES_ID 35
#define DIALOG_S9_RANKS 37
#define DIALOG_LSFMD_MAIN 67
#define DIALOG_LSFMD_GEAR 68
#define DIALOG_SENATE_MAIN 91
#define DIALOG_SENATE_ARMORY 92
#define DIALOGID_GUIDE_MAIN 179
#define DIALOGID_GUIDE_MONEY 180
#define DIALOGID_GUIDE_GUNS 181
#define DIALOGID_GUIDE_FACTION 182
#define DIALOGID_GUIDE_ROLEPLAY 183
#define DIALOGID_GUIDE_LEVEL 184
#define DIALOG_HC_MAIN 193
#define DIALOG_HC_ARMORY 194
#define CLUB_DOOR_ID 243
#define DIALOG_JOBHELP_PDEALER 276
#define DIALOG_JOBHELP_WASTECOLLECTOR 277
#define DIALOG_VERSION	999
#define DIALOG_MAP_LOCATIONS 998
#define DIALOG_CALC_1 1400
#define DIALOG_CALC_2 1401
#define DIALOG_CALC_3 1402
#define DIALOG_STATS 1403
#define DIALOG_STATS1 14022
#define DIALOG_SKILLS 1404
#define DIALOG_WANTED 1405
#define DIALOG_MC_WEAPONS 2008
#define DIALOG_DONORCLUB_DRINK 2595
#define DIALOG_JOBHELP_MINER 2755
#define DIALOG_APPEARANCE_MAIN 3941
#define DIALOG_APPEARANCE_HEIGHT 3942
#define DIALOG_APPEARANCE_AGE 3943
#define DIALOG_APPEARANCE_BUILD 3944
#define DIALOG_APPEARANCE_ETHNICITY 3945
#define DIALOG_APPEARANCE_EYE 3946
#define DIALOG_APPEARANCE_GENDER 3947
#define DIALOG_APPEARANCE_UNIQUE 3948
#define DIALOG_APPEARANCE_DISPLAY 3949
#define DIALOG_APPEARANCE_DISPLAYMDC 3950
#define DIALOG_S9_EDIT_BADGE 3951
#define DIALOG_S9_EDIT_BADGE_NAME 3952
#define DIALOG_S9_EDIT_BADGE_FACTION 3953
#define DIALOG_S9_EDIT_BADGE_WEAPONS 3954
#define DIALOG_ARMORY 21521


#define DIALOG_TIJUANA_ARMORY 21691 // used in groups.inc, check the file for the response as well


#define TRUNKDIALOG 6279

#define TRUNKPUTGUN 6278
#define TRUNKTAKEGUN 6277
#define TRUNKPUTVEST 6276
#define TRUNKTAKEVEST 6275
#define TRUNKPUTMAN 6274
#define TRUNKTAKEMAN 6273

/*
	Trunk dialogs
*/	 


#define TRUNK_TAKE_CANNABIS 		6266
#define TRUNK_PUT_CANNABIS 	6267

#define TRUNK_TAKE_STUFF 	6268
#define TRUNK_PUT_STUFF 	6269

#define TRUNK_TAKE_COCAINE 	6270
#define TRUNK_PUT_COCAINE	6271

#define TRUNK_CHECK 		6272

#define TRUNK_PUT_METH		6273
#define TRUNK_TAKE_METH		6274

#define TRUNK_PUT_XANAX		6275
#define TRUNK_TAKE_XANAX	6276

#define BUYCARDIALOG 6264
#define CARDIALOG 6265
#define OWNCARUPGRADE 6263
#define OWNCARUPGRADE2 6262
#define CARTRACK 6261
#define DEALERSHIPDIALOG 6250
#define BUYLP 6249
#define BUYLP2 6248
#define TOWCAR 6247
#define VEHINFO 6246
#define GIVEKEYS 6245
#define DIALOG_HITMAN 6494
#define AMSGS 7000
#define FAMILY_DIALOG 7001
#define FAMILY_INFO 7002
#define DIALOG_HOUSEUPGRADE 8241
#define DIALOG_MOD_EDIT  12131
#define DIALOG_FREE_NAMECHANGE 12136
#define DIALOG_FREE_NAMECHANGE1 DIALOG_FREE_NAMECHANGE + 1
#define DIALOG_SYNDICATE_NAMECHANGE 12150
#define DIALOG_PAINTBALL_WEAPONS1 12221
#define DIALOG_PAINTBALL_WEAPONS2 12222
#define DIALOG_PAINTBALL_WEAPONS3 12223
#define DIALOG_PAINTBALL_WEAPONS4 12224
#define DIALOG_PAINTBALL_WEAPONS5 12225
#define DIALOG_PAINTBALL_WEAPONS6 12226
#define DIALOG_TUTORIAL 13849
#define DIALOG_TUTORIAL_FACTIONS 13850
#define DIALOG_TUTORIAL_FINISH 13851
#define DIALOG_GEAR_DELETE 13899
#define DIALOG_UNUSED 14121
#define DIALOG_MDC_WANTED 14023
#define DIALOG_BUYCLOTHES_CONFIRM 14065
#define DIALOG_TAXI 15824
#define DIALOG_TAXI_UNIFORMS DIALOG_TAXI+1
#define DIALOG_TAXI_WEAPONS DIALOG_TAXI+2
#define DIALOG_EDITDOOR_MAIN 17400
#define DIALOG_EDITDOOR_CREATE 17500
#define DIALOG_EDITDOOR_NAME1 17600
#define DIALOG_EDITDOOR_NAME2 17601
#define DIALOG_EDITDOOR_EPOS 17700
#define DIALOG_EDITDOOR_IPOS 17800
#define DIALOG_EDITDOOR_ICON1 17900
#define DIALOG_EDITDOOR_ICON2 17901
#define DIALOG_EDITDOOR_REM1 17910
#define DIALOG_EDITDOOR_REM2 17911
#define DIALOG_EDITDOOR_PASS1 17920
#define DIALOG_EDITDOOR_PASS2 17921
#define DIALOG_LASTGUNS 17923
#define DIALOG_EDITDOOR_FREEZE 17931
#define DIALOG_EDITDOOR_OWNER1 17932
#define SANEWSLOCKER 17933
#define SANEWSGUNS 17934
#define DIALOG_EDITDOOR_OWNER2 17935
#define DIALOG_CHARGES_REMOVE 17959
#define DIALOG_ID_PLAYER_PASS 18100
#define DIALOG_CRIME 21522
#define DIALOG_MAP 21742
#define DIALOG_BUYACCESSOR 24213
#define DIALOG_BUYACCESSOR_MAIN 24214
#define DIALOG_JOBHELP_PIZZADELIVER 27392
#define DIALOG_JOBHELP_FARMER 27395
#define DIALOG_MDC_MAIN 31667
#define DIALOG_BAR_DYN 32762
#define DIALOG_DONOR 349833
#define DIALOG_CLEARMOD 25322
#define DIALOG_MDC_SHOW_CHARGES	24912

#define AdmErrorMsg SendClientMessage(playerid, COLOR_GREY, "{FF0000}Error:{FFFFFF} You're not authorized to use that command.")
#define MDC_MAIN ShowPlayerDialog(playerid, DIALOG_MDC_MAIN, DIALOG_STYLE_LIST, "{2641FE}Mobile Data Computer", "Run a check\nBe On Look Out\nWeapons License Log\nWanted\n{FF6347}Sign Out{FFFFFF}", "Select", "{FF6347}Sign out")

// a_samp redefines
#undef MAX_PLAYERS
#define MAX_PLAYERS 300
#undef MAX_VEHICLES
#define MAX_VEHICLES 2000
#define MAX_PLAYERVEHICLES 2

#define HOUSE_UNOWNED 19523
#define HOUSE_ONLINE 1273
#define HOUSE_OFFLINE 19522
#define HELMET_SLOT 8
#define FLASHLIGHT_SLOT1 8
#define FLASHLIGHT_SLOT2 9

#define MAX_HOSP_POINTS 3

#define MAX_FAMILY_STRIKE 3 // Families will be disbanded when they reach this amount

#define pauseUpdateTimer1 6
#define pauseUpdateTimer2 (pauseUpdateTimer1 * 1000)



// DoC related
#define DOC_WORLD			20
#define DOC_INT 			1
#define DIALOG_PG_UNIFORM 	32763

// SANG lockers
#define DIALOG_SANG_MAIN	31431
#define DIALOG_SANG_WEAPONRY	31432
#define DIALOG_SANG_UNIFORM		31433

#if !defined STREAMER_OBJECT_SD 
	#define STREAMER_OBJECT_SD  350.0 //try balance the server side stuff v client side
#endif														//intention: do server stuff first, then draw for client

#if !defined STREAMER_OBJECT_DD 
	#define STREAMER_OBJECT_DD 250.0
#endif

//is a valid name by Jacob
//valid names: Jacob_Alex_Malcom, Jacob_McAlex_McMalcom, Jacob_Alex_McMalcom, Jacob_Malcom
//invalid names: Jacob_, Jacob__Malcom, Jacob_Malcom_, jacob_malcom, JACOB_MALCOM, Jacob_MALcom
#define IsValidName(%1) \
	regex_match(%1, "^[A-Z]{1}[a-z]+\
		_{1}[A-Z]{1,2}([a-z]{1}[A-Z]{1})?[a-z]+\
		(_{1}[A-Z]{1,2}([a-z]{1}[A-Z]{1})?[a-z]+)?$")

#define MAX_ADVERTS 5

//==============================[UPDATE THESE]==================================

// Please keep these updated with every commit, not every commit has to be on
// /version but please keep the gamemode version updated with every commit.
#define GAMEMODE_VERSION "SARP v3.9.7"
#define BETAMODE_VERSION "SARP v3.9.7 (Dev)"

#define MOTD_COLOR	  COLOR_YELLOW2
#define MOTD_MESSAGE1   "{FFFFFF}Use {7DAEFF}(/newb)ie{FFFFFF} to speak in the {7DAEFF}newbie chat channel{FFFFFF} if you have any server related questions."
#define MOTD_MESSAGE2   "{FFFFFF}You can use {FFFF91}/help{FFFFFF} to see a list of commands or to display {FFFF91}job information{FFFFFF}."
#define MOTD_MESSAGE4	"{FFFFFF}Have fun and enjoy your stay."

#define displayHudTime 5
#define MAX_VEHICLE_DISTANCE_TO_TRAILER 15
#define MAX_VEHICLE_DISTANCE_CHANGE	 50

#define MAX_CCTV_DYNAMIC 50
#define CCTV_OBJID 1886
#define MAX_BARS 100
#define MAX_CCTVS 100

#define INVALID_WEAPON_ID 0

// Limits
#define MAX_SPIKESTRIPS 8
#define MAX_TIKIS 50
#define MAX_WEED 200
#define MAX_MAPICONS 100
#define MAX_TRAYS 50
#define MAX_DEALERS 64
#define MAX_HOUSES 2000
#define MAX_SURNAMES 250
#define MAX_DOORS 1200
#define MAX_BIZ 100
#define MAX_GATES 1200
#define MAX_CARS 15000
#define MAX_NEWBIE_TIPS 21
#define MAX_ROADBLOCKS 5

#define ELCORONABAR 1
#define COMMERCE247 2
#define BANKLOTBIN 3
#define MULINTERSEC 4

//Animations
#define PED_IDLE_STANCE 1189

#define FROZEN (0)
#define UNFROZEN (1)

#define ADMIN_SPEC_TYPE_NONE (0)
#define ADMIN_SPEC_TYPE_PLAYER (1)
#define ADMIN_SPEC_TYPE_VEHICLE (2)

#define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
#define HOLDING(%0) ((newkeys & (%0)) == (%0))
#define RELEASED(%0) \
	(((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))

#define KEY_BRAKE (32)

// Food Stuff
#define TRAY_RESPAWN_TIME 5
#define TRAY_NO_RESPAWN 0
#define TRAY_NO_POISONED 0
#define TRAY_POISONED 1

// Object ID?
#define SLOT_EMPTY 0 //empty array

// Food Amounts
#define PIZZA_AMOUNT 5 //5 slices
#define CHICKEN_AMOUNT 3 //5 chicken
#define BURGER_AMOUNT 3 //3 burgers
#define DONUT_AMOUNT 8 //5 donuts
#define TRAY_EMPTY 0 //0 slices

// Sounds
#define CELLPHONE_RING 20600
#define SMS_RECIEVED 21000
#define SMS_SENT 21001
#define TAZER_SHOCK 6003
#define CELLPHONE_DIAL 3600
#define CELLPHONE_AWAITING 16003
#define PISS_SOUND 14200

// Gate Editor
#define EDITING_GATE_NONE 0
#define EDITING_GATE_POSITION 1
#define EDITING_GATE_OPOSITION 2

// Enter Freezing
#define FREEZE 1
#define UNFREEZE 2
#define ENTER_FREEZE 1
#define HELPNEWBIE_FREEZE 2
#define TESTER_FREEZE 3
#define GMX_FREEZE 4



//#define				Dialog_NameChange		20030 //ethans

// Player attached objects defines
#define INDEX_0 (0)
#define INDEX_1 (1)
#define INDEX_2 (2)
#define INDEX_3 (3)
#define INDEX_4 (4)
#define INDEX_5 (5)
#define INDEX_6 (6)
#define INDEX_7 (7)
#define INDEX_8 (8)
#define INDEX_9 (9)

#define MAX_PER_PLAYER 11

// colors/others
#define COLOR_GEAR_NONE 				0
#define COLOR_GEAR_RED 					0xFFB82C2C
#define COLOR_GEAR_LIGHTRED 			0xFFBF6D6D
#define COLOR_GEAR_DARKRED 				0xFFA81616
#define COLOR_GEAR_GREEN 				0xFF5BD64B
#define COLOR_GEAR_LIGHTGREEN 			0xFF88DB7D
#define COLOR_GEAR_DARKGREEN 			0xFF309C22
#define COLOR_GEAR_BLUE 				0xFF3F3AC9
#define COLOR_GEAR_LIGHTBLUE 			0xFF5E5ACC
#define COLOR_GEAR_DARKBLUE 			0xFF241FAD
#define COLOR_GEAR_PINK 				0xFFBF47B7
#define COLOR_GEAR_LIGHTPINK 			0xFFC47ABF
#define COLOR_GEAR_DARKPINK 			0xFFB512AA
#define COLOR_GEAR_PURPLE 				0xFF982EB3
#define COLOR_GEAR_LIGHTPURPLE 			0xFF9859A8
#define COLOR_GEAR_DARKPURPLE 			0xFF6D0F85
#define COLOR_GEAR_ORANGE 				0xFFFF7300
#define COLOR_GEAR_LIGHTORANGE 			0xFFFFA75E
#define COLOR_GEAR_DARKORANGE 			0xFFDB6300
#define COLOR_GEAR_TURQUOISE 			0xFF29E2E6
#define COLOR_GEAR_LIGHTTURQUOISE 		0xFF87E6E8
#define COLOR_GEAR_DARKTURQUOISE 		0xFF08C9CC
#define COLOR_GEAR_BROWN 				0xFFA16B2F
#define COLOR_GEAR_LIGHTBROWN 			0xFFA37B4D
#define COLOR_GEAR_DARKBROWN 			0xFF754815
#define COLOR_GEAR_GREY 				0xFF858585
#define COLOR_GEAR_LIGHTGREY 			0xFFBDBDBD
#define COLOR_GEAR_DARKGREY 			0xFF757575
#define COLOR_GEAR_YELLOW 				0xFFFFEE00
#define COLOR_GEAR_LIGHTYELLOW 			0xFFFFE75C
#define COLOR_GEAR_DARKYELLOW 			0xFFE8C900
#define COLOR_GEAR_BLACK 				0xFF000000
#define COLOR_GEAR_WHITE 				0xFFFFFFFF

#define COLOR_EVENTHELP 0xFF00FFFF
#define HIGHLIGHT_COLOR F00000
#define COLOR_BITEM 0xE1B0B0FF
#define COLOR_GRAD1 0xAFAFAFAA
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_DARKRED 0xAA3333AA
#define COLOR_RED 0xFF0000AA
#define COLOR_BLACK 0x000001FF
#define COLOR_BLUE 0x007BD0FF
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_DOC_NAMETAG 0xA5937000 
#define COLOR_DOCC 0xA5937000
#define COLOR_SANG 0x9ACD3200
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_LIGHTYELLOW 0xFFFF91FF
#define COLOR_YELLOW2 0xF5DEB3AA
#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_DEATHTAG 0xC2A2DAFF
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_DOC 0xA5937000
#define COLOR_DCHAT 0xF0CC00FF
#define COLOR_NEWS 0xFFA500AA
#define COLOR_OOC 0xE0FFFFAA
#define TEAM_BLUE_COLOR 0x8D8DFF00
#define TEAM_GROVE_COLOR 0x00AA00FF
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define NEWBIE_COLOR 0x7DAEFFFF
//#define COLOR_HOUSETEXT 0xBDB388FF
#define COLOR_HOUSETEXT 0xFFFFFFFF
#define COLOR_ENTRANCE 0xBDB388FF
#define COLOR_ORANGE 0xFF830000
#define HELPER_COLOR 0xBDB388FF
#define COLOR_BIZTEXT 0xFFFFFFFF
#define COLOR_GARAGETEXT 0xFFFFFFFF
#define SAMP_COLOR 0xAAC4E5FF
#define COLOR_DEV 0xFEE349FF
#define COLOR_FLCHAT 0xBFD3FFFF //faction leader chat color
#define COLOR_ECONO 0xBB78CEFF
#define COLOR_S9 0x00ffffFF
#define COLOR_CRIME 0xFF9966FF
#define COLOR_FIRM 0x0099FFFF
#define COLOR_REBELS 0xd03800FF
#define COLOR_CARTEL_DE_TIJUANA 0xFF0000AA
#define COLOR_BUREAU 0xA52A2AFF
#define COLOR_RAVENS 0xA52A2AFF
#define COLOR_EXEC_GROUP 0xA52A2AFF
#define COLOR_LLS 0xA52A2AFF
#define COLOR_PALERMO 0xA52A2AFF
#define COLOR_HITMAN 0xC40000FF
#define COLOR_FAMED 0x00CCCC00
#define COLOR_OLDSCHOOL 0x00FF7FAA
#define TCOLOR_NEWS 0xAD99BE00
#define TCOLOR_VIP 0xECFF0000
#define TCOLOR_WHITE 0xFFFFFF00
#define TCOLOR_LIGHTGREEN 0x9ACD32FF
#define TCOLOR_NAVYBLUE 0x8D8DFF00
#define TCOLOR_BEIGE 0xA5937000
#define TCOLOR_GREY 0xBFC0C200
#define TCOLOR_DARKGREY 0x52545900
#define TCOLOR_BLUE 0x2641FE00
#define TCOLOR_SAS 	0x51ADCC00
#define COLOR_SAS 	0x51ADCCFF
#define COLOR_DOCTOR 0xFF8282AA
#define TCOLOR_LIGHTBLUE 0x2B77A100
#define TCOLOR_YELLOW 0xFFFF0000
#define TCOLOR_HELP 0x00D700FF
#define TCOLOR_FIND 0x9B0000AA
#define TCOLOR_WANTED 0xD9141400
#define TCOLOR_PRISON 0xF4A41900
#define TCOLOR_APRISON 0xFD01FD00
#define TCOLOR_HOSPITAL 0xAFAFAF00
#define TCOLOR_PARAMEDIC 0xFF828200
#define TCOLOR_SENATE 0x58585800
#define TCOLOR_HIGHCOURT 0xBA610300
#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 GPSCOLOR_SAPD 0x2641FEFF
#define GPSCOLOR_SAST 0xA59370FF
#define GPSCOLOR_LSFMD 0xFF8282FF
#define GPSCOLOR_FBI 0x663399FF
#define GPSCOLOR_DOC 0x9ACD32FF
#define SARPTD_COLOUR 0xFFFFFF40
#define LOADINGTD_COLOUR 0xFFFF00FF
#define GCHAT_COLOR 0xC73838FF
#define COLOR_LEADER 0xB0E0E6FF
//ADMIN CHAT COLORS
#define C_EXEC_ADMIN "{8C0000}" //darker red
#define C_HEAD_ADMIN "{FF0000}" //red
#define C_SENIOR_ADMIN "{FFA27A}" //?
#define C_GENERAL_ADMIN "{00EB00}" //green (slightly darker green)
#define C_JUNIOR_ADMIN "{00FF00}" //green
#define C_SILENT_ADMIN "{A9A9A9}" //greyish

#define checkcinc if(!IsPlayerConnected(playerid)) return; if(CINC[playerid] != ccinc) { printf("error: query collision, result for playerid (%d) is not for this player. (got: %d should be: %d)", playerid, ccinc, CINC[playerid]); return; }
#define mysql_counted_query queryballance++;mysql_function_query

// ID OF MODEL SELECTIONS
#define Jonas_Blue_Clothes_ID 1

#define MAX_VEHICLE_SLOTS 4 //vehicles.inc, if adjusted adjust players.sql: CKey[number]

//#define MAX_POLLS 4

#define THREAD_LOAD_VEHICLES 2
#define THREAD_LOAD_PLAYERINFO 1
#define THREAD_NO_RESULT 0

#define MAX_TAXICALLS 20

#define TAXICALL_DIALOG 390
//==============================================================================
#define CLOTHESCOORDS 2727.1499, -2448.2400, 1299.5000

#define SOUND_RADIUS 		30

//Optimized by Ettore
#define ADVERTISE_COORDS 746.21, -1359.01, 9053.42