1
0

defines.inc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. // Factions
  2. #define MAX_FACTIONS 15
  3. #define FACTION_NONE 0
  4. #define FACTION_SAPD 1
  5. #define FACTION_FBI 2
  6. #define FACTION_SASD 3
  7. #define FACTION_FMD 4
  8. #define FACTION_ARMY 5
  9. #define FACTION_GOV 6
  10. #define FACTION_JD 7
  11. #define FACTION_NEWS 9
  12. #define FACTION_TAXI 10
  13. #define FACTION_S9 11
  14. #define FACTION_DEA 12
  15. #define FACTION_ATF 13
  16. #define FACTION_SANG 14
  17. #define FACTION_SAS 15
  18. #define MAX_SAPD_RANKS 7
  19. #define MAX_FBI_RANKS 6
  20. #define MAX_SAST_RANKS 7
  21. #define MAX_SAFMD_RANKS 6
  22. #define MAX_DOC_RANKS 6
  23. #define MAX_GOV_RANKS 4
  24. #define MAX_SCOTUS_RANKS 1
  25. #define MAX_HITMEN_RANKS 6
  26. #define MAX_NEWS_RANKS 7
  27. #define MAX_TAXI_RANKS 6
  28. #define MAX_S9_RANKS 4
  29. #define MAX_SAS_RANKS 8
  30. #define MAX_SANG_RANKS 6
  31. // If the line below is uncommented, the S9 faction will be disabled
  32. // #define S9_DISABLED
  33. // HQ coordinates
  34. #define HQ_SYNDICATE 420.61, 2522.76, 9.99
  35. #define HQ_CJNG 421.53, 2521.25, 9.99
  36. #define HQ_SECTOR9 255.3861, 76.6493, 1003.6406
  37. #define HQ_HITMAN 312.7244, -166.1414, 999.6010
  38. // Dialogs
  39. #define DIALOG_LOGIN 1
  40. #define DIALOG_REGISTER 2
  41. #define DIALOG_BUSSINESS_BUY 3
  42. #define DIALOG_BUSINESS_DRINK 4
  43. #define DIALOG_TRAIN 5
  44. #define DIALOG_BUYMEAL 6
  45. #define DIALOG_PG_MAIN 7
  46. #define DIALOG_PG_WEAPONRY 8
  47. #define DIALOG_LEO_MAIN 9
  48. #define DIALOG_SAPD_WEAPONRY 10
  49. #define DIALOG_SAPD_SWAT 11
  50. #define DIALOG_SAPD_SWAT_WEAPONS 12
  51. #define DIALOG_SAPD_SWAT_ACCESSORIES 14
  52. #define DIALOG_ADMIN_COLORCHANGER 15
  53. #define DIALOG_JOBHELP 16
  54. #define DIALOG_JOBHELP_DETECTIVE 17
  55. #define DIALOG_JOBHELP_LAWYER 18
  56. #define DIALOG_JOBHELP_DDEALER 19
  57. #define DIALOG_JOBHELP_MECHANIC 20
  58. #define DIALOG_JOBHELP_BODYGUARD 21
  59. #define DIALOG_JOBHELP_ADEALER 22
  60. #define DIALOG_JOBHELP_BOXER 23
  61. #define DIALOG_JOBHELP_TAXIDR 24
  62. #define DIALOG_JOBHELP_DRUGSM 25
  63. #define DIALOG_SAS_MAIN 26
  64. #define DIALOG_S9_MAIN 27
  65. #define DIALOG_S9_ARMORY 28
  66. #define DIALOG_S9_RESTRICTED 29
  67. #define DIALOG_S9_BADGES 30
  68. #define DIALOG_NAMECHANGES 31
  69. #define DIALOG_NAMECHANGES_OLD 32
  70. #define DIALOG_NAMECHANGES_NEW 33
  71. #define DIALOG_NAMECHANGES_ADMIN 34
  72. #define DIALOG_NAMECHANGES_ID 35
  73. #define DIALOG_S9_RANKS 37
  74. #define DIALOG_LSFMD_MAIN 67
  75. #define DIALOG_LSFMD_GEAR 68
  76. #define DIALOG_SENATE_MAIN 91
  77. #define DIALOG_SENATE_ARMORY 92
  78. #define DIALOGID_GUIDE_MAIN 179
  79. #define DIALOGID_GUIDE_MONEY 180
  80. #define DIALOGID_GUIDE_GUNS 181
  81. #define DIALOGID_GUIDE_FACTION 182
  82. #define DIALOGID_GUIDE_ROLEPLAY 183
  83. #define DIALOGID_GUIDE_LEVEL 184
  84. #define DIALOG_HC_MAIN 193
  85. #define DIALOG_HC_ARMORY 194
  86. #define CLUB_DOOR_ID 243
  87. #define DIALOG_JOBHELP_PDEALER 276
  88. #define DIALOG_JOBHELP_WASTECOLLECTOR 277
  89. #define DIALOG_VERSION 999
  90. #define DIALOG_MAP_LOCATIONS 998
  91. #define DIALOG_CALC_1 1400
  92. #define DIALOG_CALC_2 1401
  93. #define DIALOG_CALC_3 1402
  94. #define DIALOG_STATS 1403
  95. #define DIALOG_STATS1 14022
  96. #define DIALOG_SKILLS 1404
  97. #define DIALOG_WANTED 1405
  98. #define DIALOG_MC_WEAPONS 2008
  99. #define DIALOG_DONORCLUB_DRINK 2595
  100. #define DIALOG_JOBHELP_MINER 2755
  101. #define DIALOG_APPEARANCE_MAIN 3941
  102. #define DIALOG_APPEARANCE_HEIGHT 3942
  103. #define DIALOG_APPEARANCE_AGE 3943
  104. #define DIALOG_APPEARANCE_BUILD 3944
  105. #define DIALOG_APPEARANCE_ETHNICITY 3945
  106. #define DIALOG_APPEARANCE_EYE 3946
  107. #define DIALOG_APPEARANCE_GENDER 3947
  108. #define DIALOG_APPEARANCE_UNIQUE 3948
  109. #define DIALOG_APPEARANCE_DISPLAY 3949
  110. #define DIALOG_APPEARANCE_DISPLAYMDC 3950
  111. #define DIALOG_S9_EDIT_BADGE 3951
  112. #define DIALOG_S9_EDIT_BADGE_NAME 3952
  113. #define DIALOG_S9_EDIT_BADGE_FACTION 3953
  114. #define DIALOG_S9_EDIT_BADGE_WEAPONS 3954
  115. #define DIALOG_ARMORY 21521
  116. #define DIALOG_TIJUANA_ARMORY 21691 // used in groups.inc, check the file for the response as well
  117. #define TRUNKDIALOG 6279
  118. #define TRUNKPUTGUN 6278
  119. #define TRUNKTAKEGUN 6277
  120. #define TRUNKPUTVEST 6276
  121. #define TRUNKTAKEVEST 6275
  122. #define TRUNKPUTMAN 6274
  123. #define TRUNKTAKEMAN 6273
  124. /*
  125. Trunk dialogs
  126. */
  127. #define TRUNK_TAKE_CANNABIS 6266
  128. #define TRUNK_PUT_CANNABIS 6267
  129. #define TRUNK_TAKE_STUFF 6268
  130. #define TRUNK_PUT_STUFF 6269
  131. #define TRUNK_TAKE_COCAINE 6270
  132. #define TRUNK_PUT_COCAINE 6271
  133. #define TRUNK_CHECK 6272
  134. #define TRUNK_PUT_METH 6273
  135. #define TRUNK_TAKE_METH 6274
  136. #define TRUNK_PUT_XANAX 6275
  137. #define TRUNK_TAKE_XANAX 6276
  138. #define BUYCARDIALOG 6264
  139. #define CARDIALOG 6265
  140. #define OWNCARUPGRADE 6263
  141. #define OWNCARUPGRADE2 6262
  142. #define CARTRACK 6261
  143. #define DEALERSHIPDIALOG 6250
  144. #define BUYLP 6249
  145. #define BUYLP2 6248
  146. #define TOWCAR 6247
  147. #define VEHINFO 6246
  148. #define GIVEKEYS 6245
  149. #define DIALOG_HITMAN 6494
  150. #define AMSGS 7000
  151. #define FAMILY_DIALOG 7001
  152. #define FAMILY_INFO 7002
  153. #define DIALOG_HOUSEUPGRADE 8241
  154. #define DIALOG_MOD_EDIT 12131
  155. #define DIALOG_FREE_NAMECHANGE 12136
  156. #define DIALOG_FREE_NAMECHANGE1 DIALOG_FREE_NAMECHANGE + 1
  157. #define DIALOG_SYNDICATE_NAMECHANGE 12150
  158. #define DIALOG_PAINTBALL_WEAPONS1 12221
  159. #define DIALOG_PAINTBALL_WEAPONS2 12222
  160. #define DIALOG_PAINTBALL_WEAPONS3 12223
  161. #define DIALOG_PAINTBALL_WEAPONS4 12224
  162. #define DIALOG_PAINTBALL_WEAPONS5 12225
  163. #define DIALOG_PAINTBALL_WEAPONS6 12226
  164. #define DIALOG_TUTORIAL 13849
  165. #define DIALOG_TUTORIAL_FACTIONS 13850
  166. #define DIALOG_TUTORIAL_FINISH 13851
  167. #define DIALOG_GEAR_DELETE 13899
  168. #define DIALOG_UNUSED 14121
  169. #define DIALOG_MDC_WANTED 14023
  170. #define DIALOG_BUYCLOTHES_CONFIRM 14065
  171. #define DIALOG_TAXI 15824
  172. #define DIALOG_TAXI_UNIFORMS DIALOG_TAXI+1
  173. #define DIALOG_TAXI_WEAPONS DIALOG_TAXI+2
  174. #define DIALOG_EDITDOOR_MAIN 17400
  175. #define DIALOG_EDITDOOR_CREATE 17500
  176. #define DIALOG_EDITDOOR_NAME1 17600
  177. #define DIALOG_EDITDOOR_NAME2 17601
  178. #define DIALOG_EDITDOOR_EPOS 17700
  179. #define DIALOG_EDITDOOR_IPOS 17800
  180. #define DIALOG_EDITDOOR_ICON1 17900
  181. #define DIALOG_EDITDOOR_ICON2 17901
  182. #define DIALOG_EDITDOOR_REM1 17910
  183. #define DIALOG_EDITDOOR_REM2 17911
  184. #define DIALOG_EDITDOOR_PASS1 17920
  185. #define DIALOG_EDITDOOR_PASS2 17921
  186. #define DIALOG_LASTGUNS 17923
  187. #define DIALOG_EDITDOOR_FREEZE 17931
  188. #define DIALOG_EDITDOOR_OWNER1 17932
  189. #define SANEWSLOCKER 17933
  190. #define SANEWSGUNS 17934
  191. #define DIALOG_EDITDOOR_OWNER2 17935
  192. #define DIALOG_CHARGES_REMOVE 17959
  193. #define DIALOG_ID_PLAYER_PASS 18100
  194. #define DIALOG_CRIME 21522
  195. #define DIALOG_MAP 21742
  196. #define DIALOG_BUYACCESSOR 24213
  197. #define DIALOG_BUYACCESSOR_MAIN 24214
  198. #define DIALOG_JOBHELP_PIZZADELIVER 27392
  199. #define DIALOG_JOBHELP_FARMER 27395
  200. #define DIALOG_MDC_MAIN 31667
  201. #define DIALOG_BAR_DYN 32762
  202. #define DIALOG_DONOR 349833
  203. #define DIALOG_CLEARMOD 25322
  204. #define DIALOG_MDC_SHOW_CHARGES 24912
  205. #define AdmErrorMsg SendClientMessage(playerid, COLOR_GREY, "{FF0000}Error:{FFFFFF} You're not authorized to use that command.")
  206. #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")
  207. // a_samp redefines
  208. #undef MAX_PLAYERS
  209. #define MAX_PLAYERS 300
  210. #undef MAX_VEHICLES
  211. #define MAX_VEHICLES 2000
  212. #define MAX_PLAYERVEHICLES 2
  213. #define HOUSE_UNOWNED 19523
  214. #define HOUSE_ONLINE 1273
  215. #define HOUSE_OFFLINE 19522
  216. #define HELMET_SLOT 8
  217. #define FLASHLIGHT_SLOT1 8
  218. #define FLASHLIGHT_SLOT2 9
  219. #define MAX_HOSP_POINTS 3
  220. #define MAX_FAMILY_STRIKE 3 // Families will be disbanded when they reach this amount
  221. #define pauseUpdateTimer1 6
  222. #define pauseUpdateTimer2 (pauseUpdateTimer1 * 1000)
  223. // DoC related
  224. #define DOC_WORLD 20
  225. #define DOC_INT 1
  226. #define DIALOG_PG_UNIFORM 32763
  227. // SANG lockers
  228. #define DIALOG_SANG_MAIN 31431
  229. #define DIALOG_SANG_WEAPONRY 31432
  230. #define DIALOG_SANG_UNIFORM 31433
  231. #if !defined STREAMER_OBJECT_SD
  232. #define STREAMER_OBJECT_SD 350.0 //try balance the server side stuff v client side
  233. #endif //intention: do server stuff first, then draw for client
  234. #if !defined STREAMER_OBJECT_DD
  235. #define STREAMER_OBJECT_DD 250.0
  236. #endif
  237. //is a valid name by Jacob
  238. //valid names: Jacob_Alex_Malcom, Jacob_McAlex_McMalcom, Jacob_Alex_McMalcom, Jacob_Malcom
  239. //invalid names: Jacob_, Jacob__Malcom, Jacob_Malcom_, jacob_malcom, JACOB_MALCOM, Jacob_MALcom
  240. #define IsValidName(%1) \
  241. regex_match(%1, "^[A-Z]{1}[a-z]+\
  242. _{1}[A-Z]{1,2}([a-z]{1}[A-Z]{1})?[a-z]+\
  243. (_{1}[A-Z]{1,2}([a-z]{1}[A-Z]{1})?[a-z]+)?$")
  244. #define MAX_ADVERTS 5
  245. //==============================[UPDATE THESE]==================================
  246. // Please keep these updated with every commit, not every commit has to be on
  247. // /version but please keep the gamemode version updated with every commit.
  248. #define GAMEMODE_VERSION "SARP v3.9.7"
  249. #define BETAMODE_VERSION "SARP v3.9.7 (Dev)"
  250. #define MOTD_COLOR COLOR_YELLOW2
  251. #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."
  252. #define MOTD_MESSAGE2 "{FFFFFF}You can use {FFFF91}/help{FFFFFF} to see a list of commands or to display {FFFF91}job information{FFFFFF}."
  253. #define MOTD_MESSAGE4 "{FFFFFF}Have fun and enjoy your stay."
  254. #define displayHudTime 5
  255. #define MAX_VEHICLE_DISTANCE_TO_TRAILER 15
  256. #define MAX_VEHICLE_DISTANCE_CHANGE 50
  257. #define MAX_CCTV_DYNAMIC 50
  258. #define CCTV_OBJID 1886
  259. #define MAX_BARS 100
  260. #define MAX_CCTVS 100
  261. #define INVALID_WEAPON_ID 0
  262. // Limits
  263. #define MAX_SPIKESTRIPS 8
  264. #define MAX_TIKIS 50
  265. #define MAX_WEED 200
  266. #define MAX_MAPICONS 100
  267. #define MAX_TRAYS 50
  268. #define MAX_DEALERS 64
  269. #define MAX_HOUSES 2000
  270. #define MAX_SURNAMES 250
  271. #define MAX_DOORS 1200
  272. #define MAX_BIZ 100
  273. #define MAX_GATES 1200
  274. #define MAX_CARS 15000
  275. #define MAX_NEWBIE_TIPS 21
  276. #define MAX_ROADBLOCKS 5
  277. #define ELCORONABAR 1
  278. #define COMMERCE247 2
  279. #define BANKLOTBIN 3
  280. #define MULINTERSEC 4
  281. //Animations
  282. #define PED_IDLE_STANCE 1189
  283. #define FROZEN (0)
  284. #define UNFROZEN (1)
  285. #define ADMIN_SPEC_TYPE_NONE (0)
  286. #define ADMIN_SPEC_TYPE_PLAYER (1)
  287. #define ADMIN_SPEC_TYPE_VEHICLE (2)
  288. #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  289. #define HOLDING(%0) ((newkeys & (%0)) == (%0))
  290. #define RELEASED(%0) \
  291. (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))
  292. #define KEY_BRAKE (32)
  293. // Food Stuff
  294. #define TRAY_RESPAWN_TIME 5
  295. #define TRAY_NO_RESPAWN 0
  296. #define TRAY_NO_POISONED 0
  297. #define TRAY_POISONED 1
  298. // Object ID?
  299. #define SLOT_EMPTY 0 //empty array
  300. // Food Amounts
  301. #define PIZZA_AMOUNT 5 //5 slices
  302. #define CHICKEN_AMOUNT 3 //5 chicken
  303. #define BURGER_AMOUNT 3 //3 burgers
  304. #define DONUT_AMOUNT 8 //5 donuts
  305. #define TRAY_EMPTY 0 //0 slices
  306. // Sounds
  307. #define CELLPHONE_RING 20600
  308. #define SMS_RECIEVED 21000
  309. #define SMS_SENT 21001
  310. #define TAZER_SHOCK 6003
  311. #define CELLPHONE_DIAL 3600
  312. #define CELLPHONE_AWAITING 16003
  313. #define PISS_SOUND 14200
  314. // Gate Editor
  315. #define EDITING_GATE_NONE 0
  316. #define EDITING_GATE_POSITION 1
  317. #define EDITING_GATE_OPOSITION 2
  318. // Enter Freezing
  319. #define FREEZE 1
  320. #define UNFREEZE 2
  321. #define ENTER_FREEZE 1
  322. #define HELPNEWBIE_FREEZE 2
  323. #define TESTER_FREEZE 3
  324. #define GMX_FREEZE 4
  325. //#define Dialog_NameChange 20030 //ethans
  326. // Player attached objects defines
  327. #define INDEX_0 (0)
  328. #define INDEX_1 (1)
  329. #define INDEX_2 (2)
  330. #define INDEX_3 (3)
  331. #define INDEX_4 (4)
  332. #define INDEX_5 (5)
  333. #define INDEX_6 (6)
  334. #define INDEX_7 (7)
  335. #define INDEX_8 (8)
  336. #define INDEX_9 (9)
  337. #define MAX_PER_PLAYER 11
  338. // colors/others
  339. #define COLOR_GEAR_NONE 0
  340. #define COLOR_GEAR_RED 0xFFB82C2C
  341. #define COLOR_GEAR_LIGHTRED 0xFFBF6D6D
  342. #define COLOR_GEAR_DARKRED 0xFFA81616
  343. #define COLOR_GEAR_GREEN 0xFF5BD64B
  344. #define COLOR_GEAR_LIGHTGREEN 0xFF88DB7D
  345. #define COLOR_GEAR_DARKGREEN 0xFF309C22
  346. #define COLOR_GEAR_BLUE 0xFF3F3AC9
  347. #define COLOR_GEAR_LIGHTBLUE 0xFF5E5ACC
  348. #define COLOR_GEAR_DARKBLUE 0xFF241FAD
  349. #define COLOR_GEAR_PINK 0xFFBF47B7
  350. #define COLOR_GEAR_LIGHTPINK 0xFFC47ABF
  351. #define COLOR_GEAR_DARKPINK 0xFFB512AA
  352. #define COLOR_GEAR_PURPLE 0xFF982EB3
  353. #define COLOR_GEAR_LIGHTPURPLE 0xFF9859A8
  354. #define COLOR_GEAR_DARKPURPLE 0xFF6D0F85
  355. #define COLOR_GEAR_ORANGE 0xFFFF7300
  356. #define COLOR_GEAR_LIGHTORANGE 0xFFFFA75E
  357. #define COLOR_GEAR_DARKORANGE 0xFFDB6300
  358. #define COLOR_GEAR_TURQUOISE 0xFF29E2E6
  359. #define COLOR_GEAR_LIGHTTURQUOISE 0xFF87E6E8
  360. #define COLOR_GEAR_DARKTURQUOISE 0xFF08C9CC
  361. #define COLOR_GEAR_BROWN 0xFFA16B2F
  362. #define COLOR_GEAR_LIGHTBROWN 0xFFA37B4D
  363. #define COLOR_GEAR_DARKBROWN 0xFF754815
  364. #define COLOR_GEAR_GREY 0xFF858585
  365. #define COLOR_GEAR_LIGHTGREY 0xFFBDBDBD
  366. #define COLOR_GEAR_DARKGREY 0xFF757575
  367. #define COLOR_GEAR_YELLOW 0xFFFFEE00
  368. #define COLOR_GEAR_LIGHTYELLOW 0xFFFFE75C
  369. #define COLOR_GEAR_DARKYELLOW 0xFFE8C900
  370. #define COLOR_GEAR_BLACK 0xFF000000
  371. #define COLOR_GEAR_WHITE 0xFFFFFFFF
  372. #define COLOR_EVENTHELP 0xFF00FFFF
  373. #define HIGHLIGHT_COLOR F00000
  374. #define COLOR_BITEM 0xE1B0B0FF
  375. #define COLOR_GRAD1 0xAFAFAFAA
  376. #define COLOR_GRAD2 0xBFC0C2FF
  377. #define COLOR_GRAD3 0xCBCCCEFF
  378. #define COLOR_GRAD4 0xD8D8D8FF
  379. #define COLOR_GRAD5 0xE3E3E3FF
  380. #define COLOR_GRAD6 0xF0F0F0FF
  381. #define COLOR_GREY 0xAFAFAFAA
  382. #define COLOR_GREEN 0x33AA33AA
  383. #define COLOR_DARKRED 0xAA3333AA
  384. #define COLOR_RED 0xFF0000AA
  385. #define COLOR_BLACK 0x000001FF
  386. #define COLOR_BLUE 0x007BD0FF
  387. #define COLOR_LIGHTRED 0xFF6347AA
  388. #define COLOR_LIGHTBLUE 0x33CCFFAA
  389. #define COLOR_LIGHTGREEN 0x9ACD32AA
  390. #define COLOR_DOC_NAMETAG 0xA5937000
  391. #define COLOR_DOCC 0xA5937000
  392. #define COLOR_SANG 0x9ACD3200
  393. #define COLOR_YELLOW 0xFFFF00AA
  394. #define COLOR_LIGHTYELLOW 0xFFFF91FF
  395. #define COLOR_YELLOW2 0xF5DEB3AA
  396. #define COLOR_WHITE 0xFFFFFFAA
  397. #define COLOR_FADE1 0xE6E6E6E6
  398. #define COLOR_FADE2 0xC8C8C8C8
  399. #define COLOR_FADE3 0xAAAAAAAA
  400. #define COLOR_FADE4 0x8C8C8C8C
  401. #define COLOR_FADE5 0x6E6E6E6E
  402. #define COLOR_PURPLE 0xC2A2DAAA
  403. #define COLOR_DEATHTAG 0xC2A2DAFF
  404. #define COLOR_DBLUE 0x2641FEAA
  405. #define COLOR_DOC 0xA5937000
  406. #define COLOR_DCHAT 0xF0CC00FF
  407. #define COLOR_NEWS 0xFFA500AA
  408. #define COLOR_OOC 0xE0FFFFAA
  409. #define TEAM_BLUE_COLOR 0x8D8DFF00
  410. #define TEAM_GROVE_COLOR 0x00AA00FF
  411. #define TEAM_AZTECAS_COLOR 0x01FCFFC8
  412. #define NEWBIE_COLOR 0x7DAEFFFF
  413. //#define COLOR_HOUSETEXT 0xBDB388FF
  414. #define COLOR_HOUSETEXT 0xFFFFFFFF
  415. #define COLOR_ENTRANCE 0xBDB388FF
  416. #define COLOR_ORANGE 0xFF830000
  417. #define HELPER_COLOR 0xBDB388FF
  418. #define COLOR_BIZTEXT 0xFFFFFFFF
  419. #define COLOR_GARAGETEXT 0xFFFFFFFF
  420. #define SAMP_COLOR 0xAAC4E5FF
  421. #define COLOR_DEV 0xFEE349FF
  422. #define COLOR_FLCHAT 0xBFD3FFFF //faction leader chat color
  423. #define COLOR_ECONO 0xBB78CEFF
  424. #define COLOR_S9 0x00ffffFF
  425. #define COLOR_CRIME 0xFF9966FF
  426. #define COLOR_FIRM 0x0099FFFF
  427. #define COLOR_REBELS 0xd03800FF
  428. #define COLOR_CARTEL_DE_TIJUANA 0xFF0000AA
  429. #define COLOR_BUREAU 0xA52A2AFF
  430. #define COLOR_RAVENS 0xA52A2AFF
  431. #define COLOR_EXEC_GROUP 0xA52A2AFF
  432. #define COLOR_LLS 0xA52A2AFF
  433. #define COLOR_PALERMO 0xA52A2AFF
  434. #define COLOR_HITMAN 0xC40000FF
  435. #define COLOR_FAMED 0x00CCCC00
  436. #define COLOR_OLDSCHOOL 0x00FF7FAA
  437. #define TCOLOR_NEWS 0xAD99BE00
  438. #define TCOLOR_VIP 0xECFF0000
  439. #define TCOLOR_WHITE 0xFFFFFF00
  440. #define TCOLOR_LIGHTGREEN 0x9ACD32FF
  441. #define TCOLOR_NAVYBLUE 0x8D8DFF00
  442. #define TCOLOR_BEIGE 0xA5937000
  443. #define TCOLOR_GREY 0xBFC0C200
  444. #define TCOLOR_DARKGREY 0x52545900
  445. #define TCOLOR_BLUE 0x2641FE00
  446. #define TCOLOR_SAS 0x51ADCC00
  447. #define COLOR_SAS 0x51ADCCFF
  448. #define COLOR_DOCTOR 0xFF8282AA
  449. #define TCOLOR_LIGHTBLUE 0x2B77A100
  450. #define TCOLOR_YELLOW 0xFFFF0000
  451. #define TCOLOR_HELP 0x00D700FF
  452. #define TCOLOR_FIND 0x9B0000AA
  453. #define TCOLOR_WANTED 0xD9141400
  454. #define TCOLOR_PRISON 0xF4A41900
  455. #define TCOLOR_APRISON 0xFD01FD00
  456. #define TCOLOR_HOSPITAL 0xAFAFAF00
  457. #define TCOLOR_PARAMEDIC 0xFF828200
  458. #define TCOLOR_SENATE 0x58585800
  459. #define TCOLOR_HIGHCOURT 0xBA610300
  460. #define SCOLOR_RED 0xD9000000
  461. #define SCOLOR_PINK 0xFE81FE00
  462. #define SCOLOR_ORANGE 0xFF6A2200
  463. #define SCOLOR_YELLOW 0xF0F00000
  464. #define SCOLOR_CYAN 0x00E6E600
  465. #define SCOLOR_GREEN 0x00CA0000
  466. #define SCOLOR_BLUE 0x0058B000
  467. #define SCOLOR_BLACK 0x00000000
  468. #define SCOLOR_WHITE 0xFFFFFF00
  469. #define SCOLOR_MARKER 0xD90000FF
  470. #define GPSCOLOR_SAPD 0x2641FEFF
  471. #define GPSCOLOR_SAST 0xA59370FF
  472. #define GPSCOLOR_LSFMD 0xFF8282FF
  473. #define GPSCOLOR_FBI 0x663399FF
  474. #define GPSCOLOR_DOC 0x9ACD32FF
  475. #define SARPTD_COLOUR 0xFFFFFF40
  476. #define LOADINGTD_COLOUR 0xFFFF00FF
  477. #define GCHAT_COLOR 0xC73838FF
  478. #define COLOR_LEADER 0xB0E0E6FF
  479. //ADMIN CHAT COLORS
  480. #define C_EXEC_ADMIN "{8C0000}" //darker red
  481. #define C_HEAD_ADMIN "{FF0000}" //red
  482. #define C_SENIOR_ADMIN "{FFA27A}" //?
  483. #define C_GENERAL_ADMIN "{00EB00}" //green (slightly darker green)
  484. #define C_JUNIOR_ADMIN "{00FF00}" //green
  485. #define C_SILENT_ADMIN "{A9A9A9}" //greyish
  486. #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; }
  487. #define mysql_counted_query queryballance++;mysql_function_query
  488. // ID OF MODEL SELECTIONS
  489. #define Jonas_Blue_Clothes_ID 1
  490. #define MAX_VEHICLE_SLOTS 4 //vehicles.inc, if adjusted adjust players.sql: CKey[number]
  491. //#define MAX_POLLS 4
  492. #define THREAD_LOAD_VEHICLES 2
  493. #define THREAD_LOAD_PLAYERINFO 1
  494. #define THREAD_NO_RESULT 0
  495. #define MAX_TAXICALLS 20
  496. #define TAXICALL_DIALOG 390
  497. //==============================================================================
  498. #define CLOTHESCOORDS 2727.1499, -2448.2400, 1299.5000
  499. #define SOUND_RADIUS 30
  500. //Optimized by Ettore
  501. #define ADVERTISE_COORDS 746.21, -1359.01, 9053.42