Guest User

Avst

a guest
Oct 14th, 2015
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 99.05 KB | None | 0 0
  1. /***************************************************/
  2. /*          AvsT creer par Jaber                  */
  3. /*          Fonder Par TheMarix                  */
  4. /************************************************/
  5.  
  6. /* Les Includes */
  7. #include <a_samp>
  8. #include <ELC_AC_BASE>
  9. #include <zcmd>
  10. #include <a_mysql>
  11. #include <sscanf2>
  12. #include <streamer>
  13. /* Les Defines */
  14. // COLOR
  15. #define COLOR_GREY 0xAFAFAFAA
  16. #define G "{00FF00}"
  17. #define W "{FFFFFF}"
  18. #define LB "{00C0FF}"
  19. #define O "{FFAF00}"
  20. #define R "{F81414}"
  21. #define SRV "{AFE7FF}"
  22. #define GR "{C3C3C3}"
  23.  
  24. #define COLOR_GREY 0xAFAFAFAA
  25. #define COLOR_GREEN 0x33AA33AA
  26. #define COLOR_RED 0xAA3333AA
  27. #define COLOR_YELLOW 0xFFFF00AA
  28. #define COLOR_WHITE 0xFFFFFFAA
  29. #define COLOR_BLUE 0x0000BBAA
  30. #define COLOR_LIGHTBLUE 0x33CCFFAA
  31. #define COLOR_ORANGE 0xFF9900AA
  32. #define COLOR_RED 0xAA3333AA
  33. #define COLOR_LIME 0x10F441AA
  34. #define COLOR_MAGENTA 0xFF00FFFF
  35. #define COLOR_NAVY 0x000080AA
  36. #define COLOR_AQUA 0xF0F8FFAA
  37. #define COLOR_CRIMSON 0xDC143CAA
  38. #define COLOR_FLBLUE 0x6495EDAA
  39. #define COLOR_BISQUE 0xFFE4C4AA
  40. #define COLOR_BLACK 0x000000AA
  41. #define COLOR_CHARTREUSE 0x7FFF00AA
  42. #define COLOR_BROWN 0XA52A2AAA
  43. #define COLOR_CORAL 0xFF7F50AA
  44. #define COLOR_GOLD 0xB8860BAA
  45. #define COLOR_GREENYELLOW 0xADFF2FAA
  46. #define COLOR_INDIGO 0x4B00B0AA
  47. #define COLOR_IVORY 0xFFFF82AA
  48. #define COLOR_LAWNGREEN 0x7CFC00AA
  49. #define COLOR_SEAGREEN 0x20B2AAAA
  50. #define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
  51. #define COLOR_MIDNIGHTBLUE 0X191970AA
  52. #define COLOR_MAROON 0x800000AA
  53. #define COLOR_OLIVE 0x808000AA
  54. #define COLOR_ORANGERED 0xFF4500AA
  55. #define COLOR_PINK 0xFFC0CBAA // - Light light pink
  56. #define COLOR_SPRINGGREEN 0x00FF7FAA
  57. #define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
  58. #define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
  59. #define COLOR_MEDIUMAQUA 0x83BFBFAA
  60. #define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^
  61. // Mysql
  62.  
  63. #define Function::%0(%1)    forward%0(%1); public%0(%1)
  64. #define mysql_host "localhost"
  65. #define mysql_user "root"
  66. #define mysql_db   "avst"
  67. #define mysql_pass ""
  68.  
  69. new gQuery[2800], gString[4000];
  70.  
  71. //      *** Functii
  72.  
  73. #define SPD ShowPlayerDialog
  74. #define SCM SendClientMessage
  75. #define TDSFP TextDrawShowForPlayer
  76. #define TDHFP TextDrawHideForPlayer
  77.  
  78. stock bool:False = false;
  79.  
  80. #define SCMF(%0,%1,%2,%3)\
  81.     do{\
  82.         gString[0] = EOS;\
  83.         format(gString,256,(%2),%3);\
  84.         SendClientMessage((%0),(%1),gString);\
  85.     }\
  86.     while( False )
  87.  
  88. //      *** Enums
  89.  
  90. enum
  91. {
  92.     THREAD_DIALOG_REGISTER,
  93.     THREAD_DIALOG_LOGIN
  94. }
  95. enum PlayerData
  96. {
  97.     ID,
  98.     pKills,
  99.     pDeaths,
  100.     pMoney,
  101.     pScore
  102. }
  103. new P_DATA[MAX_PLAYERS][PlayerData];
  104. new bool:Logged[MAX_PLAYERS];
  105. //****** Var Team **************
  106.  
  107. new txd_class[MAX_PLAYERS];
  108. new gTeam[MAX_PLAYERS];
  109.  
  110. #define SWAT 0
  111. #define TERO 1
  112. /* les variables textdraw */
  113.  
  114. new Text:panel_co[15];
  115. new Text:class_dm_swat[12];
  116. new Text:class_dm_tero[12];
  117. new PlayerText:stats_td[11][MAX_PLAYERS];
  118. new PlayerText:achat_td[30][MAX_PLAYERS];
  119. // system achat
  120.  
  121. new bool:casque[MAX_PLAYERS];
  122. // forward
  123.  
  124. forward showtextdraw_co(playerid);
  125. forward textdraw_class(playerid, classid);
  126. forward showtextdraw_score(playerid);
  127. forward showtextdraw_global(playerid);
  128. forward showtextdraw_achat(playerid);
  129.  
  130. forward hidetextdraw_co(playerid);
  131. forward hidetextdraw_class(playerid);
  132. forward hidetextdraw_score(playerid);
  133. forward hidetextdraw_global(playerid);
  134. forward hidetextdraw_achat(playerid);
  135.  
  136.  
  137. main()
  138. {
  139. }
  140.  
  141.  
  142. public OnGameModeInit()
  143. {
  144. //===============================MySql Connect==================================
  145.     mysql_connect(mysql_host,mysql_user,mysql_db,mysql_pass);
  146.     if(mysql_errno() != 0)
  147.     {
  148.         mysql_log(LOG_ALL);
  149.         printf("[MySql]: Connexion a la base de donner echouer!");
  150.        
  151.     }
  152.     else
  153.     {
  154.         printf("[MySql]: Connexion a la base de donner [%s] Etablie!", mysql_db);
  155.     }
  156.     while(mysql_errno() != 0)
  157.     {
  158.         printf("[MySql]: Connexion a la base de donner echouer!");
  159.      }
  160. //==============================================================================
  161. //======================================Mapping Creer par matrix ================================
  162.     CreateDynamicObject(10763, 221.77995, 1856.57617, 49.25062,   0.00000, 0.00000, 225.88553);
  163.     CreateDynamicObject(16335, 190.76016, 1880.70056, 16.31192,   0.00000, 0.00000, 239.26747);
  164.     CreateDynamicObject(8171, 263.12506, 2008.28491, 16.77568,   0.00000, 0.00000, 0.00000);
  165.     CreateDynamicObject(8172, 303.15332, 1863.75818, 16.76795,   0.00000, 0.00000, 0.00000);
  166.     CreateDynamicObject(8171, 303.14014, 2008.82312, 16.77568,   0.00000, 0.00000, 0.00000);
  167.     CreateDynamicObject(18850, 187.95132, 2081.91699, 17.86480,   0.00000, 0.00000, 39.13827);
  168.     CreateDynamicObject(8613, 199.90395, 2065.61328, 26.51181,   0.00000, 0.00000, 37.20646);
  169.     CreateDynamicObject(7153, 222.38617, 1996.22546, 11.90350,   0.00000, 0.00000, 358.72458);
  170.     CreateDynamicObject(7153, 221.65134, 1941.81738, 12.31776,   0.00000, 0.00000, 358.72458);
  171.     CreateDynamicObject(7153, 222.27318, 1968.93420, 12.10651,   0.00000, 0.00000, 358.72458);
  172.     CreateDynamicObject(987, 263.83679, 1799.07263, 16.59401,   0.00000, 0.00000, 359.61612);
  173.     CreateDynamicObject(987, 252.00681, 1799.12183, 16.59401,   0.00000, 0.00000, 359.61612);
  174.     CreateDynamicObject(987, 240.06715, 1799.13098, 16.59401,   0.00000, 0.00000, 359.61612);
  175.     CreateDynamicObject(987, 227.98721, 1798.98596, 16.59401,   0.00000, 0.00000, 359.61612);
  176.     CreateDynamicObject(987, 216.00041, 1798.92847, 16.59401,   0.00000, 0.00000, 359.61612);
  177.     CreateDynamicObject(987, 204.23412, 1799.00171, 16.59401,   0.00000, 0.00000, 359.61612);
  178.     CreateDynamicObject(987, 192.34920, 1798.95032, 16.59401,   0.00000, 0.00000, 359.61612);
  179.     CreateDynamicObject(987, 180.34875, 1798.74634, 16.59401,   0.00000, 0.00000, 359.61612);
  180.     CreateDynamicObject(987, 168.51163, 1798.81055, 16.59401,   0.00000, 0.00000, 359.61612);
  181.     CreateDynamicObject(987, 156.48923, 1798.91309, 16.59401,   0.00000, 0.00000, 359.61612);
  182.     CreateDynamicObject(987, 144.43040, 1798.82092, 16.59401,   0.00000, 0.00000, 359.61612);
  183.     CreateDynamicObject(3749, 134.92253, 1800.06787, 22.30175,   0.00000, 0.00000, 1.01490);
  184.     CreateDynamicObject(3749, 119.17933, 1799.97595, 22.30175,   0.00000, 0.00000, 1.01490);
  185.     CreateDynamicObject(987, 97.60999, 1799.61096, 16.59401,   0.00000, 0.00000, 359.61612);
  186.     CreateDynamicObject(987, 85.59473, 1799.46643, 16.59401,   0.00000, 0.00000, 359.61612);
  187.     CreateDynamicObject(987, 85.62743, 1811.83679, 16.59401,   0.00000, 0.00000, 269.02463);
  188.     CreateDynamicObject(987, 85.95537, 1823.84265, 16.59401,   0.00000, 0.00000, 267.75635);
  189.     CreateDynamicObject(987, 86.29622, 1836.02551, 16.59401,   0.00000, 0.00000, 267.75635);
  190.     CreateDynamicObject(987, 86.74654, 1847.98450, 16.59401,   0.00000, 0.00000, 267.75635);
  191.     CreateDynamicObject(987, 87.08340, 1859.96326, 16.59401,   0.00000, 0.00000, 267.75635);
  192.     CreateDynamicObject(987, 87.28040, 1871.86426, 16.59401,   0.00000, 0.00000, 267.75635);
  193.     CreateDynamicObject(987, 87.57729, 1883.84595, 16.59401,   0.00000, 0.00000, 267.75635);
  194.     CreateDynamicObject(987, 87.87455, 1895.60730, 16.59401,   0.00000, 0.00000, 267.75635);
  195.     CreateDynamicObject(987, 88.34470, 1907.47986, 16.59401,   0.00000, 0.00000, 267.75635);
  196.     CreateDynamicObject(3749, 89.63348, 1920.49536, 22.49468,   0.00000, 0.00000, -89.64001);
  197.     CreateDynamicObject(3749, 89.57059, 1936.09412, 22.49468,   0.00000, 0.00000, -89.64001);
  198.     CreateDynamicObject(987, 88.27302, 1911.36353, 16.59401,   0.00000, 0.00000, 267.75635);
  199.     CreateDynamicObject(987, 102.01011, 1957.33728, 16.59401,   0.00000, 0.00000, 176.37628);
  200.     CreateDynamicObject(987, 88.27302, 1911.36353, 16.59401,   0.00000, 0.00000, 267.75635);
  201.     CreateDynamicObject(987, 89.90389, 1957.77795, 16.59401,   0.00000, 0.00000, 267.75635);
  202.     CreateDynamicObject(987, 114.12247, 1956.81897, 16.59401,   0.00000, 0.00000, 176.37628);
  203.     CreateDynamicObject(987, 125.88321, 1956.25525, 16.59401,   0.00000, 0.00000, 176.37628);
  204.     CreateDynamicObject(3749, 135.03142, 1942.60852, 24.14648,   0.00000, 0.00000, -0.96000);
  205.     CreateDynamicObject(987, 125.85558, 1944.53076, 16.59401,   0.00000, 0.00000, 90.39616);
  206.     CreateDynamicObject(987, 156.79042, 1943.46802, 16.59401,   0.00000, 0.00000, -181.70377);
  207.     CreateDynamicObject(987, 168.61888, 1943.02148, 16.59401,   0.00000, 0.00000, -181.70377);
  208.     CreateDynamicObject(987, 180.62640, 1942.76563, 16.59401,   0.00000, 0.00000, -181.70377);
  209.     CreateDynamicObject(987, 189.05615, 1939.33777, 16.59401,   0.00000, 0.00000, -197.84329);
  210.     CreateDynamicObject(987, 275.91714, 1799.00195, 16.59401,   0.00000, 0.00000, 449.85596);
  211.     CreateDynamicObject(987, 275.89868, 1803.94385, 16.59401,   0.00000, 0.00000, 449.85596);
  212.     CreateDynamicObject(987, 275.25064, 1826.93665, 16.59401,   0.00000, 0.00000, 449.85596);
  213.     CreateDynamicObject(987, 275.11005, 1838.91870, 16.59401,   0.00000, 0.00000, 449.85596);
  214.     CreateDynamicObject(987, 275.08966, 1850.84778, 16.59401,   0.00000, 0.00000, 449.85596);
  215.     CreateDynamicObject(987, 275.28320, 1862.75891, 16.59401,   0.00000, 0.00000, 449.85596);
  216.     CreateDynamicObject(987, 275.35837, 1874.69800, 16.59401,   0.00000, 0.00000, 449.85596);
  217.     CreateDynamicObject(987, 275.36185, 1886.67322, 16.59401,   0.00000, 0.00000, 449.85596);
  218.     CreateDynamicObject(987, 275.23615, 1898.64441, 16.59401,   0.00000, 0.00000, 449.85596);
  219.     CreateDynamicObject(987, 275.35040, 1910.59338, 16.59401,   0.00000, 0.00000, 449.85596);
  220.     CreateDynamicObject(987, 275.68652, 1922.42065, 16.59401,   0.00000, 0.00000, 449.85596);
  221.     CreateDynamicObject(987, 275.63263, 1928.18616, 16.59401,   0.00000, 0.00000, 449.85596);
  222.     CreateDynamicObject(987, 275.53793, 1939.07141, 16.59401,   0.00000, 0.00000, 539.67584);
  223.     CreateDynamicObject(987, 263.60217, 1939.15955, 16.59401,   0.00000, 0.00000, 539.67584);
  224.     CreateDynamicObject(987, 251.74722, 1939.17078, 16.59401,   0.00000, 0.00000, 539.67584);
  225.     CreateDynamicObject(987, 239.76112, 1939.07471, 16.59401,   0.00000, 0.00000, 539.67584);
  226.     CreateDynamicObject(987, 235.89012, 1939.15125, 16.59401,   0.00000, 0.00000, 539.67584);
  227.     CreateDynamicObject(3749, 274.11597, 1821.15503, 22.49468,   0.00000, 0.00000, 270.88446);
  228.     CreateDynamicObject(11556, 462.55450, 1987.74280, 51.38079,   0.00000, 0.00000, -101.27994);
  229.     CreateDynamicObject(11556, 469.48236, 2041.52942, 51.38080,   0.00000, 0.00000, -101.27994);
  230.     CreateDynamicObject(18850, 354.47937, 2028.06970, 10.51743,   0.00000, 0.00000, 2.73131);
  231.     CreateDynamicObject(3279, 384.94662, 2077.13818, 16.56925,   0.00000, 0.00000, -89.70000);
  232.     CreateDynamicObject(3279, 384.02261, 1892.38049, 16.56925,   0.00000, 0.00000, -179.04002);
  233.     CreateDynamicObject(3279, 270.66351, 1804.48096, 16.56925,   0.00000, 0.00000, -271.91992);
  234.     CreateDynamicObject(3279, 270.72794, 1873.94971, 16.56925,   0.00000, 0.00000, -542.21918);
  235.     CreateDynamicObject(3279, 149.49252, 1807.26501, 16.59222,   0.00000, 0.00000, 0.00000);
  236.     CreateDynamicObject(3279, 92.93990, 1805.77087, 16.59222,   0.00000, 0.00000, 0.00000);
  237.     CreateDynamicObject(3279, 93.97038, 1904.78174, 16.59222,   0.00000, 0.00000, 0.00000);
  238.     CreateDynamicObject(3279, 95.95126, 1952.41528, 16.59222,   0.00000, 0.00000, 0.00000);
  239.     CreateDynamicObject(10826, 354.27371, 2492.98315, 22.22869,   0.00000, 0.00000, -180.84000);
  240.     CreateDynamicObject(10824, 356.77127, 2495.40063, 17.26507,   0.00000, 0.00000, -180.05997);
  241.     CreateDynamicObject(10827, 480.94492, 2508.93262, 38.80756,   0.00000, 0.00000, -181.14009);
  242.     CreateDynamicObject(8171, 355.98441, 2493.82007, 16.28293,   0.00000, 0.00000, -91.26000);
  243.     CreateDynamicObject(8171, 361.26199, 2450.98413, 16.28030,   0.00000, 0.00000, -91.26000);
  244.     CreateDynamicObject(3115, 275.80841, 2456.84814, 15.95464,   0.00000, 0.00000, -0.72000);
  245.     CreateDynamicObject(3115, 275.62466, 2438.18433, 15.95464,   0.00000, 0.00000, -0.72000);
  246.     CreateDynamicObject(3115, 276.07321, 2475.53125, 15.95464,   0.00000, 0.00000, -0.66000);
  247.     CreateDynamicObject(3115, 271.47260, 2456.46729, 15.16635,   -0.12000, 7.92000, -0.72000);
  248.     CreateDynamicObject(3115, 276.22269, 2494.33032, 15.95464,   0.00000, 0.00000, -0.66000);
  249.     CreateDynamicObject(3115, 276.40997, 2513.07935, 15.95464,   0.00000, 0.00000, -0.60000);
  250.     CreateDynamicObject(3115, 276.22269, 2494.33032, 15.95464,   0.00000, 0.00000, -0.66000);
  251.     CreateDynamicObject(3115, 276.48984, 2531.81079, 15.95464,   0.00000, 0.00000, -0.60000);
  252.     CreateDynamicObject(3115, 276.85510, 2550.35327, 15.95464,   0.00000, 0.00000, -0.30000);
  253.     CreateDynamicObject(3115, 256.10852, 2550.47437, 13.96770,   0.12000, -10.92000, -0.30000);
  254.     CreateDynamicObject(3115, 255.90616, 2532.03809, 13.96770,   0.12000, -10.92000, -0.30000);
  255.     CreateDynamicObject(3115, 255.68735, 2513.31714, 13.96770,   0.12000, -10.92000, -0.30000);
  256.     CreateDynamicObject(3115, 255.42232, 2494.51294, 13.96770,   0.12000, -10.92000, -0.30000);
  257.     CreateDynamicObject(3115, 255.28696, 2475.82080, 13.96770,   0.12000, -10.92000, -0.30000);
  258.     CreateDynamicObject(3115, 255.07710, 2457.01050, 14.00339,   0.12000, -10.92000, -0.30000);
  259.     CreateDynamicObject(3115, 254.86925, 2438.36426, 13.96770,   0.12000, -10.92000, -0.30000);
  260.     CreateDynamicObject(8209, 337.18500, 2426.49902, 18.31312,   0.00000, 0.00000, -181.79996);
  261.     CreateDynamicObject(8209, 382.34225, 2425.05420, 18.30144,   0.00000, 0.00000, -181.79996);
  262.     CreateDynamicObject(8209, 251.84477, 2560.19263, 18.35572,   0.00000, 0.00000, 0.00000);
  263.     CreateDynamicObject(8209, 345.74225, 2560.27466, 18.35572,   0.00000, 0.00000, 0.00000);
  264.     CreateDynamicObject(8209, 375.84891, 2560.38013, 18.35572,   0.00000, 0.00000, 0.06000);
  265.     CreateDynamicObject(8210, 200.78317, 2534.21558, 18.19691,   0.00000, 0.00000, 86.70000);
  266.     CreateDynamicObject(8210, 195.26814, 2456.76172, 18.19691,   0.00000, 0.00000, 86.70000);
  267.     CreateDynamicObject(8314, 191.17154, 2496.41211, 18.54284,   0.00000, 0.00000, 9.17999);
  268.     CreateDynamicObject(8168, 191.53394, 2509.74780, 17.14485,   0.00000, 0.00000, 11.52000);
  269.     CreateDynamicObject(8172, 369.55188, 2455.55347, 39.32350,   0.00000, 0.00000, -90.78001);
  270.     CreateDynamicObject(8172, 369.99551, 2495.39819, 39.32350,   0.00000, 0.00000, -90.78001);
  271.     CreateDynamicObject(8038, 336.83331, 2533.36865, 57.83809,   0.00000, 0.00000, -90.54000);
  272.     CreateDynamicObject(3399, 258.74030, 2430.38306, 17.63275,   0.00000, 0.00000, 0.00000);
  273.     CreateDynamicObject(3399, 270.36139, 2430.38501, 22.29283,   0.00000, 0.00000, 0.00000);
  274.     CreateDynamicObject(3399, 276.14020, 2435.88770, 26.94104,   0.00000, 0.00000, 89.46001);
  275.     CreateDynamicObject(3399, 276.16940, 2445.33374, 31.61695,   0.00000, 0.00000, 89.46001);
  276.     CreateDynamicObject(3399, 276.30197, 2453.15161, 34.26277,   0.00000, 0.00000, 89.46001);
  277.     CreateDynamicObject(3399, 280.03101, 2458.96533, 37.66861,   0.00000, 0.00000, -1.44000);
  278.     CreateDynamicObject(3115, 250.63998, 2438.08545, 15.31483,   0.00000, 0.00000, -0.72000);
  279.     CreateDynamicObject(3115, 250.92084, 2456.81519, 16.41890,   0.00000, 0.00000, -0.72000);
  280.     CreateDynamicObject(3115, 251.12408, 2475.44727, 15.31483,   0.00000, 0.00000, -0.72000);
  281.     CreateDynamicObject(3115, 251.34467, 2494.23950, 15.31483,   0.00000, 0.00000, -0.72000);
  282.     CreateDynamicObject(3115, 251.48473, 2512.81128, 15.31483,   0.00000, 0.00000, -0.72000);
  283.     CreateDynamicObject(3115, 251.80031, 2531.31421, 15.31483,   0.00000, 0.00000, -0.72000);
  284.     CreateDynamicObject(3115, 230.88452, 2531.79443, 15.31483,   0.00000, 0.00000, -0.72000);
  285.     CreateDynamicObject(3115, 209.96245, 2532.03149, 15.31483,   0.00000, 0.00000, -0.72000);
  286.     CreateDynamicObject(3115, 230.57016, 2513.30811, 15.31483,   0.00000, 0.00000, -0.72000);
  287.     CreateDynamicObject(3115, 209.71648, 2513.56787, 15.31483,   0.00000, 0.00000, -0.72000);
  288.     CreateDynamicObject(3115, 230.32114, 2494.46973, 15.31483,   0.00000, 0.00000, -0.72000);
  289.     CreateDynamicObject(3115, 209.50203, 2494.89282, 15.31483,   0.00000, 0.00000, -0.72000);
  290.     CreateDynamicObject(3115, 189.56438, 2495.33765, 15.31483,   0.00000, 0.00000, -0.72000);
  291.     CreateDynamicObject(3115, 189.92599, 2513.99585, 15.31483,   0.00000, 0.00000, -0.72000);
  292.     CreateDynamicObject(3115, 189.99522, 2532.56152, 15.31483,   0.00000, 0.00000, -0.72000);
  293.     CreateDynamicObject(3115, 188.00743, 2476.68555, 15.31483,   0.00000, 0.00000, -0.72000);
  294.     CreateDynamicObject(3115, 209.21498, 2476.34814, 15.31483,   0.00000, 0.00000, -0.72000);
  295.     CreateDynamicObject(3115, 230.05383, 2475.78687, 15.31483,   0.00000, 0.00000, -0.72000);
  296.     CreateDynamicObject(3115, 229.82199, 2457.12183, 16.27341,   0.00000, 0.00000, -0.72000);
  297.     CreateDynamicObject(3115, 208.88167, 2457.51221, 15.31483,   0.00000, 0.00000, -0.72000);
  298.     CreateDynamicObject(3115, 208.26097, 2438.74170, 15.31483,   0.00000, 0.00000, -0.72000);
  299.     CreateDynamicObject(3115, 187.46141, 2439.21436, 15.31483,   0.00000, 0.00000, -0.72000);
  300.     CreateDynamicObject(3115, 187.76689, 2457.87183, 15.31483,   0.00000, 0.00000, -0.72000);
  301.     CreateDynamicObject(3115, 251.48557, 2550.28735, 15.31483,   0.00000, 0.00000, -0.72000);
  302.     CreateDynamicObject(3115, 230.27553, 2550.78247, 15.31483,   0.00000, 0.00000, -0.72000);
  303.     CreateDynamicObject(3115, 209.18518, 2550.71729, 15.31483,   0.00000, 0.00000, -0.72000);
  304.     CreateDynamicObject(16021, 243.60286, 2550.67432, 15.24437,   0.00000, 0.00000, -90.24001);
  305.     CreateDynamicObject(3115, 253.66034, 2538.01392, 15.53859,   0.00000, 0.00000, -0.36000);
  306.     CreateDynamicObject(3115, 253.81966, 2547.70288, 15.53859,   0.00000, 0.00000, -0.72000);
  307.     CreateDynamicObject(3115, 232.61682, 2537.98047, 15.53859,   0.00000, 0.00000, 0.36000);
  308.     CreateDynamicObject(3115, 211.69066, 2538.19312, 15.53859,   0.00000, 0.00000, -0.06000);
  309.     CreateDynamicObject(3115, 211.72798, 2550.96631, 15.53859,   0.00000, 0.00000, -0.06000);
  310.     CreateDynamicObject(3115, 232.53716, 2550.75684, 15.53859,   0.00000, 0.00000, -0.06000);
  311.     CreateDynamicObject(3115, 253.53304, 2550.68530, 15.53859,   0.00000, 0.00000, -0.06000);
  312.     CreateDynamicObject(3115, 229.58018, 2438.58276, 16.27341,   0.00000, 0.00000, -0.72000);
  313.     CreateDynamicObject(3115, 250.72839, 2438.35767, 16.41890,   0.00000, 0.00000, -0.72000);
  314.     CreateDynamicObject(3115, 271.22736, 2437.70068, 15.16635,   -0.12000, 7.92000, -0.72000);
  315.     CreateDynamicObject(3115, 250.92084, 2456.81519, 15.97277,   0.00000, 0.00000, -0.72000);
  316.     CreateDynamicObject(3115, 229.82199, 2457.12183, 15.80626,   0.00000, 0.00000, -0.72000);
  317.     CreateDynamicObject(3115, 229.58018, 2438.58276, 15.64645,   0.00000, 0.00000, -0.72000);
  318.     CreateDynamicObject(8171, 355.09094, 2457.51270, 16.28293,   0.00000, 0.00000, -91.26000);
  319.     CreateDynamicObject(8171, 356.93771, 2529.97339, 16.28293,   0.00000, 0.00000, -91.26000);
  320.     CreateDynamicObject(3115, 275.80841, 2456.84814, 15.95464,   0.00000, 0.00000, -0.72000);
  321.     CreateDynamicObject(3115, 275.62466, 2438.18433, 15.95464,   0.00000, 0.00000, -0.72000);
  322.     CreateDynamicObject(3115, 276.07321, 2475.53125, 15.95464,   0.00000, 0.00000, -0.66000);
  323.     CreateDynamicObject(3115, 276.22269, 2494.33032, 15.95464,   0.00000, 0.00000, -0.66000);
  324.     CreateDynamicObject(3115, 276.40997, 2513.07935, 15.95464,   0.00000, 0.00000, -0.60000);
  325.     CreateDynamicObject(3115, 276.22269, 2494.33032, 15.95464,   0.00000, 0.00000, -0.66000);
  326.     CreateDynamicObject(3115, 276.48984, 2531.81079, 15.95464,   0.00000, 0.00000, -0.60000);
  327.     CreateDynamicObject(3115, 276.85510, 2550.35327, 15.95464,   0.00000, 0.00000, -0.30000);
  328.     CreateDynamicObject(3115, 256.10852, 2550.47437, 13.96770,   0.12000, -10.92000, -0.30000);
  329.     CreateDynamicObject(3115, 255.90616, 2532.03809, 13.96770,   0.12000, -10.92000, -0.30000);
  330.     CreateDynamicObject(3115, 255.68735, 2513.31714, 13.96770,   0.12000, -10.92000, -0.30000);
  331.     CreateDynamicObject(3115, 255.42232, 2494.51294, 13.96770,   0.12000, -10.92000, -0.30000);
  332.     CreateDynamicObject(3115, 255.28696, 2475.82080, 13.96770,   0.12000, -10.92000, -0.30000);
  333.     CreateDynamicObject(3115, 255.07710, 2457.01050, 14.00339,   0.12000, -10.92000, -0.30000);
  334.     CreateDynamicObject(3115, 254.86925, 2438.36426, 13.96770,   0.12000, -10.92000, -0.30000);
  335.     CreateDynamicObject(8209, 243.72708, 2429.41919, 18.34870,   0.00000, 0.00000, -181.79996);
  336.     CreateDynamicObject(8209, 337.18500, 2426.49902, 18.31312,   0.00000, 0.00000, -181.79996);
  337.     CreateDynamicObject(8209, 382.34225, 2425.05420, 18.30144,   0.00000, 0.00000, -181.79996);
  338.     CreateDynamicObject(8209, 251.84477, 2560.19263, 18.35572,   0.00000, 0.00000, 0.00000);
  339.     CreateDynamicObject(8209, 345.74225, 2560.27466, 18.35572,   0.00000, 0.00000, 0.00000);
  340.     CreateDynamicObject(8209, 375.84891, 2560.38013, 18.35572,   0.00000, 0.00000, 0.06000);
  341.     CreateDynamicObject(8210, 200.78317, 2534.21558, 18.19691,   0.00000, 0.00000, 86.70000);
  342.     CreateDynamicObject(8210, 195.26814, 2456.76172, 18.19691,   0.00000, 0.00000, 86.70000);
  343.     CreateDynamicObject(3399, 258.74030, 2430.38306, 17.63275,   0.00000, 0.00000, 0.00000);
  344.     CreateDynamicObject(3399, 270.36139, 2430.38501, 22.29283,   0.00000, 0.00000, 0.00000);
  345.     CreateDynamicObject(3399, 276.14020, 2435.88770, 26.94104,   0.00000, 0.00000, 89.46001);
  346.     CreateDynamicObject(3399, 276.16940, 2445.33374, 31.61695,   0.00000, 0.00000, 89.46001);
  347.     CreateDynamicObject(3399, 276.30197, 2453.15161, 34.26277,   0.00000, 0.00000, 89.46001);
  348.     CreateDynamicObject(3399, 280.03101, 2458.96533, 37.66861,   0.00000, 0.00000, -1.44000);
  349.     CreateDynamicObject(3115, 250.63998, 2438.08545, 15.31483,   0.00000, 0.00000, -0.72000);
  350.     CreateDynamicObject(3115, 250.92084, 2456.81519, 16.41890,   0.00000, 0.00000, -0.72000);
  351.     CreateDynamicObject(3115, 251.34467, 2494.23950, 15.31483,   0.00000, 0.00000, -0.72000);
  352.     CreateDynamicObject(3115, 251.48473, 2512.81128, 15.31483,   0.00000, 0.00000, -0.72000);
  353.     CreateDynamicObject(3115, 251.80031, 2531.31421, 15.31483,   0.00000, 0.00000, -0.72000);
  354.     CreateDynamicObject(3115, 230.88452, 2531.79443, 15.31483,   0.00000, 0.00000, -0.72000);
  355.     CreateDynamicObject(3115, 209.96245, 2532.03149, 15.31483,   0.00000, 0.00000, -0.72000);
  356.     CreateDynamicObject(3115, 230.57016, 2513.30811, 15.31483,   0.00000, 0.00000, -0.72000);
  357.     CreateDynamicObject(3115, 209.71648, 2513.56787, 15.31483,   0.00000, 0.00000, -0.72000);
  358.     CreateDynamicObject(3115, 209.50203, 2494.89282, 15.31483,   0.00000, 0.00000, -0.72000);
  359.     CreateDynamicObject(3115, 189.56438, 2495.33765, 15.31483,   0.00000, 0.00000, -0.72000);
  360.     CreateDynamicObject(3115, 189.92599, 2513.99585, 15.31483,   0.00000, 0.00000, -0.72000);
  361.     CreateDynamicObject(3115, 189.99522, 2532.56152, 15.31483,   0.00000, 0.00000, -0.72000);
  362.     CreateDynamicObject(3115, 188.00743, 2476.68555, 15.31483,   0.00000, 0.00000, -0.72000);
  363.     CreateDynamicObject(3115, 209.21498, 2476.34814, 15.31483,   0.00000, 0.00000, -0.72000);
  364.     CreateDynamicObject(3115, 230.05383, 2475.78687, 15.31483,   0.00000, 0.00000, -0.72000);
  365.     CreateDynamicObject(3115, 229.82199, 2457.12183, 16.27341,   0.00000, 0.00000, -0.72000);
  366.     CreateDynamicObject(3115, 208.88167, 2457.51221, 15.31483,   0.00000, 0.00000, -0.72000);
  367.     CreateDynamicObject(3115, 208.26097, 2438.74170, 15.31483,   0.00000, 0.00000, -0.72000);
  368.     CreateDynamicObject(3115, 187.46141, 2439.21436, 15.31483,   0.00000, 0.00000, -0.72000);
  369.     CreateDynamicObject(3115, 187.76689, 2457.87183, 15.31483,   0.00000, 0.00000, -0.72000);
  370.     CreateDynamicObject(3115, 251.48557, 2550.28735, 15.31483,   0.00000, 0.00000, -0.72000);
  371.     CreateDynamicObject(3115, 230.27553, 2550.78247, 15.31483,   0.00000, 0.00000, -0.72000);
  372.     CreateDynamicObject(3115, 209.18518, 2550.71729, 15.31483,   0.00000, 0.00000, -0.72000);
  373.     CreateDynamicObject(16021, 243.60286, 2550.67432, 15.24437,   0.00000, 0.00000, -90.24001);
  374.     CreateDynamicObject(3115, 253.66034, 2538.01392, 15.53859,   0.00000, 0.00000, -0.36000);
  375.     CreateDynamicObject(3115, 253.81966, 2547.70288, 15.53859,   0.00000, 0.00000, -0.72000);
  376.     CreateDynamicObject(3115, 232.61682, 2537.98047, 15.53859,   0.00000, 0.00000, 0.36000);
  377.     CreateDynamicObject(3115, 211.69066, 2538.19312, 15.53859,   0.00000, 0.00000, -0.06000);
  378.     CreateDynamicObject(3115, 211.72798, 2550.96631, 15.53859,   0.00000, 0.00000, -0.06000);
  379.     CreateDynamicObject(3115, 232.53716, 2550.75684, 15.53859,   0.00000, 0.00000, -0.06000);
  380.     CreateDynamicObject(3115, 253.53304, 2550.68530, 15.53859,   0.00000, 0.00000, -0.06000);
  381.     CreateDynamicObject(3115, 229.58018, 2438.58276, 16.27341,   0.00000, 0.00000, -0.72000);
  382.     CreateDynamicObject(3115, 250.72839, 2438.35767, 16.41890,   0.00000, 0.00000, -0.72000);
  383.     CreateDynamicObject(3115, 271.22736, 2437.70068, 15.16635,   -0.12000, 7.92000, -0.72000);
  384.     CreateDynamicObject(3115, 250.92084, 2456.81519, 15.97277,   0.00000, 0.00000, -0.72000);
  385.     CreateDynamicObject(3115, 229.82199, 2457.12183, 15.80626,   0.00000, 0.00000, -0.72000);
  386.     CreateDynamicObject(3115, 229.58018, 2438.58276, 15.64645,   0.00000, 0.00000, -0.72000);
  387.     CreateDynamicObject(969, 267.41010, 1879.52295, 16.62220,   -90.00000, 6.00000, 95.08000);
  388.     CreateDynamicObject(969, 270.55011, 1879.50293, 16.62220,   -90.00000, 6.00000, 95.08000);
  389.     CreateDynamicObject(969, 273.65009, 1879.50293, 16.62220,   -90.00000, 6.00000, 95.08000);
  390.     CreateDynamicObject(16121, 353.71420, 1805.72485, 13.89060,   356.85840, 0.00000, -65.14160);
  391.     CreateDynamicObject(16775, 376.08969, 2475.33423, 19.51563,   3.14159, 0.00000, 0.00000);
  392.     CreateDynamicObject(1491, 411.65518, 2510.01855, 16.17790,   0.00000, 0.00000, 0.00000);
  393. //==============================================================================
  394.     SetGameModeText("AvsT Project");
  395.     AddPlayerClass(285,-377.2719,2242.3125,42.6185,100.8263,0,0,0,0,0,0);
  396.     AddPlayerClass(112,213.8508,1868.0325,13.1406,359.6966,0,0,0,0,0,0);
  397.     DisableInteriorEnterExits();
  398.     SetTimer("SavePlayerData",600000,false); // odata la 10 minute se salveaza conturile
  399. //=============================== Textdraw ==================================
  400.     panel_co[1] = TextDrawCreate(-4.099998, -0.224000, "LD_SPAC:white");
  401.     TextDrawLetterSize(panel_co[1], 0.000000, 0.000000);
  402.     TextDrawTextSize(panel_co[1], 651.549804, 99.343994);
  403.     TextDrawAlignment(panel_co[1], 1);
  404.     TextDrawColor(panel_co[1], 255);
  405.     TextDrawSetShadow(panel_co[1], 0);
  406.     TextDrawSetOutline(panel_co[1], 0);
  407.     TextDrawFont(panel_co[1], 4);
  408.  
  409.     panel_co[2]= TextDrawCreate(-5.449999, 99.063995, "LD_SPAC:white");
  410.     TextDrawLetterSize(panel_co[2], 0.000000, 0.000000);
  411.     TextDrawTextSize(panel_co[2], 646.149658, -5.487998);
  412.     TextDrawAlignment(panel_co[2], 1);
  413.     TextDrawColor(panel_co[2], 65535);
  414.     TextDrawSetShadow(panel_co[2], 0);
  415.     TextDrawSetOutline(panel_co[2], 0);
  416.     TextDrawFont(panel_co[2], 4);
  417.  
  418.     panel_co[3] = TextDrawCreate(253.450012, 11.199988, "A");
  419.     TextDrawLetterSize(panel_co[3], 1.107499, 5.458395);
  420.     TextDrawAlignment(panel_co[3], 1);
  421.     TextDrawColor(panel_co[3], 65535);
  422.     TextDrawUseBox(panel_co[3], true);
  423.     TextDrawBoxColor(panel_co[3], 0);
  424.     TextDrawSetShadow(panel_co[3], 0);
  425.     TextDrawSetOutline(panel_co[3], 1);
  426.     TextDrawBackgroundColor(panel_co[3], 51);
  427.     TextDrawFont(panel_co[3], 0);
  428.     TextDrawSetProportional(panel_co[3], 1);
  429.  
  430.     panel_co[4] = TextDrawCreate(284.500213, 40.040000, "Vs");
  431.     TextDrawLetterSize(panel_co[4], 0.560500, 2.311198);
  432.     TextDrawAlignment(panel_co[4], 1);
  433.     TextDrawColor(panel_co[4], -1);
  434.     TextDrawSetShadow(panel_co[4], 0);
  435.     TextDrawSetOutline(panel_co[4], 1);
  436.     TextDrawBackgroundColor(panel_co[4], 51);
  437.     TextDrawFont(panel_co[4], 3);
  438.     TextDrawSetProportional(panel_co[4], 1);
  439.  
  440.     panel_co[5] = TextDrawCreate(302.999969, 14.047986, "T");
  441.     TextDrawLetterSize(panel_co[5], 1.107499, 5.458395);
  442.     TextDrawAlignment(panel_co[5], 1);
  443.     TextDrawColor(panel_co[5], -16776961);
  444.     TextDrawUseBox(panel_co[5], true);
  445.     TextDrawBoxColor(panel_co[5], 0);
  446.     TextDrawSetShadow(panel_co[5], 0);
  447.     TextDrawSetOutline(panel_co[5], 1);
  448.     TextDrawBackgroundColor(panel_co[5], 51);
  449.     TextDrawFont(panel_co[5], 0);
  450.     TextDrawSetProportional(panel_co[5], 1);
  451.  
  452.     panel_co[6] = TextDrawCreate(511.049957, 133.436004, "usebox");
  453.     TextDrawLetterSize(panel_co[6], 0.000000, 24.758886);
  454.     TextDrawTextSize(panel_co[6], 125.049995, 0.000000);
  455.     TextDrawAlignment(panel_co[6], 1);
  456.     TextDrawColor(panel_co[6], 0);
  457.     TextDrawUseBox(panel_co[6], true);
  458.     TextDrawBoxColor(panel_co[6], 102);
  459.     TextDrawSetShadow(panel_co[6], 0);
  460.     TextDrawSetOutline(panel_co[6], 0);
  461.     TextDrawFont(panel_co[6], 0);
  462.  
  463.     panel_co[7] = TextDrawCreate(127.250007, 130.983993, "LD_SPAC:white");
  464.     TextDrawLetterSize(panel_co[7], 0.000000, 0.000000);
  465.     TextDrawTextSize(panel_co[7], 382.000000, 6.160017);
  466.     TextDrawAlignment(panel_co[7], 1);
  467.     TextDrawColor(panel_co[7], COLOR_BLUE);
  468.     TextDrawSetShadow(panel_co[7], 0);
  469.     TextDrawSetOutline(panel_co[7], 0);
  470.     TextDrawFont(panel_co[7], 4);
  471.  
  472.     panel_co[8] = TextDrawCreate(126.749923, 351.839935, "LD_SPAC:white");
  473.     TextDrawLetterSize(panel_co[8], 0.000000, 0.000000);
  474.     TextDrawTextSize(panel_co[8], 382.000000, 6.160017);
  475.     TextDrawAlignment(panel_co[8], 1);
  476.     TextDrawColor(panel_co[8], COLOR_BLUE);
  477.     TextDrawSetShadow(panel_co[8], 0);
  478.     TextDrawSetOutline(panel_co[8], 0);
  479.     TextDrawFont(panel_co[8], 4);
  480.  
  481.     panel_co[9] = TextDrawCreate(126.749900, 175.879882, "LD_SPAC:white");
  482.     TextDrawLetterSize(panel_co[9], 0.000000, 0.000000);
  483.     TextDrawTextSize(panel_co[9], 382.000000, 6.160017);
  484.     TextDrawAlignment(panel_co[9], 1);
  485.     TextDrawColor(panel_co[9], COLOR_BLUE);
  486.     TextDrawSetShadow(panel_co[9], 0);
  487.     TextDrawSetOutline(panel_co[9], 0);
  488.     TextDrawFont(panel_co[9], 4);
  489.  
  490.     panel_co[10] = TextDrawCreate(252.650024, 139.608062, "Connexion");
  491.     TextDrawLetterSize(panel_co[10], 0.794498, 3.470396);
  492.     TextDrawAlignment(panel_co[10], 1);
  493.     TextDrawColor(panel_co[10], -1);
  494.     TextDrawUseBox(panel_co[10], true);
  495.     TextDrawBoxColor(panel_co[10], 0);
  496.     TextDrawSetShadow(panel_co[10], 0);
  497.     TextDrawSetOutline(panel_co[10], 1);
  498.     TextDrawBackgroundColor(panel_co[10], 51);
  499.     TextDrawFont(panel_co[10], 3);
  500.     TextDrawSetProportional(panel_co[10], 1);
  501.  
  502.     panel_co[11] = TextDrawCreate(270.149993, 210.223999, "LD_SPAC:white");
  503.     TextDrawLetterSize(panel_co[11], 0.000000, 0.000000);
  504.     TextDrawTextSize(panel_co[11], 94.000000, 22.399993);
  505.     TextDrawAlignment(panel_co[11], 1);
  506.     TextDrawColor(panel_co[11], 65535);
  507.     TextDrawSetShadow(panel_co[11], 0);
  508.     TextDrawSetOutline(panel_co[11], 0);
  509.     TextDrawFont(panel_co[11], 4);
  510.     TextDrawSetSelectable(panel_co[11], true);
  511.  
  512.     panel_co[12] = TextDrawCreate(278.400207, 213.472045, "Connexion");
  513.     TextDrawLetterSize(panel_co[12], 0.449999, 1.600000);
  514.     TextDrawAlignment(panel_co[12], 1);
  515.     TextDrawColor(panel_co[12], -1);
  516.     TextDrawSetShadow(panel_co[12], 0);
  517.     TextDrawSetOutline(panel_co[12], 1);
  518.     TextDrawBackgroundColor(panel_co[12], 51);
  519.     TextDrawFont(panel_co[12], 3);
  520.     TextDrawSetProportional(panel_co[12], 1);
  521.  
  522.     panel_co[13] = TextDrawCreate(270.200012, 287.047943, "LD_SPAC:white");
  523.     TextDrawLetterSize(panel_co[13], 0.000000, 0.000000);
  524.     TextDrawTextSize(panel_co[13], 94.000000, 22.399993);
  525.     TextDrawAlignment(panel_co[13], 1);
  526.     TextDrawColor(panel_co[13], -16776961);
  527.     TextDrawSetShadow(panel_co[13], 0);
  528.     TextDrawSetOutline(panel_co[13], 0);
  529.     TextDrawFont(panel_co[13], 4);
  530.     TextDrawSetSelectable(panel_co[13], true);
  531.  
  532.     panel_co[14] = TextDrawCreate(274.300292, 290.576049, "Inscription");
  533.     TextDrawLetterSize(panel_co[14], 0.449999, 1.600000);
  534.     TextDrawAlignment(panel_co[14], 1);
  535.     TextDrawColor(panel_co[14], -1);
  536.     TextDrawSetShadow(panel_co[14], 0);
  537.     TextDrawSetOutline(panel_co[14], 1);
  538.     TextDrawBackgroundColor(panel_co[14], 51);
  539.     TextDrawFont(panel_co[14], 3);
  540.     TextDrawSetProportional(panel_co[14], 1);
  541. /* ================ Class TextDraw =================*/
  542.  
  543.     class_dm_swat[1] = TextDrawCreate(260.349853, 55.048023, "SWAT");
  544.     TextDrawLetterSize(class_dm_swat[1], 1.038000, 4.909598);
  545.     TextDrawTextSize(class_dm_swat[1], 42.500000, 34.720001);
  546.     TextDrawAlignment(class_dm_swat[1], 1);
  547.     TextDrawColor(class_dm_swat[1], COLOR_BLUE);
  548.     TextDrawUseBox(class_dm_swat[1], true);
  549.     TextDrawBoxColor(class_dm_swat[1], 0);
  550.     TextDrawSetShadow(class_dm_swat[1], 0);
  551.     TextDrawSetOutline(class_dm_swat[1], 1);
  552.     TextDrawBackgroundColor(class_dm_swat[1], 51);
  553.     TextDrawFont(class_dm_swat[1], 2);
  554.     TextDrawSetProportional(class_dm_swat[1], 1);
  555.  
  556.     class_dm_swat[2]= TextDrawCreate(617.400024, 144.524047, "usebox");
  557.     TextDrawLetterSize(class_dm_swat[2], 0.000000, 21.772224);
  558.     TextDrawTextSize(class_dm_swat[2], 408.400085, 0.000000);
  559.     TextDrawAlignment(class_dm_swat[2], 1);
  560.     TextDrawColor(class_dm_swat[2], 0);
  561.     TextDrawUseBox(class_dm_swat[2], true);
  562.     TextDrawBoxColor(class_dm_swat[2], 102);
  563.     TextDrawSetShadow(class_dm_swat[2], 0);
  564.     TextDrawSetOutline(class_dm_swat[2], 0);
  565.     TextDrawFont(class_dm_swat[2], 0);
  566.  
  567.     class_dm_swat[3] = TextDrawCreate(618.049743, 185.571945, "usebox");
  568.     TextDrawLetterSize(class_dm_swat[3], 0.000000, 0.221667);
  569.     TextDrawTextSize(class_dm_swat[3], 409.199920, 0.000000);
  570.     TextDrawAlignment(class_dm_swat[3], 1);
  571.     TextDrawColor(class_dm_swat[3], 0);
  572.     TextDrawUseBox(class_dm_swat[3], true);
  573.     TextDrawBoxColor(class_dm_swat[3], -16776961);
  574.     TextDrawSetShadow(class_dm_swat[3], 0);
  575.     TextDrawSetOutline(class_dm_swat[3], 0);
  576.     TextDrawFont(class_dm_swat[3], 0);
  577.  
  578.     class_dm_swat[4] = TextDrawCreate(617.299987, 144.908065, "usebox");
  579.     TextDrawLetterSize(class_dm_swat[4], 0.000000, 0.236667);
  580.     TextDrawTextSize(class_dm_swat[4], 408.449951, 0.000000);
  581.     TextDrawAlignment(class_dm_swat[4], 1);
  582.     TextDrawColor(class_dm_swat[4], 0);
  583.     TextDrawUseBox(class_dm_swat[4], true);
  584.     TextDrawBoxColor(class_dm_swat[4], -16776961);
  585.     TextDrawSetShadow(class_dm_swat[4], 0);
  586.     TextDrawSetOutline(class_dm_swat[4], 0);
  587.     TextDrawFont(class_dm_swat[4], 0);
  588.  
  589.     class_dm_swat[5] = TextDrawCreate(617.349975, 338.156005, "usebox");
  590.     TextDrawLetterSize(class_dm_swat[5], 0.000000, 0.196667);
  591.     TextDrawTextSize(class_dm_swat[5], 408.799743, 0.000000);
  592.     TextDrawAlignment(class_dm_swat[5], 1);
  593.     TextDrawColor(class_dm_swat[5], 0);
  594.     TextDrawUseBox(class_dm_swat[5], true);
  595.     TextDrawBoxColor(class_dm_swat[5], -16776961);
  596.     TextDrawSetShadow(class_dm_swat[5], 0);
  597.     TextDrawSetOutline(class_dm_swat[5], 0);
  598.     TextDrawFont(class_dm_swat[5], 0);
  599.  
  600.     class_dm_swat[6] = TextDrawCreate(429.050109, 146.608032, "Description");
  601.     TextDrawLetterSize(class_dm_swat[6], 0.640500, 3.795199);
  602.     TextDrawAlignment(class_dm_swat[6], 1);
  603.     TextDrawColor(class_dm_swat[6], -1);
  604.     TextDrawUseBox(class_dm_swat[6], true);
  605.     TextDrawBoxColor(class_dm_swat[6], 0);
  606.     TextDrawSetShadow(class_dm_swat[6], 0);
  607.     TextDrawSetOutline(class_dm_swat[6], 1);
  608.     TextDrawBackgroundColor(class_dm_swat[6], 51);
  609.     TextDrawFont(class_dm_swat[6], 2);
  610.     TextDrawSetProportional(class_dm_swat[6], 1);
  611.  
  612.     class_dm_swat[7] = TextDrawCreate(414.799896, 195.888031, "Rejoignez_les_gentilles_pour");
  613.     TextDrawLetterSize(class_dm_swat[7], 0.414550, 1.518239);
  614.     TextDrawAlignment(class_dm_swat[7], 1);
  615.     TextDrawColor(class_dm_swat[7], -1);
  616.     TextDrawUseBox(class_dm_swat[7], true);
  617.     TextDrawBoxColor(class_dm_swat[7], 0);
  618.     TextDrawSetShadow(class_dm_swat[7], 0);
  619.     TextDrawSetOutline(class_dm_swat[7], 1);
  620.     TextDrawBackgroundColor(class_dm_swat[7], 51);
  621.     TextDrawFont(class_dm_swat[7], 1);
  622.     TextDrawSetProportional(class_dm_swat[7], 1);
  623.  
  624.     class_dm_swat[8] = TextDrawCreate(415.849914, 217.383987, "combatre_les_terroristes_et");
  625.     TextDrawLetterSize(class_dm_swat[8], 0.414550, 1.518239);
  626.     TextDrawAlignment(class_dm_swat[8], 1);
  627.     TextDrawColor(class_dm_swat[8], -1);
  628.     TextDrawUseBox(class_dm_swat[8], true);
  629.     TextDrawBoxColor(class_dm_swat[8], 0);
  630.     TextDrawSetShadow(class_dm_swat[8], 0);
  631.     TextDrawSetOutline(class_dm_swat[8], 1);
  632.     TextDrawBackgroundColor(class_dm_swat[8], 51);
  633.     TextDrawFont(class_dm_swat[8], 1);
  634.     TextDrawSetProportional(class_dm_swat[8], 1);
  635.  
  636.     class_dm_swat[9] = TextDrawCreate(416.449981, 238.935958, "proteger_votre_pays_et_les");
  637.     TextDrawLetterSize(class_dm_swat[9], 0.414550, 1.518239);
  638.     TextDrawAlignment(class_dm_swat[9], 1);
  639.     TextDrawColor(class_dm_swat[9], -1);
  640.     TextDrawUseBox(class_dm_swat[9], true);
  641.     TextDrawBoxColor(class_dm_swat[9], 0);
  642.     TextDrawSetShadow(class_dm_swat[9], 0);
  643.     TextDrawSetOutline(class_dm_swat[9], 1);
  644.     TextDrawBackgroundColor(class_dm_swat[9], 51);
  645.     TextDrawFont(class_dm_swat[9], 1);
  646.     TextDrawSetProportional(class_dm_swat[9], 1);
  647.  
  648.     class_dm_swat[10] = TextDrawCreate(416.849914, 262.735961, "citoyens_du_danger_!");
  649.     TextDrawLetterSize(class_dm_swat[10], 0.414550, 1.518239);
  650.     TextDrawAlignment(class_dm_swat[10], 1);
  651.     TextDrawColor(class_dm_swat[10], -1);
  652.     TextDrawUseBox(class_dm_swat[10], true);
  653.     TextDrawBoxColor(class_dm_swat[10], 0);
  654.     TextDrawSetShadow(class_dm_swat[10], 0);
  655.     TextDrawSetOutline(class_dm_swat[10], 1);
  656.     TextDrawBackgroundColor(class_dm_swat[10], 51);
  657.     TextDrawFont(class_dm_swat[10], 1);
  658.     TextDrawSetProportional(class_dm_swat[10], 1);
  659.  
  660.     class_dm_swat[11] = TextDrawCreate(521.450012, 303.128021, "Swat-Team");
  661.     TextDrawLetterSize(class_dm_swat[11], 0.449999, 1.600000);
  662.     TextDrawAlignment(class_dm_swat[11], 1);
  663.     TextDrawColor(class_dm_swat[11], 65535);
  664.     TextDrawSetShadow(class_dm_swat[11], 0);
  665.     TextDrawSetOutline(class_dm_swat[11], 1);
  666.     TextDrawBackgroundColor(class_dm_swat[11], 51);
  667.     TextDrawFont(class_dm_swat[11], 1);
  668.     TextDrawSetProportional(class_dm_swat[11], 1);
  669.  
  670. /*=========================== Textdraw Teroriste class =====================*/
  671.  
  672.  
  673.     class_dm_tero[1] = TextDrawCreate(208.349868, 44.744060, "TERORISTE");
  674.     TextDrawLetterSize(class_dm_tero[1], 1.038000, 4.909598);
  675.     TextDrawTextSize(class_dm_tero[1], 42.500000, 34.720001);
  676.     TextDrawAlignment(class_dm_tero[1], 1);
  677.     TextDrawColor(class_dm_tero[1], COLOR_RED);
  678.     TextDrawUseBox(class_dm_tero[1], true);
  679.     TextDrawBoxColor(class_dm_tero[1], 0);
  680.     TextDrawSetShadow(class_dm_tero[1], 0);
  681.     TextDrawSetOutline(class_dm_tero[1], 1);
  682.     TextDrawBackgroundColor(class_dm_tero[1], 51);
  683.     TextDrawFont(class_dm_tero[1], 2);
  684.     TextDrawSetProportional(class_dm_tero[1], 1);
  685.  
  686.     class_dm_tero[2]= TextDrawCreate(617.400024, 144.524047, "usebox");
  687.     TextDrawLetterSize(class_dm_tero[2], 0.000000, 21.772224);
  688.     TextDrawTextSize(class_dm_tero[2], 408.400085, 0.000000);
  689.     TextDrawAlignment(class_dm_tero[2], 1);
  690.     TextDrawColor(class_dm_tero[2], 0);
  691.     TextDrawUseBox(class_dm_tero[2], true);
  692.     TextDrawBoxColor(class_dm_tero[2], 102);
  693.     TextDrawSetShadow(class_dm_tero[2], 0);
  694.     TextDrawSetOutline(class_dm_tero[2], 0);
  695.     TextDrawFont(class_dm_tero[2], 0);
  696.  
  697.     class_dm_tero[3] = TextDrawCreate(618.049743, 185.571945, "usebox");
  698.     TextDrawLetterSize(class_dm_tero[3], 0.000000, 0.221667);
  699.     TextDrawTextSize(class_dm_tero[3], 409.199920, 0.000000);
  700.     TextDrawAlignment(class_dm_tero[3], 1);
  701.     TextDrawColor(class_dm_tero[3], 0);
  702.     TextDrawUseBox(class_dm_tero[3], true);
  703.     TextDrawBoxColor(class_dm_tero[3], -16776961);
  704.     TextDrawSetShadow(class_dm_tero[3], 0);
  705.     TextDrawSetOutline(class_dm_tero[3], 0);
  706.     TextDrawFont(class_dm_tero[3], 0);
  707.  
  708.     class_dm_tero[4] = TextDrawCreate(617.299987, 144.908065, "usebox");
  709.     TextDrawLetterSize(class_dm_tero[4], 0.000000, 0.236667);
  710.     TextDrawTextSize(class_dm_tero[4], 408.449951, 0.000000);
  711.     TextDrawAlignment(class_dm_tero[4], 1);
  712.     TextDrawColor(class_dm_tero[4], 0);
  713.     TextDrawUseBox(class_dm_tero[4], true);
  714.     TextDrawBoxColor(class_dm_tero[4], -16776961);
  715.     TextDrawSetShadow(class_dm_tero[4], 0);
  716.     TextDrawSetOutline(class_dm_tero[4], 0);
  717.     TextDrawFont(class_dm_tero[4], 0);
  718.  
  719.     class_dm_tero[5] = TextDrawCreate(617.349975, 338.156005, "usebox");
  720.     TextDrawLetterSize(class_dm_tero[5], 0.000000, 0.196667);
  721.     TextDrawTextSize(class_dm_tero[5], 408.799743, 0.000000);
  722.     TextDrawAlignment(class_dm_tero[5], 1);
  723.     TextDrawColor(class_dm_tero[5], 0);
  724.     TextDrawUseBox(class_dm_tero[5], true);
  725.     TextDrawBoxColor(class_dm_tero[5], -16776961);
  726.     TextDrawSetShadow(class_dm_tero[5], 0);
  727.     TextDrawSetOutline(class_dm_tero[5], 0);
  728.     TextDrawFont(class_dm_tero[5], 0);
  729.  
  730.     class_dm_tero[6] = TextDrawCreate(429.050109, 146.608032, "Description");
  731.     TextDrawLetterSize(class_dm_tero[6], 0.640500, 3.795199);
  732.     TextDrawAlignment(class_dm_tero[6], 1);
  733.     TextDrawColor(class_dm_tero[6], -1);
  734.     TextDrawUseBox(class_dm_tero[6], true);
  735.     TextDrawBoxColor(class_dm_tero[6], 0);
  736.     TextDrawSetShadow(class_dm_tero[6], 0);
  737.     TextDrawSetOutline(class_dm_tero[6], 1);
  738.     TextDrawBackgroundColor(class_dm_tero[6], 51);
  739.     TextDrawFont(class_dm_tero[6], 2);
  740.     TextDrawSetProportional(class_dm_tero[6], 1);
  741.  
  742.     class_dm_tero[7] = TextDrawCreate(414.799896, 195.888031, "Rejoignez_le_coter_obscure");
  743.     TextDrawLetterSize(class_dm_tero[7], 0.414550, 1.518239);
  744.     TextDrawAlignment(class_dm_tero[7], 1);
  745.     TextDrawColor(class_dm_tero[7], -1);
  746.     TextDrawUseBox(class_dm_tero[7], true);
  747.     TextDrawBoxColor(class_dm_tero[7], 0);
  748.     TextDrawSetShadow(class_dm_tero[7], 0);
  749.     TextDrawSetOutline(class_dm_tero[7], 1);
  750.     TextDrawBackgroundColor(class_dm_tero[7], 51);
  751.     TextDrawFont(class_dm_tero[7], 1);
  752.     TextDrawSetProportional(class_dm_tero[7], 1);
  753.  
  754.     class_dm_tero[8] = TextDrawCreate(415.849914, 217.383987, "pour_vous_rebelez_contre");
  755.     TextDrawLetterSize(class_dm_tero[8], 0.414550, 1.518239);
  756.     TextDrawAlignment(class_dm_tero[8], 1);
  757.     TextDrawColor(class_dm_tero[8], -1);
  758.     TextDrawUseBox(class_dm_tero[8], true);
  759.     TextDrawBoxColor(class_dm_tero[8], 0);
  760.     TextDrawSetShadow(class_dm_tero[8], 0);
  761.     TextDrawSetOutline(class_dm_tero[8], 1);
  762.     TextDrawBackgroundColor(class_dm_tero[8], 51);
  763.     TextDrawFont(class_dm_tero[8], 1);
  764.     TextDrawSetProportional(class_dm_tero[8], 1);
  765.  
  766.     class_dm_tero[9] = TextDrawCreate(416.449981, 238.935958, "les_americains_et_defendre");
  767.     TextDrawLetterSize(class_dm_tero[9], 0.414550, 1.518239);
  768.     TextDrawAlignment(class_dm_tero[9], 1);
  769.     TextDrawColor(class_dm_tero[9], -1);
  770.     TextDrawUseBox(class_dm_tero[9], true);
  771.     TextDrawBoxColor(class_dm_tero[9], 0);
  772.     TextDrawSetShadow(class_dm_tero[9], 0);
  773.     TextDrawSetOutline(class_dm_tero[9], 1);
  774.     TextDrawBackgroundColor(class_dm_tero[9], 51);
  775.     TextDrawFont(class_dm_tero[9], 1);
  776.     TextDrawSetProportional(class_dm_tero[9], 1);
  777.  
  778.     class_dm_tero[10] = TextDrawCreate(416.849914, 262.735961, "votre_honneur_!");
  779.     TextDrawLetterSize(class_dm_tero[10], 0.414550, 1.518239);
  780.     TextDrawAlignment(class_dm_tero[10], 1);
  781.     TextDrawColor(class_dm_tero[10], -1);
  782.     TextDrawUseBox(class_dm_tero[10], true);
  783.     TextDrawBoxColor(class_dm_tero[10], 0);
  784.     TextDrawSetShadow(class_dm_tero[10], 0);
  785.     TextDrawSetOutline(class_dm_tero[10], 1);
  786.     TextDrawBackgroundColor(class_dm_tero[10], 51);
  787.     TextDrawFont(class_dm_tero[10], 1);
  788.     TextDrawSetProportional(class_dm_tero[10], 1);
  789.  
  790.     class_dm_tero[11] = TextDrawCreate(521.450012, 303.128021, "TERO-Team");
  791.     TextDrawLetterSize(class_dm_tero[11], 0.449999, 1.600000);
  792.     TextDrawAlignment(class_dm_tero[11], 1);
  793.     TextDrawColor(class_dm_tero[11], COLOR_RED);
  794.     TextDrawSetShadow(class_dm_tero[11], 0);
  795.     TextDrawSetOutline(class_dm_tero[11], 1);
  796.     TextDrawBackgroundColor(class_dm_tero[11], 51);
  797.     TextDrawFont(class_dm_tero[11], 1);
  798.     TextDrawSetProportional(class_dm_tero[11], 1);
  799.     return 1;
  800. }
  801.  
  802. public OnGameModeExit()
  803. {
  804.     return 1;
  805. }
  806.  
  807. public OnPlayerRequestClass(playerid, classid)
  808. {
  809.     SetPlayerPos(playerid, 219.4820,1822.7864,7.5271);
  810.     SetPlayerCameraPos(playerid, 225.7349,1822.9067, 7.521);
  811.     SetPlayerFacingAngle( playerid, 270);
  812.     SetPlayerCameraLookAt(playerid, 219.4820,1822.7864,7.5271);
  813.     ApplyAnimation(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1, 1);
  814.     textdraw_class(playerid, classid);
  815.     SetPlayerVirtualWorld(playerid, 3);
  816.     return 1;
  817. }
  818.  
  819. public OnPlayerConnect(playerid)
  820. {
  821.     showtextdraw_co(playerid);
  822.     PlayAudioStreamForPlayer(playerid, "http://avstdm.cf/Test.mp3");
  823.     TogglePlayerSpectating(playerid, true);
  824.     //SetPlayerVirtualWorld(playerid, 3);
  825. //===============================Mapping =======================================
  826.     RemoveBuildingForPlayer(playerid, 3345, 400.1172, 2543.5703, 15.4844, 0.25);
  827.     RemoveBuildingForPlayer(playerid, 3366, 276.6563, 2023.7578, 16.6328, 0.25);
  828.     RemoveBuildingForPlayer(playerid, 3367, 149.9141, 2614.6172, 15.4766, 0.25);
  829.     RemoveBuildingForPlayer(playerid, 3368, 161.7891, 2411.3828, 15.4766, 0.25);
  830.     RemoveBuildingForPlayer(playerid, 3369, 123.0469, 2587.7422, 15.4766, 0.25);
  831.     RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1989.5469, 16.6328, 0.25);
  832.     RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1955.7656, 16.6328, 0.25);
  833.     RemoveBuildingForPlayer(playerid, 3368, 311.1328, 2614.6172, 15.4766, 0.25);
  834.     RemoveBuildingForPlayer(playerid, 3368, 176.7891, 2587.7422, 15.4766, 0.25);
  835.     RemoveBuildingForPlayer(playerid, 3368, 338.0078, 2587.7422, 15.4766, 0.25);
  836.     RemoveBuildingForPlayer(playerid, 3368, 323.0078, 2411.3828, 15.4766, 0.25);
  837.     RemoveBuildingForPlayer(playerid, 3369, 203.6563, 2614.6172, 15.4766, 0.25);
  838.     RemoveBuildingForPlayer(playerid, 3369, 230.5234, 2641.4844, 15.4766, 0.25);
  839.     RemoveBuildingForPlayer(playerid, 3369, 349.8750, 2438.2500, 15.4766, 0.25);
  840.     RemoveBuildingForPlayer(playerid, 3369, 269.2656, 2411.3828, 15.4766, 0.25);
  841.     RemoveBuildingForPlayer(playerid, 3369, 242.3984, 2438.2500, 15.4766, 0.25);
  842.     RemoveBuildingForPlayer(playerid, 3369, 188.6563, 2438.2500, 15.4766, 0.25);
  843.     RemoveBuildingForPlayer(playerid, 3369, 108.0469, 2411.3828, 15.4766, 0.25);
  844.     RemoveBuildingForPlayer(playerid, 3367, 176.7891, 2641.4844, 15.4766, 0.25);
  845.     RemoveBuildingForPlayer(playerid, 3367, 230.5234, 2587.7422, 15.4766, 0.25);
  846.     RemoveBuildingForPlayer(playerid, 3367, 257.3984, 2614.6172, 15.4766, 0.25);
  847.     RemoveBuildingForPlayer(playerid, 3367, 284.2656, 2641.4844, 15.4766, 0.25);
  848.     RemoveBuildingForPlayer(playerid, 3367, 284.2656, 2587.7422, 15.4766, 0.25);
  849.     RemoveBuildingForPlayer(playerid, 3367, 296.1406, 2438.2500, 15.4766, 0.25);
  850.     RemoveBuildingForPlayer(playerid, 3367, 215.5313, 2411.3828, 15.4766, 0.25);
  851.     RemoveBuildingForPlayer(playerid, 3367, 134.9141, 2438.2500, 15.4766, 0.25);
  852.     RemoveBuildingForPlayer(playerid, 16596, 412.8281, 2542.8672, 15.5391, 0.25);
  853.     RemoveBuildingForPlayer(playerid, 16597, 437.3828, 2547.5156, 15.1484, 0.25);
  854.     RemoveBuildingForPlayer(playerid, 16598, 231.2813, 2545.7969, 20.0234, 0.25);
  855.     RemoveBuildingForPlayer(playerid, 3296, 255.9844, 2549.3281, 20.2031, 0.25);
  856.     RemoveBuildingForPlayer(playerid, 3295, 392.7109, 2596.4531, 17.6328, 0.25);
  857.     RemoveBuildingForPlayer(playerid, 3296, 376.2969, 2606.3438, 20.1719, 0.25);
  858.     RemoveBuildingForPlayer(playerid, 3295, 390.8203, 2604.0703, 20.0234, 0.25);
  859.     RemoveBuildingForPlayer(playerid, 3295, 389.1328, 2611.0625, 20.1719, 0.25);
  860.     RemoveBuildingForPlayer(playerid, 3295, 382.1875, 2609.4766, 19.8203, 0.25);
  861.     RemoveBuildingForPlayer(playerid, 16600, 435.6250, 2532.0859, 20.1797, 0.25);
  862.     RemoveBuildingForPlayer(playerid, 16602, 307.9531, 2543.4531, 20.3984, 0.25);
  863.     RemoveBuildingForPlayer(playerid, 16687, 329.8984, 2504.2656, 15.5703, 0.25);
  864.     RemoveBuildingForPlayer(playerid, 16772, 404.7969, 2454.7188, 22.0547, 0.25);
  865.     RemoveBuildingForPlayer(playerid, 3267, 188.2422, 2081.6484, 22.4453, 0.25);
  866.     RemoveBuildingForPlayer(playerid, 3277, 188.2422, 2081.6484, 22.4063, 0.25);
  867.     RemoveBuildingForPlayer(playerid, 3269, 108.0469, 2411.3828, 15.4766, 0.25);
  868.     RemoveBuildingForPlayer(playerid, 3270, 161.7891, 2411.3828, 15.4766, 0.25);
  869.     RemoveBuildingForPlayer(playerid, 3269, 188.6563, 2438.2500, 15.4766, 0.25);
  870.     RemoveBuildingForPlayer(playerid, 3271, 134.9141, 2438.2500, 15.4766, 0.25);
  871.     RemoveBuildingForPlayer(playerid, 3271, 215.5313, 2411.3828, 15.4766, 0.25);
  872.     RemoveBuildingForPlayer(playerid, 3269, 242.3984, 2438.2500, 15.4766, 0.25);
  873.     RemoveBuildingForPlayer(playerid, 3287, 255.9844, 2549.3281, 20.2031, 0.25);
  874.     RemoveBuildingForPlayer(playerid, 16599, 231.2813, 2545.7969, 20.0234, 0.25);
  875.     RemoveBuildingForPlayer(playerid, 3269, 269.2656, 2411.3828, 15.4766, 0.25);
  876.     RemoveBuildingForPlayer(playerid, 1308, 278.1484, 2555.1875, 15.7969, 0.25);
  877.     RemoveBuildingForPlayer(playerid, 16098, 307.9531, 2543.4531, 20.3984, 0.25);
  878.     RemoveBuildingForPlayer(playerid, 3271, 296.1406, 2438.2500, 15.4766, 0.25);
  879.     RemoveBuildingForPlayer(playerid, 1308, 200.3594, 2571.9219, 15.5781, 0.25);
  880.     RemoveBuildingForPlayer(playerid, 16373, 160.2031, 2571.9688, 27.3047, 0.25);
  881.     RemoveBuildingForPlayer(playerid, 1308, 244.5938, 2573.1328, 15.3984, 0.25);
  882.     RemoveBuildingForPlayer(playerid, 3269, 123.0469, 2587.7422, 15.4766, 0.25);
  883.     RemoveBuildingForPlayer(playerid, 3270, 176.7891, 2587.7422, 15.4766, 0.25);
  884.     RemoveBuildingForPlayer(playerid, 3271, 230.5234, 2587.7422, 15.4766, 0.25);
  885.     RemoveBuildingForPlayer(playerid, 3271, 284.2656, 2587.7422, 15.4766, 0.25);
  886.     RemoveBuildingForPlayer(playerid, 3271, 149.9141, 2614.6172, 15.4766, 0.25);
  887.     RemoveBuildingForPlayer(playerid, 3271, 176.7891, 2641.4844, 15.4766, 0.25);
  888.     RemoveBuildingForPlayer(playerid, 3269, 230.5234, 2641.4844, 15.4766, 0.25);
  889.     RemoveBuildingForPlayer(playerid, 3269, 203.6563, 2614.6172, 15.4766, 0.25);
  890.     RemoveBuildingForPlayer(playerid, 3271, 257.3984, 2614.6172, 15.4766, 0.25);
  891.     RemoveBuildingForPlayer(playerid, 3271, 284.2656, 2641.4844, 15.4766, 0.25);
  892.     RemoveBuildingForPlayer(playerid, 3270, 323.0078, 2411.3828, 15.4766, 0.25);
  893.     RemoveBuildingForPlayer(playerid, 16101, 321.6719, 2463.4922, 15.4766, 0.25);
  894.     RemoveBuildingForPlayer(playerid, 16368, 321.6719, 2463.4922, 25.6641, 0.25);
  895.     RemoveBuildingForPlayer(playerid, 3269, 349.8750, 2438.2500, 15.4766, 0.25);
  896.     RemoveBuildingForPlayer(playerid, 864, 352.7734, 2444.4063, 15.8828, 0.25);
  897.     RemoveBuildingForPlayer(playerid, 864, 346.4141, 2445.2969, 15.9922, 0.25);
  898.     RemoveBuildingForPlayer(playerid, 864, 357.5938, 2449.6172, 15.6406, 0.25);
  899.     RemoveBuildingForPlayer(playerid, 864, 364.2266, 2450.7578, 15.5469, 0.25);
  900.     RemoveBuildingForPlayer(playerid, 16684, 329.8984, 2504.2656, 15.5703, 0.25);
  901.     RemoveBuildingForPlayer(playerid, 1224, 316.3672, 2531.6094, 16.1563, 0.25);
  902.     RemoveBuildingForPlayer(playerid, 1224, 316.1641, 2534.6484, 16.1563, 0.25);
  903.     RemoveBuildingForPlayer(playerid, 1224, 316.2656, 2533.0781, 16.1563, 0.25);
  904.     RemoveBuildingForPlayer(playerid, 1308, 316.3984, 2570.3672, 15.3047, 0.25);
  905.     RemoveBuildingForPlayer(playerid, 1224, 316.3516, 2545.1406, 16.1563, 0.25);
  906.     RemoveBuildingForPlayer(playerid, 1308, 361.3750, 2571.8125, 15.4063, 0.25);
  907.     RemoveBuildingForPlayer(playerid, 3270, 338.0078, 2587.7422, 15.4766, 0.25);
  908.     RemoveBuildingForPlayer(playerid, 3270, 311.1328, 2614.6172, 15.4766, 0.25);
  909.     RemoveBuildingForPlayer(playerid, 3287, 376.2969, 2606.3438, 20.1719, 0.25);
  910.     RemoveBuildingForPlayer(playerid, 3286, 382.1875, 2609.4766, 19.8203, 0.25);
  911.     RemoveBuildingForPlayer(playerid, 16771, 404.7969, 2454.7188, 22.0547, 0.25);
  912.     RemoveBuildingForPlayer(playerid, 16775, 412.1172, 2476.6328, 19.5156, 0.25);
  913.     RemoveBuildingForPlayer(playerid, 1224, 410.8281, 2528.5703, 16.1563, 0.25);
  914.     RemoveBuildingForPlayer(playerid, 1224, 409.8047, 2529.6328, 16.1563, 0.25);
  915.     RemoveBuildingForPlayer(playerid, 1224, 408.7188, 2530.7656, 16.1563, 0.25);
  916.     RemoveBuildingForPlayer(playerid, 1224, 407.1563, 2530.4688, 16.1563, 0.25);
  917.     RemoveBuildingForPlayer(playerid, 3172, 400.1172, 2543.5703, 15.4844, 0.25);
  918.     RemoveBuildingForPlayer(playerid, 1224, 407.8828, 2532.0078, 16.1563, 0.25);
  919.     RemoveBuildingForPlayer(playerid, 1308, 405.3594, 2563.0859, 15.6250, 0.25);
  920.     RemoveBuildingForPlayer(playerid, 16370, 385.3438, 2598.6250, 17.0156, 0.25);
  921.     RemoveBuildingForPlayer(playerid, 3286, 390.8203, 2604.0703, 20.0234, 0.25);
  922.     RemoveBuildingForPlayer(playerid, 3286, 392.7109, 2596.4531, 17.6328, 0.25);
  923.     RemoveBuildingForPlayer(playerid, 3286, 389.1328, 2611.0625, 20.1719, 0.25);
  924.     RemoveBuildingForPlayer(playerid, 16327, 412.8281, 2542.8672, 15.5391, 0.25);
  925.     RemoveBuildingForPlayer(playerid, 16374, 425.4688, 2531.0000, 22.5547, 0.25);
  926.     RemoveBuildingForPlayer(playerid, 16501, 429.9844, 2546.5156, 17.3516, 0.25);
  927.     RemoveBuildingForPlayer(playerid, 16409, 437.3828, 2547.5156, 15.1484, 0.25);
  928.     RemoveBuildingForPlayer(playerid, 16601, 435.6250, 2532.0859, 20.1797, 0.25);
  929.     RemoveBuildingForPlayer(playerid, 3279, 262.0938, 1807.6719, 16.8203, 0.25);
  930.     RemoveBuildingForPlayer(playerid, 3279, 113.3828, 1814.4531, 16.8203, 0.25);
  931.     RemoveBuildingForPlayer(playerid, 3279, 165.9531, 1849.9922, 16.8203, 0.25);
  932.     RemoveBuildingForPlayer(playerid, 16095, 279.1328, 1829.7813, 16.6328, 0.25);
  933.     RemoveBuildingForPlayer(playerid, 16094, 191.1406, 1870.0391, 21.4766, 0.25);
  934.     RemoveBuildingForPlayer(playerid, 3279, 103.8906, 1901.1016, 16.8203, 0.25);
  935.     RemoveBuildingForPlayer(playerid, 3279, 161.9063, 1933.0938, 16.8203, 0.25);
  936.     RemoveBuildingForPlayer(playerid, 3279, 233.4297, 1934.8438, 16.8203, 0.25);
  937.     RemoveBuildingForPlayer(playerid, 3279, 267.0625, 1895.2969, 16.8203, 0.25);
  938.     RemoveBuildingForPlayer(playerid, 3268, 276.6563, 2023.7578, 16.6328, 0.25);
  939.     RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1989.5469, 16.6328, 0.25);
  940.     RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1955.7656, 16.6328, 0.25);
  941.     RemoveBuildingForPlayer(playerid, 3267, 354.4297, 2028.4922, 22.4141, 0.25);
  942.     RemoveBuildingForPlayer(playerid, 3277, 354.4141, 2028.5000, 22.3750, 0.25);
  943. //==============================================================================
  944. //===================================Textdraw===================================
  945.     stats_td[1][playerid] = CreatePlayerTextDraw(playerid, 630.399597, 216.035949, "usebox");
  946.     PlayerTextDrawLetterSize(playerid, stats_td[1][playerid], 0.000000, 11.102783);
  947.     PlayerTextDrawTextSize(playerid, stats_td[1][playerid], 510.750030, 0.000000);
  948.     PlayerTextDrawAlignment(playerid, stats_td[1][playerid], 1);
  949.     PlayerTextDrawColor(playerid, stats_td[1][playerid], 0);
  950.     PlayerTextDrawUseBox(playerid, stats_td[1][playerid], true);
  951.     PlayerTextDrawBoxColor(playerid, stats_td[1][playerid], 102);
  952.     PlayerTextDrawSetShadow(playerid, stats_td[1][playerid], 0);
  953.     PlayerTextDrawSetOutline(playerid, stats_td[1][playerid], 0);
  954.     PlayerTextDrawFont(playerid, stats_td[1][playerid], 0);
  955.  
  956.     stats_td[2][playerid] = CreatePlayerTextDraw(playerid, 540.299987, 220.248031, "stats");
  957.     PlayerTextDrawLetterSize(playerid, stats_td[2][playerid], 0.458799, 1.742799);
  958.     PlayerTextDrawAlignment(playerid, stats_td[2][playerid], 1);
  959.     PlayerTextDrawColor(playerid, stats_td[2][playerid], -1);
  960.     PlayerTextDrawUseBox(playerid, stats_td[2][playerid], true);
  961.     PlayerTextDrawBoxColor(playerid, stats_td[2][playerid], 0);
  962.     PlayerTextDrawSetShadow(playerid, stats_td[2][playerid], 0);
  963.     PlayerTextDrawSetOutline(playerid, stats_td[2][playerid], 1);
  964.     PlayerTextDrawBackgroundColor(playerid, stats_td[2][playerid], 51);
  965.     PlayerTextDrawFont(playerid, stats_td[2][playerid], 2);
  966.     PlayerTextDrawSetProportional(playerid, stats_td[2][playerid], 1);
  967.  
  968.     stats_td[3][playerid] = CreatePlayerTextDraw(playerid, 517.000000, 241.360000, "Kills");
  969.     PlayerTextDrawLetterSize(playerid, stats_td[3][playerid], 0.449999, 1.600000);
  970.     PlayerTextDrawAlignment(playerid, stats_td[3][playerid], 1);
  971.     PlayerTextDrawColor(playerid, stats_td[3][playerid], -1);
  972.     PlayerTextDrawUseBox(playerid, stats_td[3][playerid], true);
  973.     PlayerTextDrawBoxColor(playerid, stats_td[3][playerid], 0);
  974.     PlayerTextDrawSetShadow(playerid, stats_td[3][playerid], 0);
  975.     PlayerTextDrawSetOutline(playerid, stats_td[3][playerid], 1);
  976.     PlayerTextDrawBackgroundColor(playerid, stats_td[3][playerid], 51);
  977.     PlayerTextDrawFont(playerid, stats_td[3][playerid], 1);
  978.     PlayerTextDrawSetProportional(playerid, stats_td[3][playerid], 1);
  979.  
  980.     stats_td[4][playerid] = CreatePlayerTextDraw(playerid, 568.650573, 242.200012, "_");
  981.     PlayerTextDrawLetterSize(playerid, stats_td[4][playerid], 0.449999, 1.600000);
  982.     PlayerTextDrawAlignment(playerid, stats_td[4][playerid], 1);
  983.     PlayerTextDrawColor(playerid, stats_td[4][playerid], 8388863);
  984.     PlayerTextDrawUseBox(playerid, stats_td[4][playerid], true);
  985.     PlayerTextDrawBoxColor(playerid, stats_td[4][playerid], 0);
  986.     PlayerTextDrawSetShadow(playerid, stats_td[4][playerid], 0);
  987.     PlayerTextDrawSetOutline(playerid, stats_td[4][playerid], 1);
  988.     PlayerTextDrawBackgroundColor(playerid, stats_td[4][playerid], 51);
  989.     PlayerTextDrawFont(playerid, stats_td[4][playerid], 2);
  990.     PlayerTextDrawSetProportional(playerid, stats_td[4][playerid], 1);
  991.  
  992.     stats_td[5][playerid] = CreatePlayerTextDraw(playerid, 516.200012, 261.231933, "Morts");
  993.     PlayerTextDrawLetterSize(playerid, stats_td[5][playerid], 0.449999, 1.600000);
  994.     PlayerTextDrawAlignment(playerid, stats_td[5][playerid], 1);
  995.     PlayerTextDrawColor(playerid, stats_td[5][playerid], -1);
  996.     PlayerTextDrawUseBox(playerid, stats_td[5][playerid], true);
  997.     PlayerTextDrawBoxColor(playerid, stats_td[5][playerid], 0);
  998.     PlayerTextDrawSetShadow(playerid, stats_td[5][playerid], 0);
  999.     PlayerTextDrawSetOutline(playerid, stats_td[5][playerid], 1);
  1000.     PlayerTextDrawBackgroundColor(playerid, stats_td[5][playerid], 51);
  1001.     PlayerTextDrawFont(playerid, stats_td[5][playerid], 1);
  1002.     PlayerTextDrawSetProportional(playerid, stats_td[5][playerid], 1);
  1003.  
  1004.     stats_td[6][playerid] = CreatePlayerTextDraw(playerid, 568.600769, 261.175964, "_");
  1005.     PlayerTextDrawLetterSize(playerid, stats_td[6][playerid], 0.449999, 1.600000);
  1006.     PlayerTextDrawAlignment(playerid, stats_td[6][playerid], 1);
  1007.     PlayerTextDrawColor(playerid, stats_td[6][playerid], -16776961);
  1008.     PlayerTextDrawUseBox(playerid, stats_td[6][playerid], true);
  1009.     PlayerTextDrawBoxColor(playerid, stats_td[6][playerid], 0);
  1010.     PlayerTextDrawSetShadow(playerid, stats_td[6][playerid], 0);
  1011.     PlayerTextDrawSetOutline(playerid, stats_td[6][playerid], 1);
  1012.     PlayerTextDrawBackgroundColor(playerid, stats_td[6][playerid], 51);
  1013.     PlayerTextDrawFont(playerid, stats_td[6][playerid], 2);
  1014.     PlayerTextDrawSetProportional(playerid, stats_td[6][playerid], 1);
  1015.  
  1016.     stats_td[7][playerid] = CreatePlayerTextDraw(playerid, 517.899963, 280.655914, "Ratio");
  1017.     PlayerTextDrawLetterSize(playerid, stats_td[7][playerid], 0.449999, 1.600000);
  1018.     PlayerTextDrawAlignment(playerid, stats_td[7][playerid], 1);
  1019.     PlayerTextDrawColor(playerid, stats_td[7][playerid], -1);
  1020.     PlayerTextDrawUseBox(playerid, stats_td[7][playerid], true);
  1021.     PlayerTextDrawBoxColor(playerid, stats_td[7][playerid], 0);
  1022.     PlayerTextDrawSetShadow(playerid, stats_td[7][playerid], 0);
  1023.     PlayerTextDrawSetOutline(playerid, stats_td[7][playerid], 1);
  1024.     PlayerTextDrawBackgroundColor(playerid, stats_td[7][playerid], 51);
  1025.     PlayerTextDrawFont(playerid, stats_td[7][playerid], 1);
  1026.     PlayerTextDrawSetProportional(playerid, stats_td[7][playerid], 1);
  1027.  
  1028.     stats_td[8][playerid] = CreatePlayerTextDraw(playerid, 569.150878, 280.095886, "_");
  1029.     PlayerTextDrawLetterSize(playerid, stats_td[8][playerid], 0.449999, 1.600000);
  1030.     PlayerTextDrawAlignment(playerid, stats_td[8][playerid], 1);
  1031.     PlayerTextDrawColor(playerid, stats_td[8][playerid], -65281);
  1032.     PlayerTextDrawUseBox(playerid, stats_td[8][playerid], true);
  1033.     PlayerTextDrawBoxColor(playerid, stats_td[8][playerid], 0);
  1034.     PlayerTextDrawSetShadow(playerid, stats_td[8][playerid], 0);
  1035.     PlayerTextDrawSetOutline(playerid, stats_td[8][playerid], 1);
  1036.     PlayerTextDrawBackgroundColor(playerid, stats_td[8][playerid], 51);
  1037.     PlayerTextDrawFont(playerid, stats_td[8][playerid], 2);
  1038.     PlayerTextDrawSetProportional(playerid, stats_td[8][playerid], 1);
  1039.  
  1040.     stats_td[9][playerid] = CreatePlayerTextDraw(playerid, 518.450134, 298.455841, "Score");
  1041.     PlayerTextDrawLetterSize(playerid, stats_td[9][playerid], 0.449999, 1.600000);
  1042.     PlayerTextDrawAlignment(playerid, stats_td[9][playerid], 1);
  1043.     PlayerTextDrawColor(playerid, stats_td[9][playerid], -1);
  1044.     PlayerTextDrawUseBox(playerid, stats_td[9][playerid], true);
  1045.     PlayerTextDrawBoxColor(playerid, stats_td[9][playerid], 0);
  1046.     PlayerTextDrawSetShadow(playerid, stats_td[9][playerid], 0);
  1047.     PlayerTextDrawSetOutline(playerid, stats_td[9][playerid], 1);
  1048.     PlayerTextDrawBackgroundColor(playerid, stats_td[9][playerid], 51);
  1049.     PlayerTextDrawFont(playerid, stats_td[9][playerid], 1);
  1050.     PlayerTextDrawSetProportional(playerid, stats_td[9][playerid], 1);
  1051.  
  1052.     stats_td[10][playerid] = CreatePlayerTextDraw(playerid, 569.300842, 297.839813, "_");
  1053.     PlayerTextDrawLetterSize(playerid, stats_td[10][playerid], 0.449999, 1.600000);
  1054.     PlayerTextDrawAlignment(playerid, stats_td[10][playerid], 1);
  1055.     PlayerTextDrawColor(playerid, stats_td[10][playerid], -1);
  1056.     PlayerTextDrawUseBox(playerid, stats_td[10][playerid], true);
  1057.     PlayerTextDrawBoxColor(playerid, stats_td[10][playerid], 0);
  1058.     PlayerTextDrawSetShadow(playerid, stats_td[10][playerid], 0);
  1059.     PlayerTextDrawSetOutline(playerid, stats_td[10][playerid], 1);
  1060.     PlayerTextDrawBackgroundColor(playerid, stats_td[10][playerid], 51);
  1061.     PlayerTextDrawFont(playerid, stats_td[10][playerid], 2);
  1062.     PlayerTextDrawSetProportional(playerid, stats_td[10][playerid], 1);
  1063. //==============================================================================
  1064. //=====================textdraw achat ==========================================
  1065.     achat_td[1][playerid] = CreatePlayerTextDraw(playerid, 520.999938, 106.556037, "usebox");
  1066.     PlayerTextDrawLetterSize(playerid, achat_td[1][playerid], 0.000000, 26.874444);
  1067.     PlayerTextDrawTextSize(playerid, achat_td[1][playerid], 111.999992, 0.000000);
  1068.     PlayerTextDrawAlignment(playerid, achat_td[1][playerid], 1);
  1069.     PlayerTextDrawColor(playerid, achat_td[1][playerid], 0);
  1070.     PlayerTextDrawUseBox(playerid, achat_td[1][playerid], true);
  1071.     PlayerTextDrawBoxColor(playerid, achat_td[1][playerid], 102);
  1072.     PlayerTextDrawSetShadow(playerid, achat_td[1][playerid], 0);
  1073.     PlayerTextDrawSetOutline(playerid, achat_td[1][playerid], 0);
  1074.     PlayerTextDrawFont(playerid, achat_td[1][playerid], 0);
  1075.  
  1076.     achat_td[2][playerid] = CreatePlayerTextDraw(playerid, 118.050025, 104.720001, ">_Achat_<");
  1077.     PlayerTextDrawLetterSize(playerid, achat_td[2][playerid], 0.655499, 2.708799);
  1078.     PlayerTextDrawAlignment(playerid, achat_td[2][playerid], 1);
  1079.     PlayerTextDrawColor(playerid, achat_td[2][playerid], 8388863);
  1080.     PlayerTextDrawUseBox(playerid, achat_td[2][playerid], true);
  1081.     PlayerTextDrawBoxColor(playerid, achat_td[2][playerid], 0);
  1082.     PlayerTextDrawSetShadow(playerid, achat_td[2][playerid], 0);
  1083.     PlayerTextDrawSetOutline(playerid, achat_td[2][playerid], 1);
  1084.     PlayerTextDrawBackgroundColor(playerid, achat_td[2][playerid], 51);
  1085.     PlayerTextDrawFont(playerid, achat_td[2][playerid], 0);
  1086.     PlayerTextDrawSetProportional(playerid, achat_td[2][playerid], 1);
  1087.  
  1088.     achat_td[3][playerid] = CreatePlayerTextDraw(playerid, 139.949981, 161.952041, "New Textdraw");
  1089.     PlayerTextDrawSetPreviewModel(playerid, achat_td[3][playerid], 19101);
  1090.     PlayerTextDrawSetPreviewRot(playerid, achat_td[3][playerid], 1.0, 270.0, 1.0, 1.0);
  1091.     PlayerTextDrawLetterSize(playerid, achat_td[3][playerid], 0.449999, 1.600000);
  1092.     PlayerTextDrawTextSize(playerid, achat_td[3][playerid], 93.500000, 83.440025);
  1093.     PlayerTextDrawAlignment(playerid, achat_td[3][playerid], 1);
  1094.     PlayerTextDrawColor(playerid, achat_td[3][playerid], -1);
  1095.     PlayerTextDrawUseBox(playerid, achat_td[3][playerid], true);
  1096.     PlayerTextDrawBoxColor(playerid, achat_td[3][playerid], 0);
  1097.     PlayerTextDrawSetShadow(playerid, achat_td[3][playerid], 0);
  1098.     PlayerTextDrawSetOutline(playerid, achat_td[3][playerid], 1);
  1099.     PlayerTextDrawBackgroundColor(playerid, achat_td[3][playerid], 51);
  1100.     PlayerTextDrawFont(playerid, achat_td[3][playerid], 5);
  1101.     PlayerTextDrawSetProportional(playerid, achat_td[3][playerid], 1);
  1102.  
  1103.     achat_td[4][playerid] = CreatePlayerTextDraw(playerid, 151.450012, 223.775955, "Casque");
  1104.     PlayerTextDrawLetterSize(playerid, achat_td[4][playerid], 0.449999, 1.600000);
  1105.     PlayerTextDrawAlignment(playerid, achat_td[4][playerid], 1);
  1106.     PlayerTextDrawColor(playerid, achat_td[4][playerid], -1);
  1107.     PlayerTextDrawUseBox(playerid, achat_td[4][playerid], true);
  1108.     PlayerTextDrawBoxColor(playerid, achat_td[4][playerid], 0);
  1109.     PlayerTextDrawSetShadow(playerid, achat_td[4][playerid], 0);
  1110.     PlayerTextDrawSetOutline(playerid, achat_td[4][playerid], 1);
  1111.     PlayerTextDrawBackgroundColor(playerid, achat_td[4][playerid], 51);
  1112.     PlayerTextDrawFont(playerid, achat_td[4][playerid], 2);
  1113.     PlayerTextDrawSetProportional(playerid, achat_td[4][playerid], 1);
  1114.  
  1115.     achat_td[5][playerid] = CreatePlayerTextDraw(playerid, 124.850006, 249.703979, "Pour_vous_proteger");
  1116.     PlayerTextDrawLetterSize(playerid, achat_td[5][playerid], 0.337500, 1.415200);
  1117.     PlayerTextDrawAlignment(playerid, achat_td[5][playerid], 1);
  1118.     PlayerTextDrawColor(playerid, achat_td[5][playerid], -1);
  1119.     PlayerTextDrawSetShadow(playerid, achat_td[5][playerid], 0);
  1120.     PlayerTextDrawSetOutline(playerid, achat_td[5][playerid], 1);
  1121.     PlayerTextDrawBackgroundColor(playerid, achat_td[5][playerid], 51);
  1122.     PlayerTextDrawFont(playerid, achat_td[5][playerid], 1);
  1123.     PlayerTextDrawSetProportional(playerid, achat_td[5][playerid], 1);
  1124.  
  1125.     achat_td[6][playerid] = CreatePlayerTextDraw(playerid, 127.999893, 263.807952, "des_coups_critique");
  1126.     PlayerTextDrawLetterSize(playerid, achat_td[6][playerid], 0.337500, 1.415200);
  1127.     PlayerTextDrawAlignment(playerid, achat_td[6][playerid], 1);
  1128.     PlayerTextDrawColor(playerid, achat_td[6][playerid], -1);
  1129.     PlayerTextDrawSetShadow(playerid, achat_td[6][playerid], 0);
  1130.     PlayerTextDrawSetOutline(playerid, achat_td[6][playerid], 1);
  1131.     PlayerTextDrawBackgroundColor(playerid, achat_td[6][playerid], 51);
  1132.     PlayerTextDrawFont(playerid, achat_td[6][playerid], 1);
  1133.     PlayerTextDrawSetProportional(playerid, achat_td[6][playerid], 1);
  1134.  
  1135.     achat_td[7][playerid] = CreatePlayerTextDraw(playerid, 269.650054, 163.120071, "New Textdraw");
  1136.     PlayerTextDrawSetPreviewModel(playerid, achat_td[7][playerid], 19142);
  1137.     PlayerTextDrawSetPreviewRot(playerid, achat_td[7][playerid], 1.0, 270.0, 1.0, 1.0);
  1138.     PlayerTextDrawLetterSize(playerid, achat_td[7][playerid], 0.449999, 1.600000);
  1139.     PlayerTextDrawTextSize(playerid, achat_td[7][playerid], 93.500000, 83.440025);
  1140.     PlayerTextDrawAlignment(playerid, achat_td[7][playerid], 1);
  1141.     PlayerTextDrawColor(playerid, achat_td[7][playerid], -1);
  1142.     PlayerTextDrawUseBox(playerid, achat_td[7][playerid], true);
  1143.     PlayerTextDrawBoxColor(playerid, achat_td[7][playerid], 0);
  1144.     PlayerTextDrawSetShadow(playerid, achat_td[7][playerid], 0);
  1145.     PlayerTextDrawSetOutline(playerid, achat_td[7][playerid], 1);
  1146.     PlayerTextDrawBackgroundColor(playerid, achat_td[7][playerid], 51);
  1147.     PlayerTextDrawFont(playerid, achat_td[7][playerid], 5);
  1148.     PlayerTextDrawSetProportional(playerid, achat_td[7][playerid], 1);
  1149.  
  1150.     achat_td[8][playerid] = CreatePlayerTextDraw(playerid, 279.600036, 228.583999, "Kevlar");
  1151.     PlayerTextDrawLetterSize(playerid, achat_td[8][playerid], 0.449999, 1.600000);
  1152.     PlayerTextDrawAlignment(playerid, achat_td[8][playerid], 1);
  1153.     PlayerTextDrawColor(playerid, achat_td[8][playerid], -1);
  1154.     PlayerTextDrawUseBox(playerid, achat_td[8][playerid], true);
  1155.     PlayerTextDrawBoxColor(playerid, achat_td[8][playerid], 0);
  1156.     PlayerTextDrawSetShadow(playerid, achat_td[8][playerid], 0);
  1157.     PlayerTextDrawSetOutline(playerid, achat_td[8][playerid], 1);
  1158.     PlayerTextDrawBackgroundColor(playerid, achat_td[8][playerid], 51);
  1159.     PlayerTextDrawFont(playerid, achat_td[8][playerid], 2);
  1160.     PlayerTextDrawSetProportional(playerid, achat_td[8][playerid], 1);
  1161.  
  1162.     achat_td[9][playerid] = CreatePlayerTextDraw(playerid, 260.549682, 247.680007, "Pour_vous_proteger");
  1163.     PlayerTextDrawLetterSize(playerid, achat_td[9][playerid], 0.337500, 1.415200);
  1164.     PlayerTextDrawAlignment(playerid, achat_td[9][playerid], 1);
  1165.     PlayerTextDrawColor(playerid, achat_td[9][playerid], -1);
  1166.     PlayerTextDrawSetShadow(playerid, achat_td[9][playerid], 0);
  1167.     PlayerTextDrawSetOutline(playerid, achat_td[9][playerid], 1);
  1168.     PlayerTextDrawBackgroundColor(playerid, achat_td[9][playerid], 51);
  1169.     PlayerTextDrawFont(playerid, achat_td[9][playerid], 1);
  1170.     PlayerTextDrawSetProportional(playerid, achat_td[9][playerid], 1);
  1171.  
  1172.     achat_td[10][playerid] = CreatePlayerTextDraw(playerid, 247.449874, 168.784057, "LD_SPAC:white");
  1173.     PlayerTextDrawLetterSize(playerid, achat_td[10][playerid], 0.000000, 0.000000);
  1174.     PlayerTextDrawTextSize(playerid, achat_td[10][playerid], 4.300003, 105.447975);
  1175.     PlayerTextDrawAlignment(playerid, achat_td[10][playerid], 1);
  1176.     PlayerTextDrawColor(playerid, achat_td[10][playerid], 41215);
  1177.     PlayerTextDrawSetShadow(playerid, achat_td[10][playerid], 0);
  1178.     PlayerTextDrawSetOutline(playerid, achat_td[10][playerid], 0);
  1179.     PlayerTextDrawFont(playerid, achat_td[10][playerid], 4);
  1180.  
  1181.     achat_td[11][playerid] = CreatePlayerTextDraw(playerid, 259.599609, 261.895965, "des_balles_mais_pas");
  1182.     PlayerTextDrawLetterSize(playerid, achat_td[11][playerid], 0.337500, 1.415200);
  1183.     PlayerTextDrawAlignment(playerid, achat_td[11][playerid], 1);
  1184.     PlayerTextDrawColor(playerid, achat_td[11][playerid], -1);
  1185.     PlayerTextDrawSetShadow(playerid, achat_td[11][playerid], 0);
  1186.     PlayerTextDrawSetOutline(playerid, achat_td[11][playerid], 1);
  1187.     PlayerTextDrawBackgroundColor(playerid, achat_td[11][playerid], 51);
  1188.     PlayerTextDrawFont(playerid, achat_td[11][playerid], 1);
  1189.     PlayerTextDrawSetProportional(playerid, achat_td[11][playerid], 1);
  1190.  
  1191.     achat_td[12][playerid] = CreatePlayerTextDraw(playerid, 259.749786, 276.111938, "des_critique");
  1192.     PlayerTextDrawLetterSize(playerid, achat_td[12][playerid], 0.337500, 1.415200);
  1193.     PlayerTextDrawAlignment(playerid, achat_td[12][playerid], 1);
  1194.     PlayerTextDrawColor(playerid, achat_td[12][playerid], -1);
  1195.     PlayerTextDrawSetShadow(playerid, achat_td[12][playerid], 0);
  1196.     PlayerTextDrawSetOutline(playerid, achat_td[12][playerid], 1);
  1197.     PlayerTextDrawBackgroundColor(playerid, achat_td[12][playerid], 51);
  1198.     PlayerTextDrawFont(playerid, achat_td[12][playerid], 1);
  1199.     PlayerTextDrawSetProportional(playerid, achat_td[12][playerid], 1);
  1200.  
  1201.     achat_td[13][playerid] = CreatePlayerTextDraw(playerid, 383.799560, 170.792053, "LD_SPAC:white");
  1202.     PlayerTextDrawLetterSize(playerid, achat_td[13][playerid], 0.000000, 0.000000);
  1203.     PlayerTextDrawTextSize(playerid, achat_td[13][playerid], 4.300003, 105.447975);
  1204.     PlayerTextDrawAlignment(playerid, achat_td[13][playerid], 1);
  1205.     PlayerTextDrawColor(playerid, achat_td[13][playerid], 41215);
  1206.     PlayerTextDrawSetShadow(playerid, achat_td[13][playerid], 0);
  1207.     PlayerTextDrawSetOutline(playerid, achat_td[13][playerid], 0);
  1208.     PlayerTextDrawFont(playerid, achat_td[13][playerid], 4);
  1209.  
  1210.     achat_td[14][playerid] = CreatePlayerTextDraw(playerid, 401.650054, 167.480117, "New Textdraw");
  1211.     PlayerTextDrawSetPreviewRot(playerid, achat_td[14][playerid], 1.0, 1.0, 1.0, 1.0);
  1212.     PlayerTextDrawSetPreviewModel(playerid, achat_td[14][playerid], 19921);
  1213.     PlayerTextDrawLetterSize(playerid, achat_td[14][playerid], 0.449999, 1.600000);
  1214.     PlayerTextDrawTextSize(playerid, achat_td[14][playerid], 93.500000, 83.440025);
  1215.     PlayerTextDrawAlignment(playerid, achat_td[14][playerid], 1);
  1216.     PlayerTextDrawColor(playerid, achat_td[14][playerid], -1);
  1217.     PlayerTextDrawUseBox(playerid, achat_td[14][playerid], true);
  1218.     PlayerTextDrawBoxColor(playerid, achat_td[14][playerid], 0);
  1219.     PlayerTextDrawSetShadow(playerid, achat_td[14][playerid], 0);
  1220.     PlayerTextDrawSetOutline(playerid, achat_td[14][playerid], 1);
  1221.     PlayerTextDrawBackgroundColor(playerid, achat_td[14][playerid], 51);
  1222.     PlayerTextDrawFont(playerid, achat_td[14][playerid], 5);
  1223.     PlayerTextDrawSetProportional(playerid, achat_td[14][playerid], 1);
  1224.  
  1225.     achat_td[15][playerid] = CreatePlayerTextDraw(playerid, 429.599884, 215.136047, "Kit");
  1226.     PlayerTextDrawLetterSize(playerid, achat_td[15][playerid], 0.449999, 1.600000);
  1227.     PlayerTextDrawAlignment(playerid, achat_td[15][playerid], 1);
  1228.     PlayerTextDrawColor(playerid, achat_td[15][playerid], -1);
  1229.     PlayerTextDrawUseBox(playerid, achat_td[15][playerid], true);
  1230.     PlayerTextDrawBoxColor(playerid, achat_td[15][playerid], 0);
  1231.     PlayerTextDrawSetShadow(playerid, achat_td[15][playerid], 0);
  1232.     PlayerTextDrawSetOutline(playerid, achat_td[15][playerid], 1);
  1233.     PlayerTextDrawBackgroundColor(playerid, achat_td[15][playerid], 51);
  1234.     PlayerTextDrawFont(playerid, achat_td[15][playerid], 2);
  1235.     PlayerTextDrawSetProportional(playerid, achat_td[15][playerid], 1);
  1236.  
  1237.     achat_td[16][playerid] = CreatePlayerTextDraw(playerid, 405.549835, 231.927963, "secours");
  1238.     PlayerTextDrawLetterSize(playerid, achat_td[16][playerid], 0.449999, 1.600000);
  1239.     PlayerTextDrawAlignment(playerid, achat_td[16][playerid], 1);
  1240.     PlayerTextDrawColor(playerid, achat_td[16][playerid], -1);
  1241.     PlayerTextDrawUseBox(playerid, achat_td[16][playerid], true);
  1242.     PlayerTextDrawBoxColor(playerid, achat_td[16][playerid], 0);
  1243.     PlayerTextDrawSetShadow(playerid, achat_td[16][playerid], 0);
  1244.     PlayerTextDrawSetOutline(playerid, achat_td[16][playerid], 1);
  1245.     PlayerTextDrawBackgroundColor(playerid, achat_td[16][playerid], 51);
  1246.     PlayerTextDrawFont(playerid, achat_td[16][playerid], 2);
  1247.     PlayerTextDrawSetProportional(playerid, achat_td[16][playerid], 1);
  1248.  
  1249.     achat_td[17][playerid] = CreatePlayerTextDraw(playerid, 391.049804, 250.912017, "Pour_vous_soigner");
  1250.     PlayerTextDrawLetterSize(playerid, achat_td[17][playerid], 0.337500, 1.415200);
  1251.     PlayerTextDrawAlignment(playerid, achat_td[17][playerid], 1);
  1252.     PlayerTextDrawColor(playerid, achat_td[17][playerid], -1);
  1253.     PlayerTextDrawSetShadow(playerid, achat_td[17][playerid], 0);
  1254.     PlayerTextDrawSetOutline(playerid, achat_td[17][playerid], 1);
  1255.     PlayerTextDrawBackgroundColor(playerid, achat_td[17][playerid], 51);
  1256.     PlayerTextDrawFont(playerid, achat_td[17][playerid], 1);
  1257.     PlayerTextDrawSetProportional(playerid, achat_td[17][playerid], 1);
  1258.  
  1259.     achat_td[18][playerid] = CreatePlayerTextDraw(playerid, 391.549804, 263.111968, "ou_soigner_vos");
  1260.     PlayerTextDrawLetterSize(playerid, achat_td[18][playerid], 0.337500, 1.415200);
  1261.     PlayerTextDrawAlignment(playerid, achat_td[18][playerid], 1);
  1262.     PlayerTextDrawColor(playerid, achat_td[18][playerid], -1);
  1263.     PlayerTextDrawSetShadow(playerid, achat_td[18][playerid], 0);
  1264.     PlayerTextDrawSetOutline(playerid, achat_td[18][playerid], 1);
  1265.     PlayerTextDrawBackgroundColor(playerid, achat_td[18][playerid], 51);
  1266.     PlayerTextDrawFont(playerid, achat_td[18][playerid], 1);
  1267.     PlayerTextDrawSetProportional(playerid, achat_td[18][playerid], 1);
  1268.  
  1269.     achat_td[19][playerid] = CreatePlayerTextDraw(playerid, 391.950042, 275.927917, "camarade_(+20hp)");
  1270.     PlayerTextDrawLetterSize(playerid, achat_td[19][playerid], 0.337500, 1.415200);
  1271.     PlayerTextDrawAlignment(playerid, achat_td[19][playerid], 1);
  1272.     PlayerTextDrawColor(playerid, achat_td[19][playerid], -1);
  1273.     PlayerTextDrawSetShadow(playerid, achat_td[19][playerid], 0);
  1274.     PlayerTextDrawSetOutline(playerid, achat_td[19][playerid], 1);
  1275.     PlayerTextDrawBackgroundColor(playerid, achat_td[19][playerid], 51);
  1276.     PlayerTextDrawFont(playerid, achat_td[19][playerid], 1);
  1277.     PlayerTextDrawSetProportional(playerid, achat_td[19][playerid], 1);
  1278.  
  1279.     achat_td[20][playerid] = CreatePlayerTextDraw(playerid, 500.899993, 106.008018, "X");
  1280.     PlayerTextDrawLetterSize(playerid, achat_td[20][playerid], 0.509000, 2.134239);
  1281.     PlayerTextDrawAlignment(playerid, achat_td[20][playerid], 1);
  1282.     PlayerTextDrawColor(playerid, achat_td[20][playerid], -16776961);
  1283.     PlayerTextDrawSetShadow(playerid, achat_td[20][playerid], 0);
  1284.     PlayerTextDrawSetOutline(playerid, achat_td[20][playerid], 1);
  1285.     PlayerTextDrawBackgroundColor(playerid, achat_td[20][playerid], 51);
  1286.     PlayerTextDrawFont(playerid, achat_td[20][playerid], 1);
  1287.     PlayerTextDrawSetProportional(playerid, achat_td[20][playerid], 1);
  1288.     PlayerTextDrawSetSelectable(playerid, achat_td[20][playerid], true);
  1289.  
  1290.     achat_td[21][playerid] = CreatePlayerTextDraw(playerid, 146.899978, 288.680053, "LD_SPAC:white");
  1291.     PlayerTextDrawLetterSize(playerid, achat_td[21][playerid], 0.000000, 0.000000);
  1292.     PlayerTextDrawTextSize(playerid, achat_td[21][playerid], 61.500000, 21.839996);
  1293.     PlayerTextDrawAlignment(playerid, achat_td[21][playerid], 1);
  1294.     PlayerTextDrawColor(playerid, achat_td[21][playerid], 255);
  1295.     PlayerTextDrawSetShadow(playerid, achat_td[21][playerid], 0);
  1296.     PlayerTextDrawSetOutline(playerid, achat_td[21][playerid], 0);
  1297.     PlayerTextDrawFont(playerid, achat_td[21][playerid], 4);
  1298.     PlayerTextDrawSetSelectable(playerid, achat_td[21][playerid], true);
  1299.  
  1300.     achat_td[22][playerid] = CreatePlayerTextDraw(playerid, 150.350021, 292.207946, "Acheter");
  1301.     PlayerTextDrawLetterSize(playerid, achat_td[22][playerid], 0.403200, 1.428639);
  1302.     PlayerTextDrawAlignment(playerid, achat_td[22][playerid], 1);
  1303.     PlayerTextDrawColor(playerid, achat_td[22][playerid], -1);
  1304.     PlayerTextDrawSetShadow(playerid, achat_td[22][playerid], 0);
  1305.     PlayerTextDrawSetOutline(playerid, achat_td[22][playerid], 1);
  1306.     PlayerTextDrawBackgroundColor(playerid, achat_td[22][playerid], 51);
  1307.     PlayerTextDrawFont(playerid, achat_td[22][playerid], 1);
  1308.     PlayerTextDrawSetProportional(playerid, achat_td[22][playerid], 1);
  1309.  
  1310.     achat_td[23][playerid] = CreatePlayerTextDraw(playerid, 283.649902, 293.487976, "LD_SPAC:white");
  1311.     PlayerTextDrawLetterSize(playerid, achat_td[23][playerid], 0.000000, 0.000000);
  1312.     PlayerTextDrawTextSize(playerid, achat_td[23][playerid], 61.500000, 21.839996);
  1313.     PlayerTextDrawAlignment(playerid, achat_td[23][playerid], 1);
  1314.     PlayerTextDrawColor(playerid, achat_td[23][playerid], 255);
  1315.     PlayerTextDrawSetShadow(playerid, achat_td[23][playerid], 0);
  1316.     PlayerTextDrawSetOutline(playerid, achat_td[23][playerid], 0);
  1317.     PlayerTextDrawFont(playerid, achat_td[23][playerid], 4);
  1318.     PlayerTextDrawSetSelectable(playerid, achat_td[23][playerid], true);
  1319.  
  1320.     achat_td[24][playerid] = CreatePlayerTextDraw(playerid, 413.549835, 295.047973, "LD_SPAC:white");
  1321.     PlayerTextDrawLetterSize(playerid, achat_td[24][playerid], 0.000000, 0.000000);
  1322.     PlayerTextDrawTextSize(playerid, achat_td[24][playerid], 61.500000, 21.839996);
  1323.     PlayerTextDrawAlignment(playerid, achat_td[24][playerid], 1);
  1324.     PlayerTextDrawColor(playerid, achat_td[24][playerid], 255);
  1325.     PlayerTextDrawSetShadow(playerid, achat_td[24][playerid], 0);
  1326.     PlayerTextDrawSetOutline(playerid, achat_td[24][playerid], 0);
  1327.     PlayerTextDrawFont(playerid, achat_td[24][playerid], 4);
  1328.     PlayerTextDrawSetSelectable(playerid, achat_td[24][playerid], true);
  1329.  
  1330.     achat_td[25][playerid] = CreatePlayerTextDraw(playerid, 288.850036, 296.567932, "Acheter");
  1331.     PlayerTextDrawLetterSize(playerid, achat_td[25][playerid], 0.403200, 1.428639);
  1332.     PlayerTextDrawAlignment(playerid, achat_td[25][playerid], 1);
  1333.     PlayerTextDrawColor(playerid, achat_td[25][playerid], -1);
  1334.     PlayerTextDrawSetShadow(playerid, achat_td[25][playerid], 0);
  1335.     PlayerTextDrawSetOutline(playerid, achat_td[25][playerid], 1);
  1336.     PlayerTextDrawBackgroundColor(playerid, achat_td[25][playerid], 51);
  1337.     PlayerTextDrawFont(playerid, achat_td[25][playerid], 1);
  1338.     PlayerTextDrawSetProportional(playerid, achat_td[25][playerid], 1);
  1339.  
  1340.     achat_td[26][playerid] = CreatePlayerTextDraw(playerid, 416.850036, 298.127899, "Acheter");
  1341.     PlayerTextDrawLetterSize(playerid, achat_td[26][playerid], 0.403200, 1.428639);
  1342.     PlayerTextDrawAlignment(playerid, achat_td[26][playerid], 1);
  1343.     PlayerTextDrawColor(playerid, achat_td[26][playerid], -1);
  1344.     PlayerTextDrawSetShadow(playerid, achat_td[26][playerid], 0);
  1345.     PlayerTextDrawSetOutline(playerid, achat_td[26][playerid], 1);
  1346.     PlayerTextDrawBackgroundColor(playerid, achat_td[26][playerid], 51);
  1347.     PlayerTextDrawFont(playerid, achat_td[26][playerid], 1);
  1348.     PlayerTextDrawSetProportional(playerid, achat_td[26][playerid], 1);
  1349.  
  1350.     achat_td[27][playerid] = CreatePlayerTextDraw(playerid, 164.750045, 165.815887, "2000$");
  1351.     PlayerTextDrawLetterSize(playerid, achat_td[27][playerid], 0.391499, 1.432000);
  1352.     PlayerTextDrawAlignment(playerid, achat_td[27][playerid], 1);
  1353.     PlayerTextDrawColor(playerid, achat_td[27][playerid], -1);
  1354.     PlayerTextDrawSetShadow(playerid, achat_td[27][playerid], 0);
  1355.     PlayerTextDrawSetOutline(playerid, achat_td[27][playerid], 1);
  1356.     PlayerTextDrawBackgroundColor(playerid, achat_td[27][playerid], 51);
  1357.     PlayerTextDrawFont(playerid, achat_td[27][playerid], 1);
  1358.     PlayerTextDrawSetProportional(playerid, achat_td[27][playerid], 1);
  1359.  
  1360.     achat_td[28][playerid] = CreatePlayerTextDraw(playerid, 292.899902, 165.247909, "1000$");
  1361.     PlayerTextDrawLetterSize(playerid, achat_td[28][playerid], 0.391499, 1.432000);
  1362.     PlayerTextDrawAlignment(playerid, achat_td[28][playerid], 1);
  1363.     PlayerTextDrawColor(playerid, achat_td[28][playerid], -1);
  1364.     PlayerTextDrawSetShadow(playerid, achat_td[28][playerid], 0);
  1365.     PlayerTextDrawSetOutline(playerid, achat_td[28][playerid], 1);
  1366.     PlayerTextDrawBackgroundColor(playerid, achat_td[28][playerid], 51);
  1367.     PlayerTextDrawFont(playerid, achat_td[28][playerid], 1);
  1368.     PlayerTextDrawSetProportional(playerid, achat_td[28][playerid], 1);
  1369.  
  1370.     achat_td[29][playerid] = CreatePlayerTextDraw(playerid, 424.249664, 171.511901, "1000$");
  1371.     PlayerTextDrawLetterSize(playerid, achat_td[29][playerid], 0.391499, 1.432000);
  1372.     PlayerTextDrawAlignment(playerid, achat_td[29][playerid], 1);
  1373.     PlayerTextDrawColor(playerid, achat_td[29][playerid], -1);
  1374.     PlayerTextDrawSetShadow(playerid, achat_td[29][playerid], 0);
  1375.     PlayerTextDrawSetOutline(playerid, achat_td[29][playerid], 1);
  1376.     PlayerTextDrawBackgroundColor(playerid, achat_td[29][playerid], 51);
  1377.     PlayerTextDrawFont(playerid, achat_td[29][playerid], 1);
  1378.     PlayerTextDrawSetProportional(playerid, achat_td[29][playerid], 1);
  1379. //==============================================================================
  1380.     return 1;
  1381. }
  1382.  
  1383. public OnPlayerDisconnect(playerid, reason)
  1384. {
  1385.     if(Logged[playerid] == false)
  1386.     {
  1387.         gQuery[0] = EOS;
  1388.         format(gQuery, 256, "SELECT `Name` FROM `Users` WHERE `Name` = '%s' LIMIT 0,1", GetName(playerid));
  1389.         mysql_function_query(1, gQuery, true, "DeletePlayerAccount", "s", GetName(playerid));
  1390.     }
  1391.     else
  1392.     {
  1393.         SavePlayerData(playerid);
  1394.     }
  1395.     return 1;
  1396. }
  1397.  
  1398. public OnPlayerSpawn(playerid)
  1399. {
  1400.     switch(gTeam[playerid])
  1401.     {
  1402.         case SWAT : SetPlayerPos(playerid, 224.9019,1872.5885,13.7344);
  1403.         case TERO : SetPlayerPos(playerid, 413.7930,2533.0293,19.1484);
  1404.     }
  1405.     StopAudioStreamForPlayer(playerid);
  1406.     hidetextdraw_class(playerid);
  1407.     showtextdraw_global(playerid);
  1408.     SetPlayerScore(playerid, P_DATA[playerid][pScore]);
  1409.     SetPlayerMoney(playerid, P_DATA[playerid][pMoney]);
  1410.     SetPlayerVirtualWorld(playerid, 0);
  1411.     return 1;
  1412. }
  1413.  
  1414. public OnPlayerDeath(playerid, killerid, reason)
  1415. {
  1416.     P_DATA[playerid][pDeaths] ++;
  1417.     P_DATA[killerid][pKills] ++;
  1418.     P_DATA[killerid][pScore] ++;
  1419.     hidetextdraw_global(playerid);
  1420.     return 1;
  1421. }
  1422.  
  1423. public OnVehicleSpawn(vehicleid)
  1424. {
  1425.     return 1;
  1426. }
  1427.  
  1428. /*public OnVehicleDeath(vehicleid, killerid)
  1429. {
  1430.     return 1;
  1431. }*/
  1432.  
  1433. public OnPlayerText(playerid, text[])
  1434. {
  1435.     return 1;
  1436. }
  1437.  
  1438. public OnPlayerCommandText(playerid, cmdtext[])
  1439. {
  1440.     return 0;
  1441. }
  1442.  
  1443. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1444. {
  1445.     return 1;
  1446. }
  1447.  
  1448. public OnPlayerExitVehicle(playerid, vehicleid)
  1449. {
  1450.     return 1;
  1451. }
  1452.  
  1453. public OnPlayerStateChange(playerid, newstate, oldstate)
  1454. {
  1455.     return 1;
  1456. }
  1457.  
  1458. public OnPlayerEnterCheckpoint(playerid)
  1459. {
  1460.     return 1;
  1461. }
  1462.  
  1463. public OnPlayerLeaveCheckpoint(playerid)
  1464. {
  1465.     return 1;
  1466. }
  1467.  
  1468. public OnPlayerEnterRaceCheckpoint(playerid)
  1469. {
  1470.     return 1;
  1471. }
  1472.  
  1473. public OnPlayerLeaveRaceCheckpoint(playerid)
  1474. {
  1475.     return 1;
  1476. }
  1477.  
  1478. public OnRconCommand(cmd[])
  1479. {
  1480.     return 1;
  1481. }
  1482.  
  1483. public OnPlayerRequestSpawn(playerid)
  1484. {
  1485.     return 1;
  1486. }
  1487.  
  1488. public OnObjectMoved(objectid)
  1489. {
  1490.     return 1;
  1491. }
  1492.  
  1493. public OnPlayerObjectMoved(playerid, objectid)
  1494. {
  1495.     return 1;
  1496. }
  1497.  
  1498. public OnPlayerPickUpPickup(playerid, pickupid)
  1499. {
  1500.     return 1;
  1501. }
  1502.  
  1503. public OnVehicleMod(playerid, vehicleid, componentid)
  1504. {
  1505.     return 1;
  1506. }
  1507.  
  1508. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1509. {
  1510.     return 1;
  1511. }
  1512.  
  1513. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1514. {
  1515.     return 1;
  1516. }
  1517.  
  1518. public OnPlayerSelectedMenuRow(playerid, row)
  1519. {
  1520.     return 1;
  1521. }
  1522.  
  1523. public OnPlayerExitedMenu(playerid)
  1524. {
  1525.     return 1;
  1526. }
  1527.  
  1528. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1529. {
  1530.     return 1;
  1531. }
  1532.  
  1533. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1534. {
  1535.     return 1;
  1536. }
  1537.  
  1538. public OnRconLoginAttempt(ip[], password[], success)
  1539. {
  1540.     return 1;
  1541. }
  1542.  
  1543. public OnPlayerUpdate(playerid)
  1544. {
  1545.     new string[127];
  1546.     new Float:ratio=floatdiv(P_DATA[playerid][pDeaths], P_DATA[playerid][pKills]);
  1547.     format(string,sizeof(string),"%d",P_DATA[playerid][pDeaths]);
  1548.     PlayerTextDrawSetString(playerid, stats_td[6][playerid],string);
  1549.  
  1550.     format(string,sizeof(string),"%d",P_DATA[playerid][pKills]);
  1551.     PlayerTextDrawSetString(playerid, stats_td[4][playerid],string);
  1552.    
  1553.     format(string,sizeof(string),"%d",P_DATA[playerid][pScore]);
  1554.     PlayerTextDrawSetString(playerid, stats_td[10][playerid],string);
  1555.    
  1556.     format(string, sizeof(string), "%.2f", ratio);
  1557.     PlayerTextDrawSetString(playerid, stats_td[8][playerid],string);
  1558.     return 1;
  1559. }
  1560.  
  1561. public OnPlayerStreamIn(playerid, forplayerid)
  1562. {
  1563.     return 1;
  1564. }
  1565.  
  1566. public OnPlayerStreamOut(playerid, forplayerid)
  1567. {
  1568.     return 1;
  1569. }
  1570.  
  1571. public OnVehicleStreamIn(vehicleid, forplayerid)
  1572. {
  1573.     return 1;
  1574. }
  1575.  
  1576. public OnVehicleStreamOut(vehicleid, forplayerid)
  1577. {
  1578.     return 1;
  1579. }
  1580.  
  1581. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1582. {
  1583.     switch(dialogid)
  1584.     {
  1585.         case THREAD_DIALOG_REGISTER:
  1586.         {
  1587.             if(!response)
  1588.                 return SetTimerEx("KickRegister",500,false,"i",playerid);
  1589.  
  1590.             if(response)
  1591.             {
  1592.                 new string[500];
  1593.  
  1594.                 gQuery[0] = EOS;
  1595.                 format(gQuery, 256, ""W"Vous n'avez pas saisi un mot de passe!\n"W"Tapez un Mot De Passe pour vous inscrire!");
  1596.                 if(!strlen(inputtext)) return SPD(playerid,THREAD_DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,""GR"Inscription",gQuery,"Inscription","Annuler");
  1597.                 format(string, sizeof(string),"INSERT INTO `Users`(Name,Password,Kills,Deaths,Money,Score) VALUES('%s','%s','0','0','2000','0')",GetName(playerid),inputtext);
  1598.                 mysql_function_query(1,string,false,"","");
  1599.  
  1600.                 format(gQuery, 256,""W"Bienvenue a toi "LB"%s!\nSaisi ton Mot De Passe pour te connecter.",GetName(playerid));
  1601.                 SPD(playerid,THREAD_DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""GR"Connexion",gQuery,"Login","Cancel");
  1602.             }
  1603.         }
  1604.         case THREAD_DIALOG_LOGIN:
  1605.         {
  1606.             if(!response)
  1607.                 return SetTimerEx("KickRegister",500,false,"i",playerid);
  1608.             if(response)
  1609.             {
  1610.                 gQuery[0] = EOS;
  1611.                 new q_str[256];
  1612.  
  1613.                 format(q_str,sizeof(q_str),"SELECT `Name` FROM `Users` WHERE `Name` = '%s' AND `Password` = '%s'", GetName(playerid),inputtext);
  1614.                 mysql_function_query(1,q_str,true,"Query_LoadP_DATA","is",playerid,GetName(playerid));
  1615.                 hidetextdraw_co(playerid);
  1616.                 Logged[playerid] = true;
  1617.                 CancelSelectTextDraw(playerid);
  1618.                 TogglePlayerSpectating(playerid, false);
  1619.             }
  1620.         }
  1621.     }
  1622.     return 1;
  1623. }
  1624.  
  1625. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1626. {
  1627.     return 1;
  1628. }
  1629.  
  1630. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  1631. {
  1632.     new pName[MAX_PLAYER_NAME],
  1633.     pName1[MAX_PLAYER_NAME],
  1634.     string[256];
  1635.  
  1636.     if(clickedid == panel_co[11])
  1637.        {
  1638.         GetPlayerName(playerid,pName,sizeof(pName));
  1639.         mysql_real_escape_string(pName,pName1);
  1640.  
  1641.         format(string,sizeof(string),"SELECT `Name` FROM `Users` WHERE `Name` = '%s' LIMIT 0,1",pName1);
  1642.         mysql_function_query(1,string,true,"AccountLoad","is",playerid,pName1);
  1643.         //CancelSelectTextDraw(playerid);
  1644.     }
  1645.     else if(clickedid == panel_co[13])
  1646.     {
  1647.         GetPlayerName(playerid,pName,sizeof(pName));
  1648.         mysql_real_escape_string(pName,pName1);
  1649.  
  1650.         format(string,sizeof(string),"SELECT `Name` FROM `Users` WHERE `Name` = '%s' LIMIT 0,1",pName1);
  1651.         mysql_function_query(1,string,true,"AccountLoad2","is",playerid,pName1);
  1652.         //CancelSelectTextDraw(playerid);
  1653.     }
  1654.     return 1;
  1655. }
  1656. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  1657. {
  1658.     new money_prix[MAX_PLAYERS];
  1659.     money_prix[playerid] = GetPlayerMoney(playerid);
  1660.     if(playertextid == achat_td[21][playerid] )
  1661.     {
  1662.     if(money_prix[playerid] >= 2000)
  1663.     {
  1664.          SendClientMessage(playerid, COLOR_YELLOW, "Felicitation vous avez acheter un Casque.");
  1665.          casque[playerid] = true;
  1666.          hidetextdraw_achat(playerid);
  1667.          showtextdraw_global(playerid);
  1668.          CancelSelectTextDraw(playerid);
  1669.     }
  1670.     else SCM(playerid, COLOR_RED,"Vous n'avez pas assez d'argent");
  1671.     }
  1672.     return 1;
  1673. }
  1674. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  1675. {
  1676.     if(issuerid != INVALID_PLAYER_ID && casque[playerid] == false && bodypart == 9)
  1677.     {
  1678.         SetPlayerHealth(playerid, 0.0);
  1679.         GameTextForPlayer(playerid, "HEADSHOT !!", 5000, 2);
  1680.     }
  1681.     else if(issuerid != INVALID_PLAYER_ID && casque[playerid] == true && bodypart == 9)
  1682.     {
  1683.         casque[playerid] = false;
  1684.         SetPlayerHealth(playerid, 10.0);
  1685.         GameTextForPlayer(playerid, "Ton casque c'est envoler !!", 5000, 2);
  1686.     }
  1687.     return 1;
  1688. }
  1689. /*================================== Cmd et Mysql ==================*/
  1690. CMD:stats(playerid, params[])
  1691. {
  1692.     SCMF(playerid, -1,""SRV"Nom: %s Kills: %d Mort: %d Argent: %d Score: %d",GetName(playerid),P_DATA[playerid][pKills],P_DATA[playerid][pDeaths],P_DATA[playerid][pMoney],P_DATA[playerid][pScore]);
  1693.     return 1;
  1694. }
  1695. CMD:acheter(playerid, params[])
  1696. {
  1697.     if(Logged[playerid] == true)showtextdraw_achat(playerid),hidetextdraw_global(playerid),SelectTextDraw(playerid, 0x00FF00FF);
  1698.     return 1;
  1699. }
  1700. CMD:aide(playerid, params[])
  1701. {
  1702.     if(Logged[playerid] == true)SCM(playerid ,COLOR_BLUE,"_________________________________________"),SCM(playerid ,COLOR_YELLOW,"Commandes : /stats ; /acheter");
  1703.     return 1;
  1704. }
  1705. //=============================Function ==========================*/
  1706. Function:: Query_LoadP_DATA(playerid,q_acc[])
  1707. {
  1708.     new q_rows,
  1709.         q_fields,
  1710.         q_str[150];
  1711.  
  1712.     cache_get_data(q_rows,q_fields);
  1713.  
  1714.     if(!q_rows)
  1715.     {
  1716.         new str[300];
  1717.         format(str,sizeof(str),""W"Hey "LB"%s !\nVous avez entrer un mot de passe eroner \nRetaper votre mot de passe pour vous connecter .",GetName(playerid));
  1718.         SPD(playerid,THREAD_DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""GR"Connexion",str,"Connexion","Annuler");
  1719.     }
  1720.     else
  1721.     {
  1722.         format(q_str, sizeof(q_str),"SELECT * FROM `Users` WHERE Name = '%s'",q_acc);
  1723.         mysql_function_query(1, q_str,true,"OnPlayerCheckedLogin","ds",playerid,q_acc);
  1724.     }
  1725.  
  1726.     return 1;
  1727. }
  1728. Function:: OnPlayerCheckedLogin(playerid)
  1729. {
  1730.     P_DATA[playerid][ID] = cache_get_field_content_int(0, "ID");
  1731.     P_DATA[playerid][pKills] = cache_get_field_content_int(0, "Kills");
  1732.     P_DATA[playerid][pDeaths] = cache_get_field_content_int(0, "Deaths");
  1733.     P_DATA[playerid][pMoney] = cache_get_field_content_int(0, "Money");
  1734.     P_DATA[playerid][pScore] = cache_get_field_content_int(0, "Score");
  1735.     return 1;
  1736. }
  1737.  
  1738. Function:: AccountLoad(playerid,q_acc[])
  1739. {
  1740.     new q_rows,
  1741.         q_fields;
  1742.     cache_get_data(q_rows,q_fields);
  1743.     if(q_rows)
  1744.     {
  1745.         gQuery[0] = EOS;
  1746.         print("Compte Loader ... ");
  1747.         format(gQuery,256,""W"Re-Bienvenue à Toi, "LB"%s!\nTapez votre Mot De Passe pour vous connecter.",q_acc);
  1748.         SPD(playerid,THREAD_DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,""GR"Connexion",gQuery,"Connexion","Annuler");
  1749.         TogglePlayerSpectating(playerid, true);
  1750.     }
  1751.  
  1752.     return 1;
  1753. }
  1754. Function:: AccountLoad2(playerid,q_acc[])
  1755. {
  1756.     new q_rows,
  1757.         q_fields;
  1758.     cache_get_data(q_rows,q_fields);
  1759.     if(!q_rows)
  1760.     {
  1761.         gQuery[0] = EOS;
  1762.         print("Compte Loader ... ");
  1763.         format(gQuery, 256,""W"Bienvenue à Toi, "LB"%s!\nTapez un Mot De Passe pour vous inscrire!",q_acc);
  1764.         SPD(playerid,THREAD_DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,""GR"Inscription",gQuery,"Inscription","Annuler");
  1765.         TogglePlayerSpectating(playerid, true);
  1766.     }
  1767.     return 1;
  1768. }
  1769. Function:: SavePlayerData(playerid)
  1770. {
  1771.     new ks = P_DATA[playerid][pKills],
  1772.         dth = P_DATA[playerid][pDeaths],
  1773.         mn = P_DATA[playerid][pMoney],
  1774.         sc = P_DATA[playerid][pScore];
  1775.  
  1776.     gQuery[0] = EOS;
  1777.     format(gQuery, 500,"UPDATE `Users` SET `Kills`='%d',`Deaths`='%d',`Money`='%d',`Score`='%d' WHERE `Name`='%s'",ks,dth,mn,sc,GetName(playerid));
  1778.  
  1779.     mysql_function_query(1,gQuery,false,"","");
  1780.  
  1781.     print("Les comptes ont été enregistrés dans la base de données ..");
  1782.     return 1;
  1783. }
  1784.  
  1785. Function:: DeletePlayerAccount(q_acc[])
  1786. {
  1787.     new rows, fields;
  1788.  
  1789.     cache_get_data(rows, fields);
  1790.     if(rows)
  1791.     {
  1792.         gQuery[0] = EOS;
  1793.         format(gQuery, 256, "DELETE FROM `Users` WHERE `Name` = '%s'", q_acc);
  1794.         mysql_function_query(1, gQuery, false, "", "");
  1795.     }
  1796.     return 1;
  1797. }
  1798.  
  1799. stock GetName(playerid)
  1800. {
  1801.     new AlEx[24];
  1802.     GetPlayerName(playerid,AlEx,sizeof(AlEx));
  1803.     return AlEx;
  1804. }
  1805.  
  1806. //      *** Kick Function
  1807.  
  1808. Function:: KickRegister(playerid)
  1809. {
  1810.     Kick(playerid);
  1811.     //SCMF(playerid,-1,""SRV"%s a etait kick!",GetName(playerid));
  1812.     return 1;
  1813. }
  1814. stock SetPlayerMoney(playerid, money)
  1815. {
  1816. GivePlayerMoney(playerid, GetPlayerMoney(playerid));
  1817. GivePlayerMoney(playerid, money);
  1818. return 1;
  1819. }
  1820. /*==================== Public Textdraw ==========*/
  1821.  
  1822. public showtextdraw_co(playerid)
  1823. {
  1824.     TDSFP(playerid, panel_co[1]);
  1825.     TDSFP(playerid, panel_co[2]);
  1826.     TDSFP(playerid, panel_co[3]);
  1827.     TDSFP(playerid, panel_co[4]);
  1828.     TDSFP(playerid, panel_co[5]);
  1829.     TDSFP(playerid, panel_co[6]);
  1830.     TDSFP(playerid, panel_co[7]);
  1831.     TDSFP(playerid, panel_co[8]);
  1832.     TDSFP(playerid, panel_co[9]);
  1833.     TDSFP(playerid, panel_co[10]);
  1834.     TDSFP(playerid, panel_co[11]);
  1835.     TDSFP(playerid, panel_co[12]);
  1836.     TDSFP(playerid, panel_co[13]);
  1837.     TDSFP(playerid, panel_co[14]);
  1838.     SelectTextDraw(playerid, 0x00FF00FF);
  1839.     return 1;
  1840. }
  1841.  
  1842. public hidetextdraw_co(playerid)
  1843. {
  1844.     TDHFP(playerid, panel_co[1]);
  1845.     TDHFP(playerid, panel_co[2]);
  1846.     TDHFP(playerid, panel_co[3]);
  1847.     TDHFP(playerid, panel_co[4]);
  1848.     TDHFP(playerid, panel_co[5]);
  1849.     TDHFP(playerid, panel_co[6]);
  1850.     TDHFP(playerid, panel_co[7]);
  1851.     TDHFP(playerid, panel_co[8]);
  1852.     TDHFP(playerid, panel_co[9]);
  1853.     TDHFP(playerid, panel_co[10]);
  1854.     TDHFP(playerid, panel_co[11]);
  1855.     TDHFP(playerid, panel_co[12]);
  1856.     TDHFP(playerid, panel_co[13]);
  1857.     TDHFP(playerid, panel_co[14]);
  1858.     return 1;
  1859. }
  1860. public textdraw_class(playerid, classid)
  1861. {
  1862.     switch (classid)
  1863.     {
  1864.         case 0:
  1865.         {
  1866.     txd_class[playerid] = 1;
  1867.     gTeam[playerid] = SWAT;
  1868.     TDSFP(playerid, class_dm_swat[1]);
  1869.     TDSFP(playerid, class_dm_swat[2]);
  1870.     TDSFP(playerid, class_dm_swat[3]);
  1871.     TDSFP(playerid, class_dm_swat[4]);
  1872.     TDSFP(playerid, class_dm_swat[5]);
  1873.     TDSFP(playerid, class_dm_swat[6]);
  1874.     TDSFP(playerid, class_dm_swat[7]);
  1875.     TDSFP(playerid, class_dm_swat[8]);
  1876.     TDSFP(playerid, class_dm_swat[9]);
  1877.     TDSFP(playerid, class_dm_swat[10]);
  1878.     TDSFP(playerid, class_dm_swat[11]);
  1879.  
  1880.     TDHFP(playerid, class_dm_tero[1]);
  1881.     TDHFP(playerid, class_dm_tero[2]);
  1882.     TDHFP(playerid, class_dm_tero[3]);
  1883.     TDHFP(playerid, class_dm_tero[4]);
  1884.     TDHFP(playerid, class_dm_tero[5]);
  1885.     TDHFP(playerid, class_dm_tero[6]);
  1886.     TDHFP(playerid, class_dm_tero[7]);
  1887.     TDHFP(playerid, class_dm_tero[8]);
  1888.     TDHFP(playerid, class_dm_tero[9]);
  1889.     TDHFP(playerid, class_dm_tero[10]);
  1890.     TDHFP(playerid, class_dm_tero[11]);
  1891.         }
  1892.         case 1:
  1893.         {
  1894.     txd_class[playerid] = 2;
  1895.     gTeam[playerid] = TERO;
  1896.     TDSFP(playerid, class_dm_tero[1]);
  1897.     TDSFP(playerid, class_dm_tero[2]);
  1898.     TDSFP(playerid, class_dm_tero[3]);
  1899.     TDSFP(playerid, class_dm_tero[4]);
  1900.     TDSFP(playerid, class_dm_tero[5]);
  1901.     TDSFP(playerid, class_dm_tero[6]);
  1902.     TDSFP(playerid, class_dm_tero[7]);
  1903.     TDSFP(playerid, class_dm_tero[8]);
  1904.     TDSFP(playerid, class_dm_tero[9]);
  1905.     TDSFP(playerid, class_dm_tero[10]);
  1906.     TDSFP(playerid, class_dm_tero[11]);
  1907.  
  1908.     TDHFP(playerid, class_dm_swat[1]);
  1909.     TDHFP(playerid, class_dm_swat[2]);
  1910.     TDHFP(playerid, class_dm_swat[3]);
  1911.     TDHFP(playerid, class_dm_swat[4]);
  1912.     TDHFP(playerid, class_dm_swat[5]);
  1913.     TDHFP(playerid, class_dm_swat[6]);
  1914.     TDHFP(playerid, class_dm_swat[7]);
  1915.     TDHFP(playerid, class_dm_swat[8]);
  1916.     TDHFP(playerid, class_dm_swat[9]);
  1917.     TDHFP(playerid, class_dm_swat[10]);
  1918.     TDHFP(playerid, class_dm_swat[11]);
  1919.         }
  1920.      }
  1921.     return 1;
  1922. }
  1923. public hidetextdraw_class(playerid)
  1924. {
  1925.     switch(txd_class[playerid])
  1926.     {
  1927.         case 1:
  1928.         {
  1929.     TDHFP(playerid, class_dm_swat[1]);
  1930.     TDHFP(playerid, class_dm_swat[2]);
  1931.     TDHFP(playerid, class_dm_swat[3]);
  1932.     TDHFP(playerid, class_dm_swat[4]);
  1933.     TDHFP(playerid, class_dm_swat[5]);
  1934.     TDHFP(playerid, class_dm_swat[6]);
  1935.     TDHFP(playerid, class_dm_swat[7]);
  1936.     TDHFP(playerid, class_dm_swat[8]);
  1937.     TDHFP(playerid, class_dm_swat[9]);
  1938.     TDHFP(playerid, class_dm_swat[10]);
  1939.     TDHFP(playerid, class_dm_swat[11]);
  1940.     txd_class[playerid] = 0;
  1941.         }
  1942.         case 2:
  1943.         {
  1944.     TDHFP(playerid, class_dm_tero[1]);
  1945.     TDHFP(playerid, class_dm_tero[2]);
  1946.     TDHFP(playerid, class_dm_tero[3]);
  1947.     TDHFP(playerid, class_dm_tero[4]);
  1948.     TDHFP(playerid, class_dm_tero[5]);
  1949.     TDHFP(playerid, class_dm_tero[6]);
  1950.     TDHFP(playerid, class_dm_tero[7]);
  1951.     TDHFP(playerid, class_dm_tero[8]);
  1952.     TDHFP(playerid, class_dm_tero[9]);
  1953.     TDHFP(playerid, class_dm_tero[10]);
  1954.     TDHFP(playerid, class_dm_tero[11]);
  1955.     txd_class[playerid] = 0;
  1956.         }
  1957.     }
  1958.     return 1;
  1959. }
  1960. public showtextdraw_global(playerid)
  1961. {
  1962.     PlayerTextDrawShow(playerid, stats_td[1][playerid]);
  1963.     PlayerTextDrawShow(playerid, stats_td[2][playerid]);
  1964.     PlayerTextDrawShow(playerid, stats_td[3][playerid]);
  1965.     PlayerTextDrawShow(playerid, stats_td[4][playerid]);
  1966.     PlayerTextDrawShow(playerid, stats_td[5][playerid]);
  1967.     PlayerTextDrawShow(playerid, stats_td[6][playerid]);
  1968.     PlayerTextDrawShow(playerid, stats_td[7][playerid]);
  1969.     PlayerTextDrawShow(playerid, stats_td[8][playerid]);
  1970.     PlayerTextDrawShow(playerid, stats_td[9][playerid]);
  1971.     PlayerTextDrawShow(playerid, stats_td[10][playerid]);
  1972.     return 1;
  1973. }
  1974. public hidetextdraw_global(playerid)
  1975. {
  1976.     PlayerTextDrawHide(playerid, stats_td[1][playerid]);
  1977.     PlayerTextDrawHide(playerid, stats_td[2][playerid]);
  1978.     PlayerTextDrawHide(playerid, stats_td[3][playerid]);
  1979.     PlayerTextDrawHide(playerid, stats_td[4][playerid]);
  1980.     PlayerTextDrawHide(playerid, stats_td[5][playerid]);
  1981.     PlayerTextDrawHide(playerid, stats_td[6][playerid]);
  1982.     PlayerTextDrawHide(playerid, stats_td[7][playerid]);
  1983.     PlayerTextDrawHide(playerid, stats_td[8][playerid]);
  1984.     PlayerTextDrawHide(playerid, stats_td[9][playerid]);
  1985.     PlayerTextDrawHide(playerid, stats_td[10][playerid]);
  1986.     return 1;
  1987. }
  1988. public hidetextdraw_achat(playerid)
  1989. {
  1990.     PlayerTextDrawHide(playerid, achat_td[1][playerid]);
  1991.     PlayerTextDrawHide(playerid, achat_td[2][playerid]);
  1992.     PlayerTextDrawHide(playerid, achat_td[3][playerid]);
  1993.     PlayerTextDrawHide(playerid, achat_td[4][playerid]);
  1994.     PlayerTextDrawHide(playerid, achat_td[5][playerid]);
  1995.     PlayerTextDrawHide(playerid, achat_td[6][playerid]);
  1996.     PlayerTextDrawHide(playerid, achat_td[7][playerid]);
  1997.     PlayerTextDrawHide(playerid, achat_td[8][playerid]);
  1998.     PlayerTextDrawHide(playerid, achat_td[9][playerid]);
  1999.     PlayerTextDrawHide(playerid, achat_td[10][playerid]);
  2000.     PlayerTextDrawHide(playerid, achat_td[11][playerid]);
  2001.     PlayerTextDrawHide(playerid, achat_td[12][playerid]);
  2002.     PlayerTextDrawHide(playerid, achat_td[13][playerid]);
  2003.     PlayerTextDrawHide(playerid, achat_td[14][playerid]);
  2004.     PlayerTextDrawHide(playerid, achat_td[15][playerid]);
  2005.     PlayerTextDrawHide(playerid, achat_td[16][playerid]);
  2006.     PlayerTextDrawHide(playerid, achat_td[17][playerid]);
  2007.     PlayerTextDrawHide(playerid, achat_td[18][playerid]);
  2008.     PlayerTextDrawHide(playerid, achat_td[19][playerid]);
  2009.     PlayerTextDrawHide(playerid, achat_td[20][playerid]);
  2010.     PlayerTextDrawHide(playerid, achat_td[21][playerid]);
  2011.     PlayerTextDrawHide(playerid, achat_td[22][playerid]);
  2012.     PlayerTextDrawHide(playerid, achat_td[23][playerid]);
  2013.     PlayerTextDrawHide(playerid, achat_td[24][playerid]);
  2014.     PlayerTextDrawHide(playerid, achat_td[25][playerid]);
  2015.     PlayerTextDrawHide(playerid, achat_td[26][playerid]);
  2016.     PlayerTextDrawHide(playerid, achat_td[27][playerid]);
  2017.     PlayerTextDrawHide(playerid, achat_td[28][playerid]);
  2018.     PlayerTextDrawHide(playerid, achat_td[29][playerid]);
  2019.     return 1;
  2020. }
  2021.  
  2022. public showtextdraw_achat(playerid)
  2023. {
  2024.     PlayerTextDrawShow(playerid, achat_td[1][playerid]);
  2025.     PlayerTextDrawShow(playerid, achat_td[2][playerid]);
  2026.     PlayerTextDrawShow(playerid, achat_td[3][playerid]);
  2027.     PlayerTextDrawShow(playerid, achat_td[4][playerid]);
  2028.     PlayerTextDrawShow(playerid, achat_td[5][playerid]);
  2029.     PlayerTextDrawShow(playerid, achat_td[6][playerid]);
  2030.     PlayerTextDrawShow(playerid, achat_td[7][playerid]);
  2031.     PlayerTextDrawShow(playerid, achat_td[8][playerid]);
  2032.     PlayerTextDrawShow(playerid, achat_td[9][playerid]);
  2033.     PlayerTextDrawShow(playerid, achat_td[10][playerid]);
  2034.     PlayerTextDrawShow(playerid, achat_td[11][playerid]);
  2035.     PlayerTextDrawShow(playerid, achat_td[12][playerid]);
  2036.     PlayerTextDrawShow(playerid, achat_td[13][playerid]);
  2037.     PlayerTextDrawShow(playerid, achat_td[14][playerid]);
  2038.     PlayerTextDrawShow(playerid, achat_td[15][playerid]);
  2039.     PlayerTextDrawShow(playerid, achat_td[16][playerid]);
  2040.     PlayerTextDrawShow(playerid, achat_td[17][playerid]);
  2041.     PlayerTextDrawShow(playerid, achat_td[18][playerid]);
  2042.     PlayerTextDrawShow(playerid, achat_td[19][playerid]);
  2043.     PlayerTextDrawShow(playerid, achat_td[20][playerid]);
  2044.     PlayerTextDrawShow(playerid, achat_td[21][playerid]);
  2045.     PlayerTextDrawShow(playerid, achat_td[22][playerid]);
  2046.     PlayerTextDrawShow(playerid, achat_td[23][playerid]);
  2047.     PlayerTextDrawShow(playerid, achat_td[24][playerid]);
  2048.     PlayerTextDrawShow(playerid, achat_td[25][playerid]);
  2049.     PlayerTextDrawShow(playerid, achat_td[26][playerid]);
  2050.     PlayerTextDrawShow(playerid, achat_td[27][playerid]);
  2051.     PlayerTextDrawShow(playerid, achat_td[28][playerid]);
  2052.     PlayerTextDrawShow(playerid, achat_td[29][playerid]);
  2053.     return 1;
  2054. }
Advertisement
Add Comment
Please, Sign In to add comment