Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | None | 0 0
  1. /*
  2. * [.:New York City RolePlay!:.]
  3. * Los Angeles Roleplay Edit
  4. *
  5. *
  6. * New York RolePlay by Simon_Diesel
  7. * Los Angeles Roleplay by Ellis & Hoodstar.
  8. * Based on the original GodFather script by FeaR
  9. *
  10. */
  11.  
  12. //GM CHECKS:
  13. //----------------------------------------------------
  14. //GM FUNZIONANTE CHECK S.I. ~ TESTED 21/05/2010 1.02
  15. //INIZIO LAVORO PER GLI OBIETTIVI SBLOCCABILI, S_ITALY 22/05/2010 13.33
  16. //FINE LAVORO PER GLI OBIETTIVI, S_ITALY 22/05/2010 17.11
  17. //AGGIUNTI CANCELLI CASINO'
  18. //DESYNC VISORI BY .PEPPE
  19. //COMANDI AUTO BY RYAN 23/05/2010 1.27
  20.  
  21. #define SCRIPT_VERSION "New York City RolePlay v0.1"
  22.  
  23. #include <a_samp>
  24. #include <a_vehicles>
  25. //#include <a_sampmysql>
  26. #include <core>
  27. #include <float>
  28. #include <time>
  29. #include <file>
  30. #include <utils>
  31. #include <morphinc>
  32. #include <streamer>
  33. #include <seifader>
  34. #include <SpikeStrip>
  35. static gTeam[MAX_PLAYERS];
  36.  
  37. #undef MAX_PLAYERS
  38. #define MAX_PLAYERS 20 //Cambialo se cambiano gli slots del server, attuali: 20
  39. #define Streamer_SetTicks(500);
  40. #define MAX_STRING 255
  41. #define CHECKPOINT_NONE 0
  42. #define COLOR_ASKQ 0xFF0000FF
  43. #define COLOR_ORANGE 0xFFAF02AA
  44. #define CHECKPOINT_HOME 12
  45. #define COLOR_GRAD1 0xB4B5B7FF
  46. #define COLOR_GRAD2 0xBFC0C2FF
  47. #define COLOR_GRAD3 0xCBCCCEFF
  48. #define COLOR_GRAD4 0xD8D8D8FF
  49. #define COLOR_GRAD5 0xE3E3E3FF
  50. #define COLOR_GRAD6 0xF0F0F0FF
  51. #define COLOR_GREY 0xAFAFAFAA
  52. #define COLOR_GREEN 0x9EC73DAA
  53. #define COLOR_GROVE 0x00FF00FF
  54. #define COLOR_RED 0xAA3333AA
  55. #define COLOR_LIGHTRED 0xFF6347AA
  56. #define COLOR_LIGHTBLUE 0x33CCFFAA
  57. #define COLOR_LIGHTGREEN 0x9ACD32AA
  58. #define COLOR_INOUT 0x00FFA3FF
  59. #define COLOR_YELLOW 0xDABB3EAA
  60. #define COLOR_YELLOW2 0xF5DEB3AA
  61. #define COLOR_WHITE 0xFFFFFFAA
  62. #define COLOR_FADE1 0xE6E6E6E6
  63. #define COLOR_FADE2 0xC8C8C8C8
  64. #define COLOR_FADE3 0xAAAAAAAA
  65. #define COLOR_FADE4 0x8C8C8C8C
  66. #define COLOR_FADE5 0x6E6E6E6E
  67. #define COLOR_PURPLE 0xC2A2DAAA
  68. #define COLOR_DBLUE 0x2641FEAA
  69. #define COLOR_ALLDEPT 0xFF8282AA
  70. #define COLOR_NEWS 0x458E1DAA
  71. //#define COLOR_OOC 0xE0FFFFAA
  72. #define COLOR_OOC 0xB1C8FBAA
  73. #define TEAM_CYAN 1
  74. #define TEAM_BLUE 2
  75. #define TEAM_GREEN 3
  76. #define TEAM_ORANGE 4
  77. #define TEAM_COR 5
  78. #define TEAM_BAR 6
  79. #define TEAM_TAT 7
  80. #define TEAM_CUN 8
  81. #define TEAM_STR 9
  82. #define TEAM_HIT 10
  83. #define TEAM_ADMIN 11
  84. #define OBJECTIVE_COLOR 0x64000064
  85. #define TEAM_GREEN_COLOR 0xFFFFFFAA
  86. #define TEAM_JOB_COLOR 0xFFB6C1AA
  87. #define TEAM_HIT_COLOR 0xFFFFFF00
  88. #define TEAM_BLUE_COLOR 0x8D8DFF00
  89. #define TEAM_RADIO_COLOR 0xF2D068FF
  90. #define COLOR_ADD 0x63FF60AA
  91. #define TEAM_GROVE_COLOR 0x00D900C8
  92. #define TEAM_VAGOS_COLOR 0xFFC801C8
  93. #define TEAM_BALLAS_COLOR 0xD900D3C8
  94. #define TEAM_AZTECAS_COLOR 0x01FCFFC8
  95. #define TEAM_CYAN_COLOR 0xFF8282AA
  96. #define TEAM_ORANGE_COLOR 0xFF830000
  97. #define TEAM_COR_COLOR 0x39393900
  98. #define TEAM_BAR_COLOR 0x00D90000
  99. #define TEAM_TAT_COLOR 0xBDCB9200
  100. #define TEAM_CUN_COLOR 0xD900D300
  101. #define TEAM_STR_COLOR 0x01FCFF00
  102. #define TEAM_ADMIN_COLOR 0x00808000
  103. #define COLOR_INVIS 0xAFAFAF00
  104. #define COLOR_SPEC 0xBFC0C200
  105. #pragma tabsize 0
  106. #define COLOR_BLUE 0x2641FEAA
  107. #define COLOR_DARKNICERED 0x9D000096
  108. #define COLOR_LIGHT_BLUE 0x9FB1EEAA
  109. #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
  110. #define SendFMessage(%0,%1,%2,%3) format(%2, sizeof(%2), %3); \
  111. SendClientMessage(%0, %1, %2)
  112. #define SendFMessageToAll(%0,%1,%2) format(%1, sizeof(%1), %2); \
  113. SendClientMessageToAll(%0, %1)
  114.  
  115. #pragma semicolon 0
  116. #define MAX_TRUNK_SLOTS (5) // Is actually 4.
  117. #define MAX_VEHICLE_MODELS (110)
  118. #define MAX_PLYVEH_RATIO (20) // per player.
  119. #define MAX_VEHICLE_PLATE (7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement