Advertisement
cesar_google

Zombie Vs Humans 1.6 RC 1 español

Sep 30th, 2013
1,145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 96.07 KB | None | 0 0
  1. #if defined Parka
  2.                --== Zombie Vs Humans ==--
  3.                     Create By Parka
  4.                       Version: 1.6 RC 1
  5.                 Date: 10:00 pm  07/03/2013
  6.                       Mode: Zombie
  7. #endif
  8. #include <a_samp>
  9. #include <YSI\y_ini>
  10. #include <streamer>
  11. #include <foreach>
  12. #include <sscanf2>
  13. #include <zcmd>
  14.  
  15. main()
  16. {
  17.     print("[!]==========================[!]");
  18.     print("[!]--== Zombie Vs Humans ==--[!]");
  19.     print("[!]     Create By Parka      [!]");
  20.     print("[!]       Mode: Zombie       [!]");
  21.     print("[!]==========================[!]\n");
  22. }
  23. /*[!]========================[!] Defines [!]===============================[!]*/
  24. #define LIMA   0x00FF00AA
  25. #define CIAN   0x00FFFFAA
  26. #define KAKI   0xF0E68CAA
  27. #define LARC   0x88AA88AA
  28. #define OROS   0xFFD700AA
  29. #define PLAT   0xC0C0C0AA
  30.  
  31. #define LL   "{00FF00}"
  32. #define KK   "{F0E68C}"
  33. #define CC   "{00FFFF}"
  34. #define OO   "{FFD700}"
  35. #define PP   "{C0C0C0}"
  36. #define LA   "{88AA88}"
  37. #define BC   "{FFFFFF}"
  38.  
  39.  
  40. #define MAX_STATS 100
  41.  
  42. #define AZ    "{0000FF}"
  43. #define RO    "{FF0000}"
  44. #define VE    "{008000}"
  45. #define AM    "{FFFF00}"
  46. #define NE    "{000000}"
  47. #define NA    "{FFA500}"
  48. #define GR    "{808080}"
  49.  
  50. #define MainAzul      0x0000FFAA
  51. #define MainRojo      0xFF0000AA
  52. #define MainVerde     0x008000AA
  53. #define MainAmarillo  0xFFFF00AA
  54. #define MainNegro     0x000000AA
  55. #define MainBlanco    0xFFFFFFAA
  56. #define MainNaranja   0xFFA500AA
  57. #define FormalAdmin   0x808080AA
  58.  
  59. //-- dialogos
  60. #define Dialog_Register             (0)
  61. #define Dialog_Login                (1)
  62. #define Dialog_Compra               (2)
  63. #define Dialog_Buy_Comida           (3)
  64.  
  65. //-- Raza
  66. #define Raza_Humana     (0)
  67. #define Raza_Zombie     (1)
  68. //-- Viruz
  69. #define Viruz_X     (1)
  70. #define Viruz_XX    (2)
  71. #define Viruz_Z     (3)
  72.  
  73.  
  74. //-- MAXIMO
  75. #define MAX_ZONE_NAME (28)
  76. #define AMMO_SELL     (5)
  77. #define MAX_ADMIN     (1)//
  78. #define MAX_AVISOS    (3)//
  79.  
  80. #define Archivo "%s.ini"
  81.  
  82. #define GM "Server:"
  83.  
  84. #define Tecla(%0) \
  85.     (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  86.  
  87. /*[!]=======================[!] Variables [!]==============================[!]*/
  88. enum pInfo
  89. {
  90. pPass,
  91. pCash,
  92. pAdmin,
  93. pKills,
  94. pDeaths,
  95.  
  96. pDia,
  97. pMes,
  98. pYear,
  99. pMins,
  100. pHora,
  101. pSkills,
  102. pInfecct,
  103. pCuret,
  104. Avisos
  105.  
  106. }
  107. new PlayerInfo[MAX_PLAYERS][pInfo];
  108. new Text:TextdrawGlobal[4];
  109.  
  110. new bool:EnteredDialog[MAX_PLAYERS];
  111.  
  112. new BeberStats  [ MAX_PLAYERS ];
  113. new ComidaStats [ MAX_PLAYERS ];
  114. new Float:Vida  [ MAX_PLAYERS ];
  115. new MyTime      [ MAX_PLAYERS ];
  116. new bool:PlayerSpawnStats[ MAX_PLAYERS ];
  117.  
  118. new PlayerText:Textdraw0;
  119. new PlayerText:Textdraw1;
  120. new PlayerText:Textdraw2;
  121. new PlayerText:Textdraw3;
  122. new PlayerText:Textdraw4;
  123. new PlayerText:Textdraw5;
  124.  
  125. new bool:InformationText[4];
  126. new Timer[1];
  127.  
  128. new Objectid[2];
  129. new Viruz[MAX_PLAYERS];
  130.  
  131. static FloodComando[MAX_PLAYERS];
  132. static CureZombie[MAX_PLAYERS];
  133. static Equipo[MAX_PLAYERS];
  134.  
  135. new Zombie[11] =
  136. {
  137. 157,158,159,160,161,
  138. 162,137,230,131,130,
  139. 162
  140. };
  141.  
  142. new Humano[10] =
  143. {
  144. 122,120,119,98,73,
  145. 55,56,12,263,298
  146. };
  147.  
  148. enum SAZONE_MAIN { //Betamaster
  149.         SAZONE_NAME[28],
  150.         Float:SAZONE_AREA[6]
  151. };
  152.  
  153. static const gSAZones[][SAZONE_MAIN] = {  // Majority of names and area coordinates adopted from Mabako's 'Zones Script' v0.2
  154.     //  NAME                            AREA (Xmin,Ymin,Zmin,Xmax,Ymax,Zmax)
  155.     {"The Big Ear",                 {-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
  156.     {"Aldea Malvada",               {-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
  157.     {"Angel Pine",                  {-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}},
  158.     {"Arco del Oeste",              {-901.10,2221.80,0.00,-592.00,2571.90,200.00}},
  159.     {"Avispa Country Club",         {-2646.40,-355.40,0.00,-2270.00,-222.50,200.00}},
  160.     {"Avispa Country Club",         {-2831.80,-430.20,-6.10,-2646.40,-222.50,200.00}},
  161.     {"Avispa Country Club",         {-2361.50,-417.10,0.00,-2270.00,-355.40,200.00}},
  162.     {"Avispa Country Club",         {-2667.80,-302.10,-28.80,-2646.40,-262.30,71.10}},
  163.     {"Avispa Country Club",         {-2470.00,-355.40,0.00,-2270.00,-318.40,46.10}},
  164.     {"Avispa Country Club",         {-2550.00,-355.40,0.00,-2470.00,-318.40,39.70}},
  165.     {"Back o Beyond",               {-1166.90,-2641.10,0.00,-321.70,-1856.00,200.00}},
  166.     {"Battery Point",               {-2741.00,1268.40,-4.50,-2533.00,1490.40,200.00}},
  167.     {"Bayside",                     {-2741.00,2175.10,0.00,-2353.10,2722.70,200.00}},
  168.     {"Bayside Marina",              {-2353.10,2275.70,0.00,-2153.10,2475.70,200.00}},
  169.     {"Beacon Hill",                 {-399.60,-1075.50,-1.40,-319.00,-977.50,198.50}},
  170.     {"Blackfield",                  {964.30,1203.20,-89.00,1197.30,1403.20,110.90}},
  171.     {"Blackfield",                  {964.30,1403.20,-89.00,1197.30,1726.20,110.90}},
  172.     {"Blackfield Chapel",           {1375.60,596.30,-89.00,1558.00,823.20,110.90}},
  173.     {"Blackfield Chapel",           {1325.60,596.30,-89.00,1375.60,795.00,110.90}},
  174.     {"Blackfield Intersection",     {1197.30,1044.60,-89.00,1277.00,1163.30,110.90}},
  175.     {"Blackfield Intersection",     {1166.50,795.00,-89.00,1375.60,1044.60,110.90}},
  176.     {"Blackfield Intersection",     {1277.00,1044.60,-89.00,1315.30,1087.60,110.90}},
  177.     {"Blackfield Intersection",     {1375.60,823.20,-89.00,1457.30,919.40,110.90}},
  178.     {"Blueberry",                   {104.50,-220.10,2.30,349.60,152.20,200.00}},
  179.     {"Blueberry",                   {19.60,-404.10,3.80,349.60,-220.10,200.00}},
  180.     {"Blueberry Acres",             {-319.60,-220.10,0.00,104.50,293.30,200.00}},
  181.     {"Caligula's Palace",           {2087.30,1543.20,-89.00,2437.30,1703.20,110.90}},
  182.     {"Caligula's Palace",           {2137.40,1703.20,-89.00,2437.30,1783.20,110.90}},
  183.     {"Calton Heights",              {-2274.10,744.10,-6.10,-1982.30,1358.90,200.00}},
  184.     {"Chinatown",                   {-2274.10,578.30,-7.60,-2078.60,744.10,200.00}},
  185.     {"City Hall",                   {-2867.80,277.40,-9.10,-2593.40,458.40,200.00}},
  186.     {"Come-A-Lot",                  {2087.30,943.20,-89.00,2623.10,1203.20,110.90}},
  187.     {"Commerce",                    {1323.90,-1842.20,-89.00,1701.90,-1722.20,110.90}},
  188.     {"Commerce",                    {1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90}},
  189.     {"Commerce",                    {1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90}},
  190.     {"Commerce",                    {1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90}},
  191.     {"Commerce",                    {1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90}},
  192.     {"Commerce",                    {1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90}},
  193.     {"Conference Center",           {1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90}},
  194.     {"Conference Center",           {1073.20,-1842.20,-89.00,1323.90,-1804.20,110.90}},
  195.     {"Cranberry Station",           {-2007.80,56.30,0.00,-1922.00,224.70,100.00}},
  196.     {"Creek",                       {2749.90,1937.20,-89.00,2921.60,2669.70,110.90}},
  197.     {"Dillimore",                   {580.70,-674.80,-9.50,861.00,-404.70,200.00}},
  198.     {"Doherty",                     {-2270.00,-324.10,-0.00,-1794.90,-222.50,200.00}},
  199.     {"Doherty",                     {-2173.00,-222.50,-0.00,-1794.90,265.20,200.00}},
  200.     {"Downtown",                    {-1982.30,744.10,-6.10,-1871.70,1274.20,200.00}},
  201.     {"Downtown",                    {-1871.70,1176.40,-4.50,-1620.30,1274.20,200.00}},
  202.     {"Downtown",                    {-1700.00,744.20,-6.10,-1580.00,1176.50,200.00}},
  203.     {"Downtown",                    {-1580.00,744.20,-6.10,-1499.80,1025.90,200.00}},
  204.     {"Downtown",                    {-2078.60,578.30,-7.60,-1499.80,744.20,200.00}},
  205.     {"Downtown",                    {-1993.20,265.20,-9.10,-1794.90,578.30,200.00}},
  206.     {"Downtown Los Santos",         {1463.90,-1430.80,-89.00,1724.70,-1290.80,110.90}},
  207.     {"Downtown Los Santos",         {1724.70,-1430.80,-89.00,1812.60,-1250.90,110.90}},
  208.     {"Downtown Los Santos",         {1463.90,-1290.80,-89.00,1724.70,-1150.80,110.90}},
  209.     {"Downtown Los Santos",         {1370.80,-1384.90,-89.00,1463.90,-1170.80,110.90}},
  210.     {"Downtown Los Santos",         {1724.70,-1250.90,-89.00,1812.60,-1150.80,110.90}},
  211.     {"Downtown Los Santos",         {1370.80,-1170.80,-89.00,1463.90,-1130.80,110.90}},
  212.     {"Downtown Los Santos",         {1378.30,-1130.80,-89.00,1463.90,-1026.30,110.90}},
  213.     {"Downtown Los Santos",         {1391.00,-1026.30,-89.00,1463.90,-926.90,110.90}},
  214.     {"Downtown Los Santos",         {1507.50,-1385.20,110.90,1582.50,-1325.30,335.90}},
  215.     {"East Beach",                  {2632.80,-1852.80,-89.00,2959.30,-1668.10,110.90}},
  216.     {"East Beach",                  {2632.80,-1668.10,-89.00,2747.70,-1393.40,110.90}},
  217.     {"East Beach",                  {2747.70,-1668.10,-89.00,2959.30,-1498.60,110.90}},
  218.     {"East Beach",                  {2747.70,-1498.60,-89.00,2959.30,-1120.00,110.90}},
  219.     {"East Los Santos",             {2421.00,-1628.50,-89.00,2632.80,-1454.30,110.90}},
  220.     {"East Los Santos",             {2222.50,-1628.50,-89.00,2421.00,-1494.00,110.90}},
  221.     {"East Los Santos",             {2266.20,-1494.00,-89.00,2381.60,-1372.00,110.90}},
  222.     {"East Los Santos",             {2381.60,-1494.00,-89.00,2421.00,-1454.30,110.90}},
  223.     {"East Los Santos",             {2281.40,-1372.00,-89.00,2381.60,-1135.00,110.90}},
  224.     {"East Los Santos",             {2381.60,-1454.30,-89.00,2462.10,-1135.00,110.90}},
  225.     {"East Los Santos",             {2462.10,-1454.30,-89.00,2581.70,-1135.00,110.90}},
  226.     {"Easter Basin",                {-1794.90,249.90,-9.10,-1242.90,578.30,200.00}},
  227.     {"Easter Basin",                {-1794.90,-50.00,-0.00,-1499.80,249.90,200.00}},
  228.     {"Easter Bay Airport",          {-1499.80,-50.00,-0.00,-1242.90,249.90,200.00}},
  229.     {"Easter Bay Airport",          {-1794.90,-730.10,-3.00,-1213.90,-50.00,200.00}},
  230.     {"Easter Bay Airport",          {-1213.90,-730.10,0.00,-1132.80,-50.00,200.00}},
  231.     {"Easter Bay Airport",          {-1242.90,-50.00,0.00,-1213.90,578.30,200.00}},
  232.     {"Easter Bay Airport",          {-1213.90,-50.00,-4.50,-947.90,578.30,200.00}},
  233.     {"Easter Bay Airport",          {-1315.40,-405.30,15.40,-1264.40,-209.50,25.40}},
  234.     {"Easter Bay Airport",          {-1354.30,-287.30,15.40,-1315.40,-209.50,25.40}},
  235.     {"Easter Bay Airport",          {-1490.30,-209.50,15.40,-1264.40,-148.30,25.40}},
  236.     {"Easter Bay Chemicals",        {-1132.80,-768.00,0.00,-956.40,-578.10,200.00}},
  237.     {"Easter Bay Chemicals",        {-1132.80,-787.30,0.00,-956.40,-768.00,200.00}},
  238.     {"El Castillo del Diablo",      {-464.50,2217.60,0.00,-208.50,2580.30,200.00}},
  239.     {"El Castillo del Diablo",      {-208.50,2123.00,-7.60,114.00,2337.10,200.00}},
  240.     {"El Castillo del Diablo",      {-208.50,2337.10,0.00,8.40,2487.10,200.00}},
  241.     {"El Corona",                   {1812.60,-2179.20,-89.00,1970.60,-1852.80,110.90}},
  242.     {"El Corona",                   {1692.60,-2179.20,-89.00,1812.60,-1842.20,110.90}},
  243.     {"El Quebrados",                {-1645.20,2498.50,0.00,-1372.10,2777.80,200.00}},
  244.     {"Esplanade East",              {-1620.30,1176.50,-4.50,-1580.00,1274.20,200.00}},
  245.     {"Esplanade East",              {-1580.00,1025.90,-6.10,-1499.80,1274.20,200.00}},
  246.     {"Esplanade East",              {-1499.80,578.30,-79.60,-1339.80,1274.20,20.30}},
  247.     {"Esplanade North",             {-2533.00,1358.90,-4.50,-1996.60,1501.20,200.00}},
  248.     {"Esplanade North",             {-1996.60,1358.90,-4.50,-1524.20,1592.50,200.00}},
  249.     {"Esplanade North",             {-1982.30,1274.20,-4.50,-1524.20,1358.90,200.00}},
  250.     {"Fallen Tree",                 {-792.20,-698.50,-5.30,-452.40,-380.00,200.00}},
  251.     {"Fallow Bridge",               {434.30,366.50,0.00,603.00,555.60,200.00}},
  252.     {"Fern Ridge",                  {508.10,-139.20,0.00,1306.60,119.50,200.00}},
  253.     {"Financial",                   {-1871.70,744.10,-6.10,-1701.30,1176.40,300.00}},
  254.     {"Fisher's Lagoon",             {1916.90,-233.30,-100.00,2131.70,13.80,200.00}},
  255.     {"Flint Intersection",          {-187.70,-1596.70,-89.00,17.00,-1276.60,110.90}},
  256.     {"Flint Range",                 {-594.10,-1648.50,0.00,-187.70,-1276.60,200.00}},
  257.     {"Fort Carson",                 {-376.20,826.30,-3.00,123.70,1220.40,200.00}},
  258.     {"Foster Valley",               {-2270.00,-430.20,-0.00,-2178.60,-324.10,200.00}},
  259.     {"Foster Valley",               {-2178.60,-599.80,-0.00,-1794.90,-324.10,200.00}},
  260.     {"Foster Valley",               {-2178.60,-1115.50,0.00,-1794.90,-599.80,200.00}},
  261.     {"Foster Valley",               {-2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00}},
  262.     {"Frederick Bridge",            {2759.20,296.50,0.00,2774.20,594.70,200.00}},
  263.     {"Gant Bridge",                 {-2741.40,1659.60,-6.10,-2616.40,2175.10,200.00}},
  264.     {"Gant Bridge",                 {-2741.00,1490.40,-6.10,-2616.40,1659.60,200.00}},
  265.     {"Ganton",                      {2222.50,-1852.80,-89.00,2632.80,-1722.30,110.90}},
  266.     {"Ganton",                      {2222.50,-1722.30,-89.00,2632.80,-1628.50,110.90}},
  267.     {"Garcia",                      {-2411.20,-222.50,-0.00,-2173.00,265.20,200.00}},
  268.     {"Garcia",                      {-2395.10,-222.50,-5.30,-2354.00,-204.70,200.00}},
  269.     {"Garver Bridge",               {-1339.80,828.10,-89.00,-1213.90,1057.00,110.90}},
  270.     {"Garver Bridge",               {-1213.90,950.00,-89.00,-1087.90,1178.90,110.90}},
  271.     {"Garver Bridge",               {-1499.80,696.40,-179.60,-1339.80,925.30,20.30}},
  272.     {"Glen Park",                   {1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90}},
  273.     {"Glen Park",                   {1812.60,-1100.80,-89.00,1994.30,-973.30,110.90}},
  274.     {"Glen Park",                   {1812.60,-1350.70,-89.00,2056.80,-1100.80,110.90}},
  275.     {"Green Palms",                 {176.50,1305.40,-3.00,338.60,1520.70,200.00}},
  276.     {"Greenglass College",          {964.30,1044.60,-89.00,1197.30,1203.20,110.90}},
  277.     {"Greenglass College",          {964.30,930.80,-89.00,1166.50,1044.60,110.90}},
  278.     {"Hampton Barns",               {603.00,264.30,0.00,761.90,366.50,200.00}},
  279.     {"Hankypanky Point",            {2576.90,62.10,0.00,2759.20,385.50,200.00}},
  280.     {"Harry Gold Parkway",          {1777.30,863.20,-89.00,1817.30,2342.80,110.90}},
  281.     {"Hashbury",                    {-2593.40,-222.50,-0.00,-2411.20,54.70,200.00}},
  282.     {"Hilltop Farm",                {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
  283.     {"Hunter Quarry",               {337.20,710.80,-115.20,860.50,1031.70,203.70}},
  284.     {"Idlewood",                    {1812.60,-1852.80,-89.00,1971.60,-1742.30,110.90}},
  285.     {"Idlewood",                    {1812.60,-1742.30,-89.00,1951.60,-1602.30,110.90}},
  286.     {"Idlewood",                    {1951.60,-1742.30,-89.00,2124.60,-1602.30,110.90}},
  287.     {"Idlewood",                    {1812.60,-1602.30,-89.00,2124.60,-1449.60,110.90}},
  288.     {"Idlewood",                    {2124.60,-1742.30,-89.00,2222.50,-1494.00,110.90}},
  289.     {"Idlewood",                    {1971.60,-1852.80,-89.00,2222.50,-1742.30,110.90}},
  290.     {"Jefferson",                   {1996.90,-1449.60,-89.00,2056.80,-1350.70,110.90}},
  291.     {"Jefferson",                   {2124.60,-1494.00,-89.00,2266.20,-1449.60,110.90}},
  292.     {"Jefferson",                   {2056.80,-1372.00,-89.00,2281.40,-1210.70,110.90}},
  293.     {"Jefferson",                   {2056.80,-1210.70,-89.00,2185.30,-1126.30,110.90}},
  294.     {"Jefferson",                   {2185.30,-1210.70,-89.00,2281.40,-1154.50,110.90}},
  295.     {"Jefferson",                   {2056.80,-1449.60,-89.00,2266.20,-1372.00,110.90}},
  296.     {"Julius Thruway East",         {2623.10,943.20,-89.00,2749.90,1055.90,110.90}},
  297.     {"Julius Thruway East",         {2685.10,1055.90,-89.00,2749.90,2626.50,110.90}},
  298.     {"Julius Thruway East",         {2536.40,2442.50,-89.00,2685.10,2542.50,110.90}},
  299.     {"Julius Thruway East",         {2625.10,2202.70,-89.00,2685.10,2442.50,110.90}},
  300.     {"Julius Thruway North",        {2498.20,2542.50,-89.00,2685.10,2626.50,110.90}},
  301.     {"Julius Thruway North",        {2237.40,2542.50,-89.00,2498.20,2663.10,110.90}},
  302.     {"Julius Thruway North",        {2121.40,2508.20,-89.00,2237.40,2663.10,110.90}},
  303.     {"Julius Thruway North",        {1938.80,2508.20,-89.00,2121.40,2624.20,110.90}},
  304.     {"Julius Thruway North",        {1534.50,2433.20,-89.00,1848.40,2583.20,110.90}},
  305.     {"Julius Thruway North",        {1848.40,2478.40,-89.00,1938.80,2553.40,110.90}},
  306.     {"Julius Thruway North",        {1704.50,2342.80,-89.00,1848.40,2433.20,110.90}},
  307.     {"Julius Thruway North",        {1377.30,2433.20,-89.00,1534.50,2507.20,110.90}},
  308.     {"Julius Thruway South",        {1457.30,823.20,-89.00,2377.30,863.20,110.90}},
  309.     {"Julius Thruway South",        {2377.30,788.80,-89.00,2537.30,897.90,110.90}},
  310.     {"Julius Thruway West",         {1197.30,1163.30,-89.00,1236.60,2243.20,110.90}},
  311.     {"Julius Thruway West",         {1236.60,2142.80,-89.00,1297.40,2243.20,110.90}},
  312.     {"Juniper Hill",                {-2533.00,578.30,-7.60,-2274.10,968.30,200.00}},
  313.     {"Juniper Hollow",              {-2533.00,968.30,-6.10,-2274.10,1358.90,200.00}},
  314.     {"K.A.C.C. Military Fuels",     {2498.20,2626.50,-89.00,2749.90,2861.50,110.90}},
  315.     {"Kincaid Bridge",              {-1339.80,599.20,-89.00,-1213.90,828.10,110.90}},
  316.     {"Kincaid Bridge",              {-1213.90,721.10,-89.00,-1087.90,950.00,110.90}},
  317.     {"Kincaid Bridge",              {-1087.90,855.30,-89.00,-961.90,986.20,110.90}},
  318.     {"King's",                      {-2329.30,458.40,-7.60,-1993.20,578.30,200.00}},
  319.     {"King's",                      {-2411.20,265.20,-9.10,-1993.20,373.50,200.00}},
  320.     {"King's",                      {-2253.50,373.50,-9.10,-1993.20,458.40,200.00}},
  321.     {"LVA Freight Depot",           {1457.30,863.20,-89.00,1777.40,1143.20,110.90}},
  322.     {"LVA Freight Depot",           {1375.60,919.40,-89.00,1457.30,1203.20,110.90}},
  323.     {"LVA Freight Depot",           {1277.00,1087.60,-89.00,1375.60,1203.20,110.90}},
  324.     {"LVA Freight Depot",           {1315.30,1044.60,-89.00,1375.60,1087.60,110.90}},
  325.     {"LVA Freight Depot",           {1236.60,1163.40,-89.00,1277.00,1203.20,110.90}},
  326.     {"Las Barrancas",               {-926.10,1398.70,-3.00,-719.20,1634.60,200.00}},
  327.     {"Las Brujas",                  {-365.10,2123.00,-3.00,-208.50,2217.60,200.00}},
  328.     {"Las Colinas",                 {1994.30,-1100.80,-89.00,2056.80,-920.80,110.90}},
  329.     {"Las Colinas",                 {2056.80,-1126.30,-89.00,2126.80,-920.80,110.90}},
  330.     {"Las Colinas",                 {2185.30,-1154.50,-89.00,2281.40,-934.40,110.90}},
  331.     {"Las Colinas",                 {2126.80,-1126.30,-89.00,2185.30,-934.40,110.90}},
  332.     {"Las Colinas",                 {2747.70,-1120.00,-89.00,2959.30,-945.00,110.90}},
  333.     {"Las Colinas",                 {2632.70,-1135.00,-89.00,2747.70,-945.00,110.90}},
  334.     {"Las Colinas",                 {2281.40,-1135.00,-89.00,2632.70,-945.00,110.90}},
  335.     {"Las Payasadas",               {-354.30,2580.30,2.00,-133.60,2816.80,200.00}},
  336.     {"Las Venturas Airport",        {1236.60,1203.20,-89.00,1457.30,1883.10,110.90}},
  337.     {"Las Venturas Airport",        {1457.30,1203.20,-89.00,1777.30,1883.10,110.90}},
  338.     {"Las Venturas Airport",        {1457.30,1143.20,-89.00,1777.40,1203.20,110.90}},
  339.     {"Las Venturas Airport",        {1515.80,1586.40,-12.50,1729.90,1714.50,87.50}},
  340.     {"Last Dime Motel",             {1823.00,596.30,-89.00,1997.20,823.20,110.90}},
  341.     {"Leafy Hollow",                {-1166.90,-1856.00,0.00,-815.60,-1602.00,200.00}},
  342.     {"Liberty City",                {-1000.00,400.00,1300.00,-700.00,600.00,1400.00}},
  343.     {"Lil' Probe Inn",              {-90.20,1286.80,-3.00,153.80,1554.10,200.00}},
  344.     {"Linden Side",                 {2749.90,943.20,-89.00,2923.30,1198.90,110.90}},
  345.     {"Linden Station",              {2749.90,1198.90,-89.00,2923.30,1548.90,110.90}},
  346.     {"Linden Station",              {2811.20,1229.50,-39.50,2861.20,1407.50,60.40}},
  347.     {"Little Mexico",               {1701.90,-1842.20,-89.00,1812.60,-1722.20,110.90}},
  348.     {"Little Mexico",               {1758.90,-1722.20,-89.00,1812.60,-1577.50,110.90}},
  349.     {"Los Flores",                  {2581.70,-1454.30,-89.00,2632.80,-1393.40,110.90}},
  350.     {"Los Flores",                  {2581.70,-1393.40,-89.00,2747.70,-1135.00,110.90}},
  351.     {"Los Santos International",    {1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90}},
  352.     {"Los Santos International",    {1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90}},
  353.     {"Los Santos International",    {1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90}},
  354.     {"Los Santos International",    {1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90}},
  355.     {"Los Santos International",    {1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90}},
  356.     {"Los Santos International",    {2051.60,-2597.20,-39.00,2152.40,-2394.30,60.90}},
  357.     {"Marina",                      {647.70,-1804.20,-89.00,851.40,-1577.50,110.90}},
  358.     {"Marina",                      {647.70,-1577.50,-89.00,807.90,-1416.20,110.90}},
  359.     {"Marina",                      {807.90,-1577.50,-89.00,926.90,-1416.20,110.90}},
  360.     {"Market",                      {787.40,-1416.20,-89.00,1072.60,-1310.20,110.90}},
  361.     {"Market",                      {952.60,-1310.20,-89.00,1072.60,-1130.80,110.90}},
  362.     {"Market",                      {1072.60,-1416.20,-89.00,1370.80,-1130.80,110.90}},
  363.     {"Market",                      {926.90,-1577.50,-89.00,1370.80,-1416.20,110.90}},
  364.     {"Market Station",              {787.40,-1410.90,-34.10,866.00,-1310.20,65.80}},
  365.     {"Martin Bridge",               {-222.10,293.30,0.00,-122.10,476.40,200.00}},
  366.     {"Missionary Hill",             {-2994.40,-811.20,0.00,-2178.60,-430.20,200.00}},
  367.     {"Montgomery",                  {1119.50,119.50,-3.00,1451.40,493.30,200.00}},
  368.     {"Montgomery",                  {1451.40,347.40,-6.10,1582.40,420.80,200.00}},
  369.     {"Montgomery Intersection",     {1546.60,208.10,0.00,1745.80,347.40,200.00}},
  370.     {"Montgomery Intersection",     {1582.40,347.40,0.00,1664.60,401.70,200.00}},
  371.     {"Mulholland",                  {1414.00,-768.00,-89.00,1667.60,-452.40,110.90}},
  372.     {"Mulholland",                  {1281.10,-452.40,-89.00,1641.10,-290.90,110.90}},
  373.     {"Mulholland",                  {1269.10,-768.00,-89.00,1414.00,-452.40,110.90}},
  374.     {"Mulholland",                  {1357.00,-926.90,-89.00,1463.90,-768.00,110.90}},
  375.     {"Mulholland",                  {1318.10,-910.10,-89.00,1357.00,-768.00,110.90}},
  376.     {"Mulholland",                  {1169.10,-910.10,-89.00,1318.10,-768.00,110.90}},
  377.     {"Mulholland",                  {768.60,-954.60,-89.00,952.60,-860.60,110.90}},
  378.     {"Mulholland",                  {687.80,-860.60,-89.00,911.80,-768.00,110.90}},
  379.     {"Mulholland",                  {737.50,-768.00,-89.00,1142.20,-674.80,110.90}},
  380.     {"Mulholland",                  {1096.40,-910.10,-89.00,1169.10,-768.00,110.90}},
  381.     {"Mulholland",                  {952.60,-937.10,-89.00,1096.40,-860.60,110.90}},
  382.     {"Mulholland",                  {911.80,-860.60,-89.00,1096.40,-768.00,110.90}},
  383.     {"Mulholland",                  {861.00,-674.80,-89.00,1156.50,-600.80,110.90}},
  384.     {"Mulholland Intersection",     {1463.90,-1150.80,-89.00,1812.60,-768.00,110.90}},
  385.     {"North Rock",                  {2285.30,-768.00,0.00,2770.50,-269.70,200.00}},
  386.     {"Ocean Docks",                 {2373.70,-2697.00,-89.00,2809.20,-2330.40,110.90}},
  387.     {"Ocean Docks",                 {2201.80,-2418.30,-89.00,2324.00,-2095.00,110.90}},
  388.     {"Ocean Docks",                 {2324.00,-2302.30,-89.00,2703.50,-2145.10,110.90}},
  389.     {"Ocean Docks",                 {2089.00,-2394.30,-89.00,2201.80,-2235.80,110.90}},
  390.     {"Ocean Docks",                 {2201.80,-2730.80,-89.00,2324.00,-2418.30,110.90}},
  391.     {"Ocean Docks",                 {2703.50,-2302.30,-89.00,2959.30,-2126.90,110.90}},
  392.     {"Ocean Docks",                 {2324.00,-2145.10,-89.00,2703.50,-2059.20,110.90}},
  393.     {"Ocean Flats",                 {-2994.40,277.40,-9.10,-2867.80,458.40,200.00}},
  394.     {"Ocean Flats",                 {-2994.40,-222.50,-0.00,-2593.40,277.40,200.00}},
  395.     {"Ocean Flats",                 {-2994.40,-430.20,-0.00,-2831.80,-222.50,200.00}},
  396.     {"Octane Springs",              {338.60,1228.50,0.00,664.30,1655.00,200.00}},
  397.     {"Old Venturas Strip",          {2162.30,2012.10,-89.00,2685.10,2202.70,110.90}},
  398.     {"Palisades",                   {-2994.40,458.40,-6.10,-2741.00,1339.60,200.00}},
  399.     {"Palomino Creek",              {2160.20,-149.00,0.00,2576.90,228.30,200.00}},
  400.     {"Paradiso",                    {-2741.00,793.40,-6.10,-2533.00,1268.40,200.00}},
  401.     {"Pershing Square",             {1440.90,-1722.20,-89.00,1583.50,-1577.50,110.90}},
  402.     {"Pilgrim",                     {2437.30,1383.20,-89.00,2624.40,1783.20,110.90}},
  403.     {"Pilgrim",                     {2624.40,1383.20,-89.00,2685.10,1783.20,110.90}},
  404.     {"Pilson Intersection",         {1098.30,2243.20,-89.00,1377.30,2507.20,110.90}},
  405.     {"Pirates in Men's Pants",      {1817.30,1469.20,-89.00,2027.40,1703.20,110.90}},
  406.     {"Playa del Seville",           {2703.50,-2126.90,-89.00,2959.30,-1852.80,110.90}},
  407.     {"Prickle Pine",                {1534.50,2583.20,-89.00,1848.40,2863.20,110.90}},
  408.     {"Prickle Pine",                {1117.40,2507.20,-89.00,1534.50,2723.20,110.90}},
  409.     {"Prickle Pine",                {1848.40,2553.40,-89.00,1938.80,2863.20,110.90}},
  410.     {"Prickle Pine",                {1938.80,2624.20,-89.00,2121.40,2861.50,110.90}},
  411.     {"Queens",                      {-2533.00,458.40,0.00,-2329.30,578.30,200.00}},
  412.     {"Queens",                      {-2593.40,54.70,0.00,-2411.20,458.40,200.00}},
  413.     {"Queens",                      {-2411.20,373.50,0.00,-2253.50,458.40,200.00}},
  414.     {"Randolph Industrial Estate",  {1558.00,596.30,-89.00,1823.00,823.20,110.90}},
  415.     {"Redsands East",               {1817.30,2011.80,-89.00,2106.70,2202.70,110.90}},
  416.     {"Redsands East",               {1817.30,2202.70,-89.00,2011.90,2342.80,110.90}},
  417.     {"Redsands East",               {1848.40,2342.80,-89.00,2011.90,2478.40,110.90}},
  418.     {"Redsands West",               {1236.60,1883.10,-89.00,1777.30,2142.80,110.90}},
  419.     {"Redsands West",               {1297.40,2142.80,-89.00,1777.30,2243.20,110.90}},
  420.     {"Redsands West",               {1377.30,2243.20,-89.00,1704.50,2433.20,110.90}},
  421.     {"Redsands West",               {1704.50,2243.20,-89.00,1777.30,2342.80,110.90}},
  422.     {"Regular Tom",                 {-405.70,1712.80,-3.00,-276.70,1892.70,200.00}},
  423.     {"Richman",                     {647.50,-1118.20,-89.00,787.40,-954.60,110.90}},
  424.     {"Richman",                     {647.50,-954.60,-89.00,768.60,-860.60,110.90}},
  425.     {"Richman",                     {225.10,-1369.60,-89.00,334.50,-1292.00,110.90}},
  426.     {"Richman",                     {225.10,-1292.00,-89.00,466.20,-1235.00,110.90}},
  427.     {"Richman",                     {72.60,-1404.90,-89.00,225.10,-1235.00,110.90}},
  428.     {"Richman",                     {72.60,-1235.00,-89.00,321.30,-1008.10,110.90}},
  429.     {"Richman",                     {321.30,-1235.00,-89.00,647.50,-1044.00,110.90}},
  430.     {"Richman",                     {321.30,-1044.00,-89.00,647.50,-860.60,110.90}},
  431.     {"Richman",                     {321.30,-860.60,-89.00,687.80,-768.00,110.90}},
  432.     {"Richman",                     {321.30,-768.00,-89.00,700.70,-674.80,110.90}},
  433.     {"Robada Intersection",         {-1119.00,1178.90,-89.00,-862.00,1351.40,110.90}},
  434.     {"Roca Escalante",              {2237.40,2202.70,-89.00,2536.40,2542.50,110.90}},
  435.     {"Roca Escalante",              {2536.40,2202.70,-89.00,2625.10,2442.50,110.90}},
  436.     {"Rockshore East",              {2537.30,676.50,-89.00,2902.30,943.20,110.90}},
  437.     {"Rockshore West",              {1997.20,596.30,-89.00,2377.30,823.20,110.90}},
  438.     {"Rockshore West",              {2377.30,596.30,-89.00,2537.30,788.80,110.90}},
  439.     {"Rodeo",                       {72.60,-1684.60,-89.00,225.10,-1544.10,110.90}},
  440.     {"Rodeo",                       {72.60,-1544.10,-89.00,225.10,-1404.90,110.90}},
  441.     {"Rodeo",                       {225.10,-1684.60,-89.00,312.80,-1501.90,110.90}},
  442.     {"Rodeo",                       {225.10,-1501.90,-89.00,334.50,-1369.60,110.90}},
  443.     {"Rodeo",                       {334.50,-1501.90,-89.00,422.60,-1406.00,110.90}},
  444.     {"Rodeo",                       {312.80,-1684.60,-89.00,422.60,-1501.90,110.90}},
  445.     {"Rodeo",                       {422.60,-1684.60,-89.00,558.00,-1570.20,110.90}},
  446.     {"Rodeo",                       {558.00,-1684.60,-89.00,647.50,-1384.90,110.90}},
  447.     {"Rodeo",                       {466.20,-1570.20,-89.00,558.00,-1385.00,110.90}},
  448.     {"Rodeo",                       {422.60,-1570.20,-89.00,466.20,-1406.00,110.90}},
  449.     {"Rodeo",                       {466.20,-1385.00,-89.00,647.50,-1235.00,110.90}},
  450.     {"Rodeo",                       {334.50,-1406.00,-89.00,466.20,-1292.00,110.90}},
  451.     {"Royal Casino",                {2087.30,1383.20,-89.00,2437.30,1543.20,110.90}},
  452.     {"San Andreas Sound",           {2450.30,385.50,-100.00,2759.20,562.30,200.00}},
  453.     {"Santa Flora",                 {-2741.00,458.40,-7.60,-2533.00,793.40,200.00}},
  454.     {"Santa Maria Beach",           {342.60,-2173.20,-89.00,647.70,-1684.60,110.90}},
  455.     {"Santa Maria Beach",           {72.60,-2173.20,-89.00,342.60,-1684.60,110.90}},
  456.     {"Shady Cabin",                 {-1632.80,-2263.40,-3.00,-1601.30,-2231.70,200.00}},
  457.     {"Shady Creeks",                {-1820.60,-2643.60,-8.00,-1226.70,-1771.60,200.00}},
  458.     {"Shady Creeks",                {-2030.10,-2174.80,-6.10,-1820.60,-1771.60,200.00}},
  459.     {"Sobell Rail Yards",           {2749.90,1548.90,-89.00,2923.30,1937.20,110.90}},
  460.     {"Spinybed",                    {2121.40,2663.10,-89.00,2498.20,2861.50,110.90}},
  461.     {"Starfish Casino",             {2437.30,1783.20,-89.00,2685.10,2012.10,110.90}},
  462.     {"Starfish Casino",             {2437.30,1858.10,-39.00,2495.00,1970.80,60.90}},
  463.     {"Starfish Casino",             {2162.30,1883.20,-89.00,2437.30,2012.10,110.90}},
  464.     {"Temple",                      {1252.30,-1130.80,-89.00,1378.30,-1026.30,110.90}},
  465.     {"Temple",                      {1252.30,-1026.30,-89.00,1391.00,-926.90,110.90}},
  466.     {"Temple",                      {1252.30,-926.90,-89.00,1357.00,-910.10,110.90}},
  467.     {"Temple",                      {952.60,-1130.80,-89.00,1096.40,-937.10,110.90}},
  468.     {"Temple",                      {1096.40,-1130.80,-89.00,1252.30,-1026.30,110.90}},
  469.     {"Temple",                      {1096.40,-1026.30,-89.00,1252.30,-910.10,110.90}},
  470.     {"The Camel's Toe",             {2087.30,1203.20,-89.00,2640.40,1383.20,110.90}},
  471.     {"The Clown's Pocket",          {2162.30,1783.20,-89.00,2437.30,1883.20,110.90}},
  472.     {"The Emerald Isle",            {2011.90,2202.70,-89.00,2237.40,2508.20,110.90}},
  473.     {"The Farm",                    {-1209.60,-1317.10,114.90,-908.10,-787.30,251.90}},
  474.     {"The Four Dragons Casino",     {1817.30,863.20,-89.00,2027.30,1083.20,110.90}},
  475.     {"The High Roller",             {1817.30,1283.20,-89.00,2027.30,1469.20,110.90}},
  476.     {"The Mako Span",               {1664.60,401.70,0.00,1785.10,567.20,200.00}},
  477.     {"The Panopticon",              {-947.90,-304.30,-1.10,-319.60,327.00,200.00}},
  478.     {"The Pink Swan",               {1817.30,1083.20,-89.00,2027.30,1283.20,110.90}},
  479.     {"The Sherman Dam",             {-968.70,1929.40,-3.00,-481.10,2155.20,200.00}},
  480.     {"The Strip",                   {2027.40,863.20,-89.00,2087.30,1703.20,110.90}},
  481.     {"The Strip",                   {2106.70,1863.20,-89.00,2162.30,2202.70,110.90}},
  482.     {"The Strip",                   {2027.40,1783.20,-89.00,2162.30,1863.20,110.90}},
  483.     {"The Strip",                   {2027.40,1703.20,-89.00,2137.40,1783.20,110.90}},
  484.     {"The Visage",                  {1817.30,1863.20,-89.00,2106.70,2011.80,110.90}},
  485.     {"The Visage",                  {1817.30,1703.20,-89.00,2027.40,1863.20,110.90}},
  486.     {"Unity Station",               {1692.60,-1971.80,-20.40,1812.60,-1932.80,79.50}},
  487.     {"Valle Ocultado",              {-936.60,2611.40,2.00,-715.90,2847.90,200.00}},
  488.     {"Verdant Bluffs",              {930.20,-2488.40,-89.00,1249.60,-2006.70,110.90}},
  489.     {"Verdant Bluffs",              {1073.20,-2006.70,-89.00,1249.60,-1842.20,110.90}},
  490.     {"Verdant Bluffs",              {1249.60,-2179.20,-89.00,1692.60,-1842.20,110.90}},
  491.     {"Verdant Meadows",             {37.00,2337.10,-3.00,435.90,2677.90,200.00}},
  492.     {"Verona Beach",                {647.70,-2173.20,-89.00,930.20,-1804.20,110.90}},
  493.     {"Verona Beach",                {930.20,-2006.70,-89.00,1073.20,-1804.20,110.90}},
  494.     {"Verona Beach",                {851.40,-1804.20,-89.00,1046.10,-1577.50,110.90}},
  495.     {"Verona Beach",                {1161.50,-1722.20,-89.00,1323.90,-1577.50,110.90}},
  496.     {"Verona Beach",                {1046.10,-1722.20,-89.00,1161.50,-1577.50,110.90}},
  497.     {"Vinewood",                    {787.40,-1310.20,-89.00,952.60,-1130.80,110.90}},
  498.     {"Vinewood",                    {787.40,-1130.80,-89.00,952.60,-954.60,110.90}},
  499.     {"Vinewood",                    {647.50,-1227.20,-89.00,787.40,-1118.20,110.90}},
  500.     {"Vinewood",                    {647.70,-1416.20,-89.00,787.40,-1227.20,110.90}},
  501.     {"Whitewood Estates",           {883.30,1726.20,-89.00,1098.30,2507.20,110.90}},
  502.     {"Whitewood Estates",           {1098.30,1726.20,-89.00,1197.30,2243.20,110.90}},
  503.     {"Willowfield",                 {1970.60,-2179.20,-89.00,2089.00,-1852.80,110.90}},
  504.     {"Willowfield",                 {2089.00,-2235.80,-89.00,2201.80,-1989.90,110.90}},
  505.     {"Willowfield",                 {2089.00,-1989.90,-89.00,2324.00,-1852.80,110.90}},
  506.     {"Willowfield",                 {2201.80,-2095.00,-89.00,2324.00,-1989.90,110.90}},
  507.     {"Willowfield",                 {2541.70,-1941.40,-89.00,2703.50,-1852.80,110.90}},
  508.     {"Willowfield",                 {2324.00,-2059.20,-89.00,2541.70,-1852.80,110.90}},
  509.     {"Willowfield",                 {2541.70,-2059.20,-89.00,2703.50,-1941.40,110.90}},
  510.     {"Yellow Bell Station",         {1377.40,2600.40,-21.90,1492.40,2687.30,78.00}},
  511.     {"Los Santos",                  {44.60,-2892.90,-242.90,2997.00,-768.00,900.00}},
  512.     {"Las Venturas",                {869.40,596.30,-242.90,2997.00,2993.80,900.00}},
  513.     {"Bone County",                 {-480.50,596.30,-242.90,869.40,2993.80,900.00}},
  514.     {"Tierra Robada",               {-2997.40,1659.60,-242.90,-480.50,2993.80,900.00}},
  515.     {"Tierra Robada",               {-1213.90,596.30,-242.90,-480.50,1659.60,900.00}},
  516.     {"San Fierro",                  {-2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00}},
  517.     {"Red County",                  {-1213.90,-768.00,-242.90,2997.00,596.30,900.00}},
  518.     {"Flint County",                {-1213.90,-2892.90,-242.90,44.60,-768.00,900.00}},
  519.     {"Whetstone",                   {-2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00}}
  520. };
  521.  
  522. new CarName[212][] = {
  523.     "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus",
  524.     "Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Mr Whoopee","BF Injection",
  525.     "Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie",
  526.     "Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder",
  527.     "Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider",
  528.     "Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR3 50","Walton","Regina",
  529.     "Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood",
  530.     "Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa","RC Goblin","Hotring Racer A","Hotring Racer B",
  531.     "Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain",
  532.     "Nebula","Majestic","Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck",
  533.     "Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover",
  534.     "Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster A",
  535.     "Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer",
  536.     "Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer A","Emperor",
  537.     "Wayfarer","Euros","Hotdog","Club","Trailer B","Trailer C","Andromada","Dodo","RC Cam","Launch","Police Car (LSPD)","Police Car (SFPD)",
  538.     "Police Car (LVPD)","Police Ranger","Picador","S.W.A.T. Van","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer A","Luggage Trailer B",
  539.     "Stair Trailer","Boxville","Farm Plow","Utility Trailer"
  540. };
  541.  
  542. /*[!]======================================================================[!]*/
  543. public OnGameModeInit()
  544. {
  545.     SetGameModeText("Humans Vs Zombies");
  546.     SendRconCommand("mapname Whetstone");
  547.     SendRconCommand("hostname The walking dead|0.3x|V: 1.0|");
  548.     DisableInteriorEnterExits();
  549.     UsePlayerPedAnims();
  550.     EnableStuntBonusForAll(0);
  551.  
  552.     SetTimer("OnPlayerUpDateEx", 1000, true);
  553.  
  554.     SetWeather( 9 );
  555.     SetTimer("HorasMinutos",1 * 60 * 1000, true);
  556.     for(new i; i < sizeof( Humano ); i++){AddPlayerClass( Humano[i], 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);}
  557.     for(new i; i < sizeof( Zombie ); i++){AddPlayerClass( Zombie[i], 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);}
  558.  
  559.     Create3DTextLabel( ""LA"ShotGun: $2000\n"LA"M4: $2200\n"LA"AK-47: $2500\n"LA"Shiper Rifle: $5000",-1,310.6954,-165.1933,999.5938+0.75,30.0,0,1);
  560.     Create3DTextLabel( ""KK"9mm: $600\n"KK"9mm Silenciada: $800\n"KK"Desert Eagle: $1200\n"KK"Rifle County: $3500",-1,314.8313,-165.2574,999.5938+0.75,30.0,0,1);
  561.     Create3DTextLabel( ""BC"Uzi: $1500\n"BC"MP5: $1600\n"BC"Tec-90: $1200\n"BC"Chaleco: $200",-1,317.6752,-161.3642,999.5938+0.75,30.0,0,1);
  562.     Create3DTextLabel( ""LL"Para comprar un arma colocate \n"LL"frente de la misma y presione la letra '"KK"Y"LL"'",-1,311.4319,-168.8823,999.5938+0.75,30.0,0,1);
  563.  
  564.     AddStaticPickup( 1318 , 1 , -1623.8755 , -2693.77340 , 48.7427 , -1);
  565.     AddStaticPickup( 1318 , 1 , 316.258087 , -169.656600 , 999.601 , -1);
  566.     AddStaticPickup( 1318 , 1 , -1561.8456 , -2733.40230 , 48.7435 , -1);
  567.     AddStaticPickup( 1318 , 1 , 501.980987 , -69.1501990 , 998.757 , -1);
  568.     AddStaticPickup( 1239 , 1 , 498.404700 , -75.7382000 , 998.757 , -1);
  569.  
  570.     TextdrawGlobal[1] = TextDrawCreate(329.000000, 344.000000, "Cesar_Google Esta robando el aereopuerto abandonado de livery city");
  571.     TextDrawAlignment(TextdrawGlobal[1], 2);
  572.     TextDrawBackgroundColor(TextdrawGlobal[1], 255);
  573.     TextDrawFont(TextdrawGlobal[1], 1);
  574.     TextDrawLetterSize(TextdrawGlobal[1], 0.229999, 1.200000);
  575.     TextDrawColor(TextdrawGlobal[1], -1);
  576.     TextDrawSetOutline(TextdrawGlobal[1], 1);
  577.     TextDrawSetProportional(TextdrawGlobal[1], 1);
  578.  
  579.     TextdrawGlobal[2] = TextDrawCreate(329.000000, 362.000000, "Cesar_Google Esta robando el aereopuerto abandonado de livery city");
  580.     TextDrawAlignment(TextdrawGlobal[2], 2);
  581.     TextDrawBackgroundColor(TextdrawGlobal[2], 255);
  582.     TextDrawFont(TextdrawGlobal[2], 1);
  583.     TextDrawLetterSize(TextdrawGlobal[2], 0.229999, 1.200000);
  584.     TextDrawColor(TextdrawGlobal[2], -1);
  585.     TextDrawSetOutline(TextdrawGlobal[2], 1);
  586.     TextDrawSetProportional(TextdrawGlobal[2], 1);
  587.  
  588.     TextdrawGlobal[3] = TextDrawCreate(329.000000, 380.000000, "Cesar_Google Esta robando el aereopuerto abandonado de livery city");
  589.     TextDrawAlignment(TextdrawGlobal[3], 2);
  590.     TextDrawBackgroundColor(TextdrawGlobal[3], 255);
  591.     TextDrawFont(TextdrawGlobal[3], 1);
  592.     TextDrawLetterSize(TextdrawGlobal[3], 0.229999, 1.200000);
  593.     TextDrawColor(TextdrawGlobal[3], -1);
  594.     TextDrawSetOutline(TextdrawGlobal[3], 1);
  595.     TextDrawSetProportional(TextdrawGlobal[3], 1);
  596.  
  597.     TextdrawGlobal[0] = TextDrawCreate(329.000000, 396.000000, "Cesar_Google Esta robando el aereopuerto abandonado de livery city");
  598.     TextDrawAlignment(TextdrawGlobal[0], 2);
  599.     TextDrawBackgroundColor(TextdrawGlobal[0], 255);
  600.     TextDrawFont(TextdrawGlobal[0], 1);
  601.     TextDrawLetterSize(TextdrawGlobal[0], 0.229999, 1.200000);
  602.     TextDrawColor(TextdrawGlobal[0], -1);
  603.     TextDrawSetOutline(TextdrawGlobal[0], 1);
  604.     TextDrawSetProportional(TextdrawGlobal[0], 1);
  605.  
  606.     Objectid[0] = CreateDynamicObject(980,-1636.6999512,-2709.8999023,50.5000000,0.0000000,0.0000000,317.9992676);
  607.     Objectid[1] = CreateDynamicObject(980,-1541.1999512,-2777.3999023,49.2000008,0.0000000,0.0000000,326.2492676); //object(airportgate) (4)
  608.  
  609.     AddStaticVehicleEx(470,-1545.3000488,-2747.8999023,48.5999985,352.5000000,95,10,15); //Patriot
  610.     AddStaticVehicleEx(470,-1543.7998047,-2740.0996094,48.5999985,352.4963379,95,10,15); //Patriot
  611.     AddStaticVehicleEx(470,-1540.8000488,-2750.8999023,48.5999985,352.4963379,95,10,15); //Patriot
  612.     AddStaticVehicleEx(470,-1536.0000000,-2753.1000977,48.5999985,352.4963379,95,10,15); //Patriot
  613.     AddStaticVehicleEx(470,-1539.0996094,-2742.8994141,48.5999985,352.4963379,95,10,15); //Patriot
  614.     AddStaticVehicleEx(470,-1534.7998047,-2744.5996094,48.5999985,352.4963379,95,10,15); //Patriot
  615.     AddStaticVehicleEx(500,-1561.5999756,-2759.6000977,48.7999992,325.5000000,88,89,15); //Mesa
  616.     AddStaticVehicleEx(500,-1564.0999756,-2758.0000000,48.7999992,325.4974365,88,89,15); //Mesa
  617.     AddStaticVehicleEx(500,-1566.6999512,-2756.1000977,48.7999992,325.4974365,88,89,15); //Mesa
  618.     AddStaticVehicleEx(500,-1569.1999512,-2754.3999023,48.7999992,325.4974365,88,89,15); //Mesa
  619.     AddStaticVehicleEx(500,-1571.8000488,-2752.6999512,48.7999992,325.4974365,88,89,15); //Mesa
  620.     AddStaticVehicleEx(500,-1574.1999512,-2751.1000977,48.7999992,325.4974365,88,89,15); //Mesa
  621.     AddStaticVehicleEx(495,-1577.8000488,-2747.8999023,49.0999985,325.5000000,134,68,15); //Sandking
  622.     AddStaticVehicleEx(495,-1580.5999756,-2746.0000000,49.0999985,325.4974365,134,68,15); //Sandking
  623.     AddStaticVehicleEx(495,-1583.5000000,-2744.1000977,49.0999985,325.4974365,134,68,15); //Sandking
  624.     AddStaticVehicleEx(495,-1586.5000000,-2742.0000000,49.0999985,325.4974365,134,68,15); //Sandking
  625.     AddStaticVehicleEx(468,-1523.6999512,-2749.3999023,48.2999992,351.7500000,132,4,15); //Sanchez
  626.     AddStaticVehicleEx(468,-1524.9000244,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  627.     AddStaticVehicleEx(468,-1526.0000000,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  628.     AddStaticVehicleEx(468,-1527.0999756,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  629.     AddStaticVehicleEx(468,-1528.6999512,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  630.     AddStaticVehicleEx(468,-1529.8000488,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  631.     AddStaticVehicleEx(468,-1530.8000488,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  632.     AddStaticVehicleEx(468,-1532.0000000,-2749.3999023,48.2999992,351.7492676,132,4,15); //Sanchez
  633.     AddStaticVehicleEx(437,-1580.5999756,-2717.0000000,48.7999992,56.2500000,100,104,15); //Coach
  634.     AddStaticVehicleEx(437,-1582.9000244,-2720.5000000,48.7999992,56.2500000,100,104,15); //Coach
  635.  
  636.     CreateDynamicObject(3749,-1541.5000000,-2777.8000488,52.2999992,0.0000000,0.0000000,324.7500000); //object(clubgate01_lax) (1)
  637.     CreateDynamicObject(3749,-1636.0999756,-2709.3000488,53.5000000,0.0000000,0.0000000,317.9948730); //object(clubgate01_lax) (2)
  638.     CreateDynamicObject(8209,-1589.5000000,-2744.0000000,50.2000008,0.0000000,0.0000000,144.7500305); //object(vgsselecfence11) (1)
  639.     CreateDynamicObject(987,-1527.1999512,-2770.8999023,47.5000000,0.0000000,0.0000000,233.2500305); //object(elecfence_bar) (1)
  640.     CreateDynamicObject(987,-1520.8000488,-2760.8000488,47.5000000,0.0000000,0.0000000,236.9952393); //object(elecfence_bar) (2)
  641.     CreateDynamicObject(987,-1514.5999756,-2751.3999023,47.5000000,0.0000000,0.0000000,236.9915924); //object(elecfence_bar) (3)
  642.     CreateDynamicObject(987,-1524.1999512,-2743.8999023,47.5000000,0.0000000,0.0000000,321.7416077); //object(elecfence_bar) (4)
  643.     CreateDynamicObject(987,-1533.5999756,-2736.5000000,47.5000000,0.0000000,0.0000000,321.7401123); //object(elecfence_bar) (5)
  644.     CreateDynamicObject(987,-1543.0999756,-2729.1000977,47.5000000,0.0000000,0.0000000,321.7401123); //object(elecfence_bar) (6)
  645.     CreateDynamicObject(987,-1552.1999512,-2721.8999023,47.5000000,0.0000000,0.0000000,321.7401123); //object(elecfence_bar) (7)
  646.     CreateDynamicObject(987,-1560.1999512,-2715.3999023,47.5000000,0.0000000,0.0000000,320.9901123); //object(elecfence_bar) (8)
  647.     CreateDynamicObject(987,-1571.5999756,-2712.1999512,47.5000000,0.0000000,0.0000000,344.9868164); //object(elecfence_bar) (9)
  648.     CreateDynamicObject(987,-1582.4000244,-2707.1000977,47.5000000,0.0000000,0.0000000,335.2313232); //object(elecfence_bar) (10)
  649.     CreateDynamicObject(987,-1593.1999512,-2702.1000977,47.5000000,0.0000000,0.0000000,335.2313232); //object(elecfence_bar) (11)
  650.     CreateDynamicObject(987,-1604.0000000,-2697.1000977,47.5000000,0.0000000,0.0000000,335.2313232); //object(elecfence_bar) (12)
  651.     CreateDynamicObject(987,-1614.8000488,-2692.1000977,47.5000000,0.0000000,0.0000000,335.2313232); //object(elecfence_bar) (13)
  652.     CreateDynamicObject(987,-1624.8000488,-2685.6999512,47.5000000,0.0000000,0.0000000,327.7313232); //object(elecfence_bar) (14)
  653.     CreateDynamicObject(987,-1633.0999756,-2694.1999512,47.5000000,0.0000000,0.0000000,45.7283936); //object(elecfence_bar) (15)
  654.     CreateDynamicObject(987,-1641.5999756,-2702.5000000,47.5000000,0.0000000,0.0000000,44.9750977); //object(elecfence_bar) (16)
  655.     CreateDynamicObject(1281,-1569.6999512,-2724.1000977,51.0000000,2.0046692,332.9821167,49.0219116); //object(parktable1) (1)
  656.     CreateDynamicObject(1281,-1563.9000244,-2728.1999512,51.0000000,359.9983521,330.7469482,54.7448120); //object(parktable1) (2)
  657.     CreateDynamicObject(1281,-1557.6999512,-2732.6999512,51.0000000,0.6326904,327.7447510,52.1449890); //object(parktable1) (3)
  658.     CreateDynamicObject(1281,-1552.1999512,-2736.1000977,51.0000000,2.0289917,334.4797974,48.9641113); //object(parktable1) (4)
  659.     CreateDynamicObject(1281,-1564.5999756,-2732.1000977,48.7999992,0.0000000,270.0000000,54.7498169); //object(parktable1) (5)
  660.     CreateDynamicObject(3593,-1601.6999512,-2753.3999023,48.2999992,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (1)
  661.     CreateDynamicObject(3593,-1531.6999512,-2803.1000977,46.7000008,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (2)
  662.     CreateDynamicObject(3593,-1657.3000488,-2714.5000000,48.2999992,0.0000000,0.0000000,0.0000000); //object(la_fuckcar2) (3)
  663.     CreateDynamicObject(3594,-1613.8000488,-2759.6000977,46.5999985,0.0000000,0.0000000,0.0000000); //object(la_fuckcar1) (1)
  664.     CreateDynamicObject(2677,-1595.9000244,-2758.3999023,47.7999992,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_7) (1)
  665.     CreateDynamicObject(2676,-1595.5000000,-2746.1999512,47.7000008,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8) (1)
  666.     CreateDynamicObject(2675,-1602.5000000,-2742.0000000,47.7999992,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6) (1)
  667.     CreateDynamicObject(2674,-1587.3000488,-2752.5000000,47.5000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2) (1)
  668.     CreateDynamicObject(2675,-1604.4000244,-2775.3000488,46.0000000,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_6) (2)
  669.     CreateDynamicObject(2674,-1606.5999756,-2766.6000977,45.9000015,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_2) (2)
  670.     CreateDynamicObject(2672,-1585.4000244,-2764.8000488,47.5999985,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_4) (1)
  671.     CreateDynamicObject(1328,-1601.5999756,-2783.3999023,46.5999985,0.0000000,0.0000000,0.0000000); //object(binnt10_la) (1)
  672.     CreateDynamicObject(12957,-1595.1999512,-2767.3000488,47.4000015,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01) (1)
  673.     CreateDynamicObject(12961,-1657.8000488,-2210.1999512,31.8999996,0.0000000,0.0000000,0.0000000); //object(sw_hedstones) (3)
  674.     CreateDynamicObject(1369,-1641.0999756,-2238.8999023,34.2000008,0.0000000,0.0000000,0.0000000); //object(cj_wheelchair1) (1)
  675.     CreateDynamicObject(2905,-1630.1999512,-2236.3999023,30.6000004,0.0000000,0.0000000,0.0000000); //object(kmb_deadleg) (1)
  676.     CreateDynamicObject(2906,-1631.3000488,-2236.8999023,30.6000004,0.0000000,0.0000000,0.0000000); //object(kmb_deadarm) (1)
  677.     CreateDynamicObject(2907,-1658.3000488,-2219.0000000,32.2999992,0.0000000,0.0000000,340.5000000); //object(kmb_deadtorso) (1)
  678.     CreateDynamicObject(2908,-1658.0999756,-2225.8000488,32.7999992,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (1)
  679.     CreateDynamicObject(3007,-1648.9000244,-2244.3999023,29.7999992,0.0000000,0.0000000,0.0000000); //object(chopcop_torso) (1)
  680.     CreateDynamicObject(2908,-1641.4000244,-2243.6000977,30.6000004,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (2)
  681.     CreateDynamicObject(2908,-1652.9000244,-2243.1999512,30.5000000,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (3)
  682.     CreateDynamicObject(12961,-1657.8000488,-2200.8000488,32.5000000,0.0000000,0.0000000,0.0000000); //object(sw_hedstones) (5)
  683.     CreateDynamicObject(2907,-1632.3994141,-2237.6992188,30.6000004,0.0000000,0.0000000,0.0000000); //object(kmb_deadtorso) (2)
  684.     CreateDynamicObject(2907,-1644.6999512,-2228.5000000,29.2999992,0.0000000,0.0000000,0.0000000); //object(kmb_deadtorso) (3)
  685.     CreateDynamicObject(2907,-1649.6992188,-2227.2998047,29.6000004,0.0000000,0.0000000,0.0000000); //object(kmb_deadtorso) (4)
  686.     CreateDynamicObject(3092,-1651.1999512,-2235.0000000,28.8999996,277.5000000,0.0000000,25.5000000); //object(dead_tied_cop) (1)
  687.     CreateDynamicObject(3092,-1651.9000244,-2231.6999512,29.0000000,277.4981689,0.0000000,25.4992676); //object(dead_tied_cop) (2)
  688.     CreateDynamicObject(3092,-1650.0999756,-2231.1999512,29.6000004,277.4981689,0.0000000,25.4992676); //object(dead_tied_cop) (3)
  689.     CreateDynamicObject(3092,-1649.1999512,-2229.3000488,29.6000004,277.4981689,0.0000000,25.4992676); //object(dead_tied_cop) (4)
  690.     CreateDynamicObject(3092,-1644.1999512,-2230.6999512,29.6000004,277.4981689,0.0000000,25.4992676); //object(dead_tied_cop) (5)
  691.     CreateDynamicObject(3092,-1642.0000000,-2236.3999023,29.6000004,277.4981689,0.0000000,25.4992676); //object(dead_tied_cop) (6)
  692.     CreateDynamicObject(3098,-1646.6999512,-2220.3999023,32.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (1)
  693.     CreateDynamicObject(3098,-1646.6999512,-2224.0000000,32.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (2)
  694.     CreateDynamicObject(3098,-1644.3000488,-2224.0000000,32.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (3)
  695.     CreateDynamicObject(3098,-1644.3000488,-2220.6000977,32.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (4)
  696.     CreateDynamicObject(3098,-1642.6999512,-2223.8000488,32.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (5)
  697.     CreateDynamicObject(3098,-1642.6999512,-2223.8000488,36.4000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (6)
  698.     CreateDynamicObject(3098,-1642.6999512,-2223.8000488,39.7000008,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (7)
  699.     CreateDynamicObject(3098,-1645.5999756,-2223.8000488,39.7000008,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (8)
  700.     CreateDynamicObject(3098,-1645.5999756,-2223.8000488,35.9000015,0.0000000,0.0000000,0.0000000); //object(break_wall_1b) (9)
  701.     CreateDynamicObject(849,-1665.0000000,-2236.6999512,33.2000008,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_3) (1)
  702.     CreateDynamicObject(850,-1656.8000488,-2240.0000000,30.7999992,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_1) (1)
  703.     CreateDynamicObject(851,-1663.9000244,-2226.6999512,32.5000000,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_2) (1)
  704.     CreateDynamicObject(16442,-1657.4000244,-2225.3000488,32.2000008,0.0000000,0.0000000,0.0000000); //object(desn2_stripsigs1) (1)
  705.     CreateDynamicObject(2908,-1658.0999756,-2225.3000488,32.7999992,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (4)
  706.     CreateDynamicObject(2908,-1657.0999756,-2225.3000488,33.4000015,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (5)
  707.     CreateDynamicObject(2908,-1657.8000488,-2225.3000488,33.0000000,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (6)
  708.     CreateDynamicObject(2908,-1658.5000000,-2225.3000488,33.4000015,0.0000000,0.0000000,0.0000000); //object(kmb_deadhead) (7)
  709.     CreateDynamicObject(2908,-1657.9000244,-2225.3000488,33.0999985,0.0000000,0.0000000,0.7500000); //object(kmb_deadhead) (8)
  710.     CreateDynamicObject(2803,-1653.3000488,-2238.1000977,29.7000008,0.0000000,0.0000000,0.0000000); //object(cj_meat_bag_1) (1)
  711.     CreateDynamicObject(2803,-1643.1992188,-2229.3994141,29.6000004,0.0000000,0.0000000,0.0000000); //object(cj_meat_bag_1) (2)
  712.     CreateDynamicObject(2803,-1681.3000488,-2275.6000977,38.0999985,0.0000000,0.0000000,0.0000000); //object(cj_meat_bag_1) (3)
  713.     CreateDynamicObject(2803,-1671.5000000,-2269.1999512,36.2999992,0.0000000,0.0000000,0.0000000); //object(cj_meat_bag_1) (4)
  714.     CreateDynamicObject(12957,-1670.4000244,-2218.8999023,33.5000000,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01) (2)
  715.     CreateDynamicObject(12957,-1674.9000244,-2241.6000977,34.4000015,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01) (3)
  716.  
  717.     CreateDynamicObject(356,311.6000061,-162.3999939,999.5999756,276.4063721,159.3993530,250.2672729); //object(1)
  718.     CreateDynamicObject(355,310.5000000,-163.1999969,999.5999756,278.1065674,146.1935425,138.9589844); //object(2)
  719.     CreateDynamicObject(349,309.8999939,-162.6000061,999.5999756,84.6968384,261.8941650,200.1403198); //object(3)
  720.     CreateDynamicObject(358,310.5000000,-161.3999939,999.5999756,82.6160889,246.1438599,121.5330811); //object(4)
  721.     CreateDynamicObject(357,314.8999939,-161.5000000,999.5999756,83.5934448,290.4814453,79.1505127); //object(5)
  722.     CreateDynamicObject(348,314.2000122,-162.1999969,999.5999756,271.4998169,180.0000000,87.7500000); //object(6)
  723.     CreateDynamicObject(347,315.0000000,-163.1999969,999.5999756,281.4702148,11.3864746,11.1648560); //object(7)
  724.     CreateDynamicObject(346,315.8999939,-162.3999939,999.5999756,278.1066895,213.8062134,311.7905273); //object(8)
  725.     CreateDynamicObject(1242,319.1000061,-159.8000031,999.9000244,0.0000000,0.0000000,0.0000000); //object(bodyarmour) (1)
  726.     CreateDynamicObject(352,319.0000000,-163.3000031,999.7999878,271.4998169,180.0000000,77.2500000); //object(9)
  727.     CreateDynamicObject(353,318.8999939,-162.3999939,999.7999878,84.1447144,230.2736206,217.6237183); //object(10)
  728.     CreateDynamicObject(372,319.0000000,-160.8999939,999.7999878,83.8161926,345.9354248,104.7360229); //object(11)
  729.  
  730.     return 1;
  731. }
  732. /*[!]======================================================================[!]*/
  733. public OnGameModeExit()
  734. {
  735.     return 1;
  736. }
  737. /*[!]======================================================================[!]*/
  738. public OnPlayerRequestClass(playerid, classid)
  739. {
  740.  
  741.     switch( classid )
  742.     {
  743.         case 0,1,2,3,4,5,6,7,8,9,10:
  744.         {
  745.         SetPlayerCameraPos(playerid, -1564.243530, -2746.124755, 49.833274 );
  746.         SetPlayerCameraLookAt(playerid, -1561.370483, -2742.076171, 49.238334 );
  747.         Equipo[playerid] = Raza_Humana;
  748.         SetPlayerPosEx(playerid,-1557.8397,-2737.2100,48.7435,144.0719);
  749.         GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~__________~w~Humano", 1000, 6);
  750.         }
  751.         case 11,12,13,14,15,16,17,18,19,20:
  752.         {
  753.         SetPlayerCameraPos(playerid, -1851.936157, -1639.604370, 25.086112 );
  754.         SetPlayerCameraLookAt(playerid, -1853.789550, -1635.148681, 23.777824 );
  755.         Equipo[playerid] = Raza_Zombie;
  756.         SetPlayerPosEx(playerid, -1856.9889,-1629.3225,21.8975,177.0140);
  757.         GameTextForPlayer(playerid, "_~n~_~n~_~n~_~n~_~n~_~n~_~n~_~n~__________~r~Zombie", 1000, 6);
  758.         }
  759.    }
  760.  
  761.     return 1;
  762. }
  763. /*[!]======================================================================[!]*/
  764. public OnPlayerRequestSpawn(playerid)
  765. {
  766.  
  767.     return 1;
  768. }
  769. /*[!]======================================================================[!]*/
  770. public OnPlayerConnect(playerid)
  771. {
  772.     if(fexist(Usuario(playerid)))
  773.     {
  774.     INI_ParseFile(Usuario(playerid), "CargarUser_%s", .bExtra = true, .extra = playerid);
  775.     ShowPlayerDialog(playerid, Dialog_Login, DIALOG_STYLE_INPUT,""LL" Ingreso.",""KK"Su cuenta ya existe, Por favor escribe tu contraseña.","Ingresar","Salir");
  776.     }
  777.     else
  778.     {
  779.     ShowPlayerDialog(playerid, Dialog_Register, DIALOG_STYLE_INPUT,""LL" Registro...",""KK"Su cuenta no esta registrada, Por favor escribir una contraseña.","Register","Salir");
  780.     }
  781.  
  782.     MyTime[playerid] = SetTimerEx( "StatusFromPlayerTextDraw", 1000, true, "d", playerid);
  783.    
  784.     Textdraw0 = CreatePlayerTextDraw(playerid,606.000000, 401.000000, "hud:radar_datefood");
  785.     PlayerTextDrawAlignment(playerid,Textdraw0, 2);
  786.     PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
  787.     PlayerTextDrawFont(playerid,Textdraw0, 4);
  788.     PlayerTextDrawLetterSize(playerid,Textdraw0, 0.500000, 1.000000);
  789.     PlayerTextDrawColor(playerid,Textdraw0, 16711935);
  790.     PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
  791.     PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
  792.     PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
  793.     PlayerTextDrawUseBox(playerid,Textdraw0, 1);
  794.     PlayerTextDrawBoxColor(playerid,Textdraw0, 17);
  795.     PlayerTextDrawTextSize(playerid,Textdraw0, 20.000000, 20.000000);
  796.     PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
  797.  
  798.     Textdraw1 = CreatePlayerTextDraw(playerid,606.000000, 370.000000, "hud:radar_girlfriend");
  799.     PlayerTextDrawAlignment(playerid,Textdraw1, 2);
  800.     PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
  801.     PlayerTextDrawFont(playerid,Textdraw1, 4);
  802.     PlayerTextDrawLetterSize(playerid,Textdraw1, 0.500000, 1.000000);
  803.     PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
  804.     PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
  805.     PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
  806.     PlayerTextDrawUseBox(playerid,Textdraw1, 1);
  807.     PlayerTextDrawBoxColor(playerid,Textdraw1, 17);
  808.     PlayerTextDrawTextSize(playerid,Textdraw1, 20.000000, 20.000000);
  809.     PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
  810.  
  811.     Textdraw2 = CreatePlayerTextDraw(playerid,606.000000, 340.000000, "hud:radar_diner");
  812.     PlayerTextDrawAlignment(playerid,Textdraw2, 2);
  813.     PlayerTextDrawBackgroundColor(playerid,Textdraw2, 255);
  814.     PlayerTextDrawFont(playerid,Textdraw2, 4);
  815.     PlayerTextDrawLetterSize(playerid,Textdraw2, 0.500000, 1.000000);
  816.     PlayerTextDrawColor(playerid,Textdraw2, 16711935);
  817.     PlayerTextDrawSetOutline(playerid,Textdraw2, 0);
  818.     PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
  819.     PlayerTextDrawSetShadow(playerid,Textdraw2, 1);
  820.     PlayerTextDrawUseBox(playerid,Textdraw2, 1);
  821.     PlayerTextDrawBoxColor(playerid,Textdraw2, 17);
  822.     PlayerTextDrawTextSize(playerid,Textdraw2, 20.000000, 20.000000);
  823.     PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
  824.  
  825.     Textdraw3 = CreatePlayerTextDraw(playerid,587.000000, 23.000000, "~n~_~n~_~n~_");
  826.     PlayerTextDrawAlignment(playerid,Textdraw3, 2);
  827.     PlayerTextDrawBackgroundColor(playerid,Textdraw3, 255);
  828.     PlayerTextDrawFont(playerid,Textdraw3, 1);
  829.     PlayerTextDrawLetterSize(playerid,Textdraw3, 0.569999, 1.400000);
  830.     PlayerTextDrawColor(playerid,Textdraw3, -1);
  831.     PlayerTextDrawSetOutline(playerid,Textdraw3, 0);
  832.     PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
  833.     PlayerTextDrawSetShadow(playerid,Textdraw3, 1);
  834.     PlayerTextDrawUseBox(playerid,Textdraw3, 1);
  835.     PlayerTextDrawBoxColor(playerid,Textdraw3, 255);
  836.     PlayerTextDrawTextSize(playerid,Textdraw3, 5.000000, 77.000000);
  837.     PlayerTextDrawSetSelectable(playerid,Textdraw3, 0);
  838.  
  839.     Textdraw4 = CreatePlayerTextDraw(playerid,558.000000, 21.000000, "~g~~h~~h~~h~Debug Monitor");
  840.     PlayerTextDrawBackgroundColor(playerid,Textdraw4, 255);
  841.     PlayerTextDrawFont(playerid,Textdraw4, 1);
  842.     PlayerTextDrawLetterSize(playerid,Textdraw4, 0.250000, 1.100000);
  843.     PlayerTextDrawColor(playerid,Textdraw4, -1);
  844.     PlayerTextDrawSetOutline(playerid,Textdraw4, 0);
  845.     PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
  846.     PlayerTextDrawSetShadow(playerid,Textdraw4, 1);
  847.     PlayerTextDrawSetSelectable(playerid,Textdraw4, 0);
  848.  
  849.     Textdraw5 = CreatePlayerTextDraw(playerid,548.000000, 33.000000, "~r~Zombie Killed:~w~ 000~n~~b~~h~Human Killed:~w~ 000~n~~p~Time:~w~ 00:00:00~n~~y~~h~~h~Date:~w~ 00/00/0000");
  850.     PlayerTextDrawBackgroundColor(playerid,Textdraw5, 255);
  851.     PlayerTextDrawFont(playerid,Textdraw5, 1);
  852.     PlayerTextDrawLetterSize(playerid,Textdraw5, 0.250000, 1.100000);
  853.     PlayerTextDrawColor(playerid,Textdraw5, -1);
  854.     PlayerTextDrawSetOutline(playerid,Textdraw5, 0);
  855.     PlayerTextDrawSetProportional(playerid,Textdraw5, 1);
  856.     PlayerTextDrawSetShadow(playerid,Textdraw5, 1);
  857.     PlayerTextDrawSetSelectable(playerid,Textdraw5, 0);
  858.  
  859.     PlayerSpawnStats[ playerid ] = false;
  860.     EnteredDialog   [ playerid ] = false;
  861.  
  862.     PlayerTextDrawShow( playerid, Textdraw3);
  863.     PlayerTextDrawShow( playerid, Textdraw4);
  864.     PlayerTextDrawShow( playerid, Textdraw5);
  865.    
  866.     PlayerInfo[playerid][pCash]      = 0;
  867.     PlayerInfo[playerid][pAdmin]     = 0;
  868.     PlayerInfo[playerid][pKills]     = 0;
  869.     PlayerInfo[playerid][pDeaths]    = 0;
  870.     PlayerInfo[playerid][pMins]      = 0;
  871.     PlayerInfo[playerid][pHora]      = 0;
  872.     PlayerInfo[playerid][pSkills]    = 0;
  873.     PlayerInfo[playerid][pInfecct]   = 0;
  874.     PlayerInfo[playerid][pCuret]     = 0;
  875.  
  876.     BeberStats [ playerid ] = MAX_STATS;
  877.     ComidaStats[ playerid ] = MAX_STATS;
  878.  
  879.     Viruz[playerid] = 1;
  880.     SetPlayerColor(playerid, PLAT);
  881.     SetPlayerTime(playerid, 23, 0);
  882.  
  883.     SetPlayerCheckpoint(playerid, -1548.0659, -2733.6726, 48.7435, 1.0);
  884.     Create3DTextLabel( "Desinfectados", MainNaranja ,-1548.0659, -2733.6726, 48.7435+0.75,30.0,0,1);
  885.     RemoveBuildingForPlayer(playerid, 18105, 313, -164, 1000, 50.0);
  886.  
  887.     SendDeathMessage(INVALID_PLAYER_ID, playerid, 200);
  888.     for(new i; i < 15; i++){SendClientMessage(playerid, LARC, " ");}
  889.     SendClientMessage(playerid, LARC,     "[!]==========================[!]");
  890.     SendClientMessage(playerid, LARC,     "[!]: Zombie Vs Humans");
  891.     SendClientMessage(playerid, KAKI,     "[!]: Create By Parka");
  892.     SendClientMessage(playerid, LARC,     "[!]: Mode: Zombie");
  893.     SendClientMessage(playerid, LARC,     "[!]==========================[!]");
  894.     return 1;
  895. }
  896. /*[!]======================================================================[!]*/
  897. public OnPlayerDisconnect(playerid, reason)
  898. {
  899.     KillTimer(MyTime[playerid]);
  900.  
  901.     new INI:File = INI_Open(Usuario(playerid));
  902.     INI_SetTag(File,"data");
  903.     INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
  904.     INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
  905.     INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
  906.     INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
  907.     INI_WriteInt(File,"Minutos",PlayerInfo[playerid][pMins]);
  908.     INI_WriteInt(File,"Horas",PlayerInfo[playerid][pHora]);
  909.     INI_WriteInt(File,"Skills",PlayerInfo[playerid][pSkills]);
  910.     INI_WriteInt(File,"Infectado",PlayerInfo[playerid][pInfecct]);
  911.     INI_WriteInt(File,"Cura",PlayerInfo[playerid][pCuret]);
  912.  
  913.     INI_Close(File);
  914.  
  915.     SetPlayerColor(playerid, PLAT);
  916.     SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
  917.     return 1;
  918. }
  919. /*[!]======================================================================[!]*/
  920. public OnPlayerSpawn(playerid)
  921. {
  922.     new Rand = random(7);
  923.     if(Equipo[playerid] == Raza_Humana){
  924.     SetPlayerColor(playerid, MainBlanco);
  925.  
  926.     SetPlayerTeam(playerid, Raza_Humana);
  927.    
  928.     new rand = random(sizeof Humano);
  929.     SetPlayerSkin(playerid, Humano[rand]);
  930.    
  931.     PlayerSpawnStats[ playerid ] = true;
  932.     PlayerTextDrawShow( playerid, Textdraw0);
  933.     PlayerTextDrawShow( playerid, Textdraw1);
  934.     PlayerTextDrawShow( playerid, Textdraw2);
  935.  
  936.     for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++){RemovePlayerAttachedObject(playerid, i);}
  937.  
  938.     switch(Rand){
  939.     case 0: SetPlayerPosEx(playerid,-1574.3148,-2725.5625,48.7435,144.7881); //
  940.     case 1: SetPlayerPosEx(playerid,-1571.7781,-2727.1465,48.7435,147.9633); //
  941.     case 2: SetPlayerPosEx(playerid,-1569.3335,-2728.7822,48.7435,139.6283); //
  942.     case 3: SetPlayerPosEx(playerid,-1567.1415,-2730.4785,48.7435,144.3909); //
  943.     case 4: SetPlayerPosEx(playerid,-1555.3521,-2737.9768,48.7435,142.0095); //
  944.     case 5: SetPlayerPosEx(playerid,-1557.7585,-2736.2126,48.7435,147.5659); //
  945.     case 6: SetPlayerPosEx(playerid,-1559.9460,-2734.7583,48.7435,147.5659); //
  946.     }
  947.     }
  948.     if(Equipo[playerid] == Raza_Zombie){
  949.     SetPlayerColor(playerid, MainRojo);
  950.  
  951.     SetPlayerTeam(playerid, Raza_Zombie);
  952.  
  953.     new rand = random(sizeof Zombie);
  954.     SetPlayerSkin(playerid, Zombie[rand]);
  955.    
  956.     PlayerTextDrawHide( playerid, Textdraw0);
  957.     PlayerTextDrawHide( playerid, Textdraw1);
  958.     PlayerTextDrawHide( playerid, Textdraw2);
  959.    
  960.     SetPlayerAttachedObject( playerid, 0, 2908, 5, 0.080947, -0.008420, -0.023922, 238.895111, 352.390716, 265.339782, 1.000000, 1.000000, 1.000000 ); // kmb_deadhead -
  961.     SetPlayerAttachedObject( playerid, 1, 2804, 8, 0.300914, -0.033888, -0.017660, 10.251863, 178.031677, 280.822998, 0.669003, 1.000000, 1.025910 ); // CJ_MEAT_1 -
  962.     SetPlayerAttachedObject( playerid, 2, 2806, 1, 0.072145, 0.035297, -0.028837, 87.446678, 357.016815, 107.058639, 0.547959, 0.538617, 0.894741 ); // CJ_MEAT_2 -
  963.  
  964.     switch(Rand){
  965.     case 0: SetPlayerPosEx(playerid,-1631.6165,-2234.9192,31.4766,183.4629); //
  966.     case 1: SetPlayerPosEx(playerid,-1631.3101,-2240.0259,31.4766,183.4629); //
  967.     case 2: SetPlayerPosEx(playerid,-1631.0062,-2245.0981,31.4766,183.4629); //
  968.     case 3: SetPlayerPosEx(playerid,-1641.9156,-2246.4170,31.4766,285.8613); //
  969.     case 4: SetPlayerPosEx(playerid,-1640.4717,-2232.6885,31.4766,184.6536); //
  970.     case 5: SetPlayerPosEx(playerid,-1640.2056,-2235.9534,31.4766,177.1126); //
  971.     case 6: SetPlayerPosEx(playerid,-1635.5457,-2244.4036,31.4766,181.8753); //
  972.     }
  973.     }
  974.  
  975.     SetPlayerScore(playerid ,PlayerInfo[playerid][pSkills]);
  976.     ResetPlayerWeapons(playerid);
  977.     SetPlayerTime(playerid, 23, 0);
  978.     return 1;
  979. }
  980. /*[!]======================================================================[!]*/
  981. public OnPlayerDeath(playerid, killerid, reason)
  982. {
  983.     if(reason >= 0 && reason <= 34) SendDeathMessage(killerid, playerid, reason);
  984.  
  985.     if(Equipo[killerid] == Raza_Humana){
  986.     GivePlayerMoney(killerid, 1000);
  987.     PlayerInfo[killerid][pSkills]++;
  988.     }
  989.  
  990.     if(Equipo[killerid] == Raza_Zombie){
  991.     Equipo[playerid] = Raza_Zombie;
  992.     PlayerInfo[playerid][pInfecct]++;
  993.  
  994.     new Txt[24], zone[MAX_ZONE_NAME];
  995.     switch(Viruz[killerid]){
  996.     case 1:{
  997.     Txt = "~g~ Xtreme";
  998.     PlayerInfo[killerid][pSkills]  ++;
  999.     GivePlayerMoney(playerid, 100);
  1000.     GameTextForPlayer(killerid, "_~n~_~n~_~n~_~n~_~n~_~n~~y~Ganastes ~g~$100 ~p~+1 skills", 2000, 3);
  1001.     }
  1002.     case 2:{
  1003.     Txt = "~g~ X-xtreme";
  1004.     PlayerInfo[killerid][pSkills]+= 2;
  1005.     GivePlayerMoney(playerid, 125);
  1006.     GameTextForPlayer(killerid, "_~n~_~n~_~n~_~n~_~n~_~n~~y~Ganastes ~g~$125 ~p~+2 skills", 2000, 3);
  1007.     }
  1008.     case 3:{
  1009.     Txt = "~g~ Z-xtreme";
  1010.     PlayerInfo[killerid][pSkills]+= 5;
  1011.     GivePlayerMoney(playerid, 225);
  1012.     GameTextForPlayer(killerid, "_~n~_~n~_~n~_~n~_~n~_~n~~y~Ganastes ~g~$225 ~p~+5 skills", 2000, 3);
  1013.     }
  1014.     }
  1015.     new str[128];
  1016.     GetPlayer3DZone(killerid , zone, MAX_ZONE_NAME);
  1017.     format(str, sizeof str, "~r~%s ~y~Infesto a ~w~%s ~y~ con el viruz %s ~y~cerca de ~p~%s", Nombre(killerid), Nombre(playerid), Txt, zone);
  1018.     Anuncios(str) ;
  1019.     }
  1020.  
  1021.     for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++){RemovePlayerAttachedObject(playerid, i);}
  1022.     return 1;
  1023. }
  1024. /*[!]======================================================================[!]*/
  1025. public OnPlayerText(playerid, text[])
  1026. {
  1027.     return 1;
  1028. }
  1029. /*[!]=========================[!] ZCMD [!]=================================[!]*/
  1030. CMD:conta(playerid,params[]){
  1031.     new str[256];
  1032.     format( str, sizeof str
  1033.     , ""BC"nome: "PP"%s    "BC"Horas jugadas: "OO"%d\n"BC"Veces curado: "OO"%d\n"BC"Número de infectados: "OO"%d\n"BC"Matas: "LL"%d\n"BC"Mueres: "LL"%d\n\n"BC"Score: "LL"%d",
  1034.     Nombre(playerid),
  1035.     PlayerInfo[playerid][pHora],
  1036.     PlayerInfo[playerid][pCuret],
  1037.     PlayerInfo[playerid][pInfecct],
  1038.     PlayerInfo[playerid][pKills],
  1039.     PlayerInfo[playerid][pDeaths],
  1040.     PlayerInfo[playerid][pSkills]);
  1041.     ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_MSGBOX, "Conta de Usuário", str, "Aceptar", "");
  1042.     return 1;
  1043. }
  1044.  
  1045. CMD:comprar(playerid,params[]){
  1046.     ShowPlayerDialog(playerid, Dialog_Compra, DIALOG_STYLE_LIST, ".:[ Comprar Items, Viruz y Cura ]:.", ""RO"Medikit "BC"20% ("LL"$1000"BC")\n"RO"Medikit "BC"50% ("LL"$3000"BC")\n"RO"Medikit "BC"100% ("LL"$5000"BC")\n"KK"Viruz XX ("LL"$5000"BC")\n"KK"Viruz Z ("LL"$70000"BC")", "Comprar", "Cancelar");
  1047.     return 1;
  1048. }
  1049.  
  1050.  
  1051. /* By Parka solo yo entendere!
  1052. CMD:setkills(playerid, params[])
  1053. {
  1054.     if(sscanf(params,"ui", params[0], params[1])) return SendClientMessage(playerid , -1, ""GM" Uso /Setkills (player/nome) (quantidade) ");
  1055.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1056.     PlayerInfo[params[0]][pKills] = params[1];
  1057.     format(Cadena, sizeof( Cadena ), ""GM" %s o Administrador %s Te Dio %d puntos de Kills",Nombre(params[0]), Nombre(playerid), params[1]);
  1058.     SendClientMessage(params[0], FormalAdmin, Cadena);
  1059.     format(Cadena, sizeof( Cadena ), ""GM" %s Le Distes %d puntos de Kills a %s",Nombre(playerid), params[1], Nombre(params[0]));
  1060.     SendClientMessage(playerid, FormalAdmin, Cadena);
  1061.     return 1;
  1062. }
  1063.  
  1064. CMD:setcash(playerid, params[])
  1065. {
  1066.     if(sscanf(params,"ui", params[0], params[1])) return SendClientMessage(playerid , MainRojo, ""GM" Uso /Setcash (player/nome) (quantidade) ");
  1067.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1068.     GivePlayerMoney(params[0], params[1]);
  1069.     format(Cadena, sizeof( Cadena ), ""GM" %s o Administrador %s Te Dio %d Dolares",Nombre(params[0]), Nombre(playerid), params[1]);
  1070.     SendClientMessage(params[0], FormalAdmin, Cadena);
  1071.     format(Cadena, sizeof( Cadena ), ""GM" %s você deu %d Dolares para %s",Nombre(playerid), params[1], Nombre(params[0]));
  1072.     SendClientMessage(playerid, FormalAdmin, Cadena);
  1073.     return 1;
  1074. }
  1075.  
  1076. CMD:setdeaths(playerid, params[])
  1077. {
  1078.     if(sscanf(params,"ui", params[0], params[1])) return SendClientMessage(playerid , MainRojo, ""GM" Uso /Setdeaths (player/nome) (quantidade) ");
  1079.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1080.     PlayerInfo[params[0]][pDeaths] = params[1];
  1081.     format(Cadena, sizeof( Cadena ), ""GM" %s o Administrador %s te colocou mortes %d",Nombre(params[0]), Nombre(playerid), params[1]);
  1082.     SendClientMessage(params[0], FormalAdmin, Cadena);
  1083.     format(Cadena, sizeof( Cadena ), ""GM" %s você colocou todas as mortes %s em %d",Nombre(playerid), Nombre(params[0]), params[1]);
  1084.     SendClientMessage(playerid, FormalAdmin, Cadena);
  1085.     return true;
  1086. }
  1087.  
  1088. CMD:setadmin(playerid, params[])
  1089. {
  1090.     if(sscanf(params,"ui", params[0], params[1])) return SendClientMessage(playerid , MainRojo, ""GM" Uso /Setadmin (player/nome) (quantidade) ");
  1091.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN || IsPlayerAdmin(playerid))
  1092.     {
  1093.     PlayerInfo[params[0]][pAdmin] = params[1];
  1094.     format(Cadena, sizeof( Cadena ), ""GM" %s o Administrador %s Te Dio Admin Nivel: %d",Nombre(params[0]), Nombre(playerid), params[1]);
  1095.     SendClientMessage(params[0], FormalAdmin, Cadena);
  1096.     format(Cadena, sizeof( Cadena ), ""GM" %s Le Distes Admin Nivel: %d a %s",Nombre(playerid), params[1],Nombre(params[0]));
  1097.     SendClientMessage(playerid, FormalAdmin, Cadena);
  1098.     } else return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1099.     return 1;
  1100. }
  1101.  
  1102. CMD:kick(playerid, params[])
  1103. {
  1104.     if ( sscanf( params, "is[126]" ,params[0] , params[1] ) ) return SendClientMessage(playerid, FormalAdmin, ""GM" /kick [playerid] [razão]");
  1105.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) {
  1106.     if(!IsPlayerConnected(params[0]) || params[0] == playerid || PlayerInfo[params[0]][pAdmin] >= 4)
  1107.     return SendClientMessage(playerid, FormalAdmin, ""GM" O jogador não está conectado, é de nível superior do que você ou você mesmo.");
  1108.     format( Cadena, sizeof( Cadena ) , ""GM" o Administrador %s Expulso a %s. Razon: %s" ,Nombre(playerid), Nombre(params[0]), params[1]);
  1109.     SendClientMessageToAll(MainNaranja, Cadena);
  1110.     format( Cadena, sizeof( Cadena ) , ""GM" %s tem Kick para %s. razão: %s" ,Nombre(playerid), Nombre(params[0]), params[1]);
  1111.     SendClientMessage(playerid ,FormalAdmin, Cadena);
  1112.     Kick( params[0] );
  1113.     } else return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1114.     return 1;
  1115. }
  1116.  
  1117. CMD:ban(playerid, params[])
  1118. {
  1119.     if ( sscanf( params, "is[126]" ,params[0] , params[1] ) ) return SendClientMessage(playerid, FormalAdmin, ""GM" /ban [playerid] [razão]");
  1120.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) {
  1121.     if(!IsPlayerConnected(params[0]) || params[0] == playerid || PlayerInfo[params[0]][pAdmin] >= 4)
  1122.     return SendClientMessage(playerid, FormalAdmin, ""GM" O jogador não está conectado, é de nível superior do que você ou você mesmo.");
  1123.     format( Cadena, sizeof( Cadena ) , ""GM" o Administrador %s Expulso para %s. razão: %s" ,Nombre(playerid), Nombre(params[0]), params[1]);
  1124.     SendClientMessageToAll(MainNaranja, Cadena);
  1125.     format( Cadena, sizeof( Cadena ) , ""GM" %s tem Ban para %s. razão: %s" ,Nombre(playerid), Nombre(params[0]), params[1]);
  1126.     SendClientMessage(playerid ,FormalAdmin, Cadena);
  1127.     Ban( params[0] );
  1128.     } else return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1129.     return 1;
  1130. }
  1131.  
  1132. CMD:warn(playerid, params[])
  1133. {
  1134.     if(PlayerInfo[playerid][pAdmin] < MAX_ADMIN) {
  1135.     if( sscanf ( params, "is[126]", params[0], params[1])) return SendClientMessage(playerid, FormalAdmin,""GM" /warn [playerid] [razão].");
  1136.     if(PlayerInfo[params[0]][pAdmin] >= MAX_ADMIN ) return SendClientMessage(playerid,FormalAdmin, ""GM" Você pode usar este comando com um administrador.");
  1137.     if(!IsPlayerConnected(params[0]) && params[0] == INVALID_PLAYER_ID || params[0] == playerid) return SendClientMessage(playerid,FormalAdmin, ""GM" O jogador não está conectado ou é você mesmo.");
  1138.     PlayerInfo[params[0]][Avisos]++;
  1139.     if( PlayerInfo[params[0]][Avisos] == MAX_AVISOS ) {
  1140.     format(Cadena, sizeof (Cadena), ""GM"El Administrador %s Expulso del servidor a %s [Razon: %s] [avisos: %d/%d]", Nombre(playerid), Nombre(params[0]), params[1], PlayerInfo[params[0]][Avisos], MAX_AVISOS);
  1141.     SendClientMessageToAll(MainRojo, Cadena);
  1142.     PlayerInfo[params[0]][Avisos] = 0;
  1143.     Kick(params[0]);
  1144.     return 1;
  1145.     } else {
  1146.     format(Cadena, sizeof (Cadena), ""GM" o Administrador %s Advierte a %s razão: %s [avisos: %d/%d]", Nombre(playerid), Nombre(params[0]), params[1], PlayerInfo[params[0]][Avisos], MAX_AVISOS);
  1147.     return SendClientMessageToAll(MainAmarillo, Cadena);
  1148.     }
  1149.     } else return SendClientMessage(playerid, FormalAdmin, ""GM"Usted no es administrador o no tiene suficiente nivel");
  1150. }
  1151. */
  1152.  
  1153. /*[!]======================================================================[!]*/
  1154. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1155. {
  1156.     if( Equipo[playerid] == Raza_Zombie )
  1157.         return RemovePlayerFromVehicle(playerid);
  1158.  
  1159.     if( Equipo[ispassenger] == Raza_Zombie )
  1160.         return RemovePlayerFromVehicle(ispassenger);
  1161.  
  1162.     return 1;
  1163. }
  1164. /*[!]======================================================================[!]*/
  1165. public OnPlayerExitVehicle(playerid, vehicleid)
  1166. {
  1167.     return 1;
  1168. }
  1169. /*[!]======================================================================[!]*/
  1170. public OnPlayerStateChange(playerid, newstate, oldstate)
  1171. {
  1172.     new vehicleid = GetPlayerVehicleID(playerid);
  1173.     if(IsPlayerInVehicle(playerid,vehicleid))
  1174.     {
  1175.     if(IsPlayerConnected(playerid))
  1176.     {
  1177.     new str[200];
  1178.     format(str, sizeof str, "_~n~_~n~_~n~_~n~_~n~_~n~__________________~g~~h~%s", CarName[GetVehicleModel(vehicleid) - 400]);
  1179.     GameTextForPlayer(playerid, str, 3000, 3);
  1180.     }
  1181.     }
  1182.     return 1;
  1183. }
  1184. /*[!]======================================================================[!]*/
  1185. public OnPlayerEnterCheckpoint(playerid)
  1186. {
  1187.     foreach(new i:Player)
  1188.     {
  1189.     if( Equipo[ i ] == Raza_Zombie )
  1190.     {
  1191.     if( !IsPlayerConnected( i ) ) continue;
  1192.     CurarZombie( i );
  1193.     }
  1194.     }
  1195.     return 1;
  1196. }
  1197. /*[!]======================================================================[!]*/
  1198. public OnPlayerLeaveCheckpoint(playerid)
  1199. {
  1200.     CureZombie[playerid] = 0;
  1201.     KillTimer(Timer[0]);
  1202.  
  1203.     return 1;
  1204. }
  1205. /*[!]======================================================================[!]*/
  1206. public OnPlayerPickUpPickup(playerid, pickupid)
  1207. {
  1208.     return 1;
  1209. }
  1210. /*[!]======================================================================[!]*/
  1211. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1212. {
  1213.     if(Equipo[playerid] == Raza_Zombie&&Viruz[playerid] == Viruz_XX||Viruz[playerid] == Viruz_Z){
  1214.     if(Tecla(KEY_JUMP)){
  1215.     if(GetTickCount() - FloodComando[playerid] > 999){
  1216.     MegaJump(playerid, Float: 0.2, Float: 0.3);
  1217.     FloodComando[playerid] = GetTickCount();
  1218.     }
  1219.     }
  1220.     }
  1221.  
  1222.     if(Tecla(KEY_FIRE)){
  1223.     if(Equipo[playerid] == Raza_Zombie)
  1224.         return ResetPlayerWeapons(playerid);
  1225.     }
  1226.  
  1227.     if(Tecla( KEY_SECONDARY_ATTACK)){
  1228.         if(Equipo[playerid] == Raza_Humana){
  1229.             if(IsPlayerInRangeOfPoint(playerid, 0.90, 501.980987, -69.150199, 998.757812)){
  1230.             SetPlayerPos(playerid, -1561.8456, -2733.4023, 48.7435);
  1231.             SetPlayerInterior(playerid, 0);
  1232.             }
  1233.             if(IsPlayerInRangeOfPoint(playerid, 0.90, -1561.8456, -2733.4023, 48.7435)){
  1234.             SetPlayerPos(playerid, 501.980987, -69.150199, 998.757812);
  1235.             SetPlayerInterior(playerid, 11);
  1236.             }
  1237.         }
  1238.     }
  1239.  
  1240.     if(Tecla(KEY_SECONDARY_ATTACK)){
  1241.         if(Equipo[playerid] == Raza_Humana){
  1242.             if(IsPlayerInRangeOfPoint(playerid, 0.90, 316.258087, -169.656600, 999.601013 ) )
  1243.             {
  1244.             SetPlayerPos(playerid, -1623.8755 , -2693.7734 , 48.7427);
  1245.             SetPlayerInterior(playerid, 0);
  1246.             }
  1247.             if(IsPlayerInRangeOfPoint(playerid, 0.90, -1623.8755 , -2693.7734 , 48.7427 ) )
  1248.             {
  1249.             SetPlayerPos(playerid, 316.258087, -169.656600, 999.601013);
  1250.             SetPlayerInterior(playerid, 6);
  1251.             }
  1252.         }
  1253.     }
  1254.  
  1255.     if( Tecla( KEY_YES ) )
  1256.     {
  1257.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 309.0719 , -162.4290 , 999.5938 ))
  1258.     {
  1259.     if( GetPlayerMoney( playerid ) < 2000 )
  1260.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1261.     GivePlayerMoney(playerid, -2000);
  1262.     GivePlayerWeapon(playerid, 25, AMMO_SELL);
  1263.     }
  1264.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 312.2012,-162.3321,999.5938 ))
  1265.     {
  1266.     if( GetPlayerMoney( playerid ) < 2200 )
  1267.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1268.     GivePlayerMoney(playerid, -2200);
  1269.     GivePlayerWeapon(playerid, 31, AMMO_SELL);
  1270.     }
  1271.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 310.7312,-163.7771,999.5938 ))
  1272.     {
  1273.     if( GetPlayerMoney( playerid ) < 2500 )
  1274.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1275.     GivePlayerMoney(playerid, -2500);
  1276.     GivePlayerWeapon(playerid, 30, AMMO_SELL);
  1277.     }
  1278.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 310.6336,-160.9112,999.5938 ))
  1279.     {
  1280.     if( GetPlayerMoney( playerid ) < 5000 )
  1281.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1282.     GivePlayerMoney(playerid, -5000);
  1283.     GivePlayerWeapon(playerid, 34, AMMO_SELL);
  1284.     }
  1285.  
  1286.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 316.5230,-162.2719,999.5938 ))
  1287.     {
  1288.     if( GetPlayerMoney( playerid ) < 600 )
  1289.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1290.     GivePlayerMoney(playerid, -600);
  1291.     GivePlayerWeapon(playerid, 22, AMMO_SELL);
  1292.     }
  1293.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 315.0421,-163.7780,999.5938 ))
  1294.     {
  1295.     if( GetPlayerMoney( playerid ) < 800 )
  1296.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1297.     GivePlayerMoney(playerid, -800);
  1298.     GivePlayerWeapon(playerid, 23, AMMO_SELL);
  1299.     }
  1300.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 313.6808,-162.2760,999.5938 ))
  1301.     {
  1302.     if( GetPlayerMoney( playerid ) < 1200 )
  1303.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1304.     GivePlayerMoney(playerid, -1200);
  1305.     GivePlayerWeapon(playerid, 24, AMMO_SELL);
  1306.     }
  1307.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 315.0736,-160.9113,999.5938 ))
  1308.     {
  1309.     if( GetPlayerMoney( playerid ) < 3500 )
  1310.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1311.     GivePlayerMoney(playerid, -3500);
  1312.     GivePlayerWeapon(playerid, 33, AMMO_SELL);
  1313.     }
  1314.  
  1315.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2810,-163.4189,999.6010 ))
  1316.     {
  1317.     if( GetPlayerMoney( playerid ) < 1500 )
  1318.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1319.     GivePlayerMoney(playerid, -1500);
  1320.     GivePlayerWeapon(playerid, 28, AMMO_SELL);
  1321.     }
  1322.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2810,-162.1685,999.5938 ))
  1323.     {
  1324.     if( GetPlayerMoney( playerid ) < 1600 )
  1325.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1326.     GivePlayerMoney(playerid, -1600);
  1327.     GivePlayerWeapon(playerid, 29, AMMO_SELL);
  1328.     }
  1329.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2815,-160.7358,999.5938 ))
  1330.     {
  1331.     if( GetPlayerMoney( playerid ) < 1200 )
  1332.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar este armamento **");
  1333.     GivePlayerMoney(playerid, -1200);
  1334.     GivePlayerWeapon(playerid, 32, AMMO_SELL);
  1335.     }
  1336.     if(IsPlayerInRangeOfPoint(playerid, 0.7 , 318.2815,-159.7386,999.5938 ))
  1337.     {
  1338.     if( GetPlayerMoney( playerid ) < 200 )
  1339.     return SendClientMessage(playerid, MainRojo, ""GM" Usted no tiene dinero suficiente para comprar Armadura **");
  1340.  
  1341.     new Float:Ammoid;
  1342.     if( GetPlayerArmour( playerid , Ammoid) >= 200 )
  1343.     return SendClientMessage(playerid, MainRojo, ""GM" Usted ya compro armadura **");
  1344.  
  1345.     GivePlayerMoney(playerid, -200);
  1346.     SetPlayerArmour(playerid, 100);
  1347.     }
  1348.  
  1349.     }
  1350.  
  1351.     return 1;
  1352. }
  1353.  
  1354. COMMAND:dinero(playerid, params[]){
  1355.     GivePlayerMoney(playerid, 1000000);
  1356.     return 1;
  1357. }
  1358. /*[!]======================================================================[!]*/
  1359. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){
  1360.  
  1361.     if(Equipo[playerid] == Equipo[issuerid]) return 1;
  1362.  
  1363.     if(issuerid != INVALID_PLAYER_ID){
  1364.         if(Equipo[issuerid] == Raza_Zombie){
  1365.        
  1366.         new Float:Health, Float:Armour;
  1367.         GetPlayerArmour(playerid, Armour);
  1368.         GetPlayerHealth(playerid, Health);
  1369.  
  1370.         new Float:X  = 20.0;
  1371.         new Float:XX = 20.0;
  1372.         new Float:Z  = 30.0;
  1373.  
  1374.         if(Viruz[issuerid] == Viruz_X){
  1375.        
  1376.         if(Armour > 0)
  1377.             return SetPlayerArmour(playerid, Armour - X);
  1378.  
  1379.         if(Armour < 1)
  1380.             return SetPlayerHealth(playerid, Health - X);
  1381.         }
  1382.  
  1383.         if(Viruz[issuerid] == Viruz_XX){
  1384.         if(Armour > 0)
  1385.             return SetPlayerArmour(playerid, Health - XX);
  1386.  
  1387.         if(Armour < 0)
  1388.             return SetPlayerHealth(playerid, Health - XX);
  1389.         }
  1390.  
  1391.         if(Viruz[issuerid] == Viruz_Z){
  1392.         if( Armour > 0 )
  1393.             return SetPlayerArmour(playerid, Health - Z);
  1394.  
  1395.         if( Armour < 0 )
  1396.             return SetPlayerHealth(playerid, Health - Z);
  1397.         }
  1398.         Sonido(playerid,1130);
  1399.         Sonido(issuerid,1130);
  1400.         }
  1401.     }
  1402.     return 1;
  1403. }
  1404. /*[!]======================================================================[!]*/
  1405. public OnPlayerUpdate(playerid)
  1406. {
  1407.  
  1408.  
  1409.  
  1410.     return 1;
  1411. }
  1412. /*[!]======================================================================[!]*/
  1413. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1414. {
  1415.     new Float:Health, Float:Amour;
  1416.     GetPlayerArmour( playerid , Amour );
  1417.     GetPlayerHealth( playerid , Health );
  1418.  
  1419.     switch( dialogid )
  1420.     {
  1421.  
  1422.     case Dialog_Buy_Comida:
  1423.     {
  1424.         if (!response) return 1;
  1425.         if(response)
  1426.         {
  1427.             switch( listitem )
  1428.             {
  1429.                 case 0:
  1430.                 {
  1431.                 if ( GetPlayerMoney( playerid ) <= 250 )
  1432.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1433.  
  1434.                 GivePlayerMoney( playerid, -250);
  1435.                 BeberStats [ playerid ] += 20;
  1436.                 SetPlayerSpecialAction( playerid, SPECIAL_ACTION_DRINK_SPRUNK);
  1437.                 SendClientMessage( playerid, MainVerde, "Usted compro una garrafa de água.!");
  1438.                 }
  1439.                 case 1:
  1440.                 {
  1441.                 if ( GetPlayerMoney( playerid ) <= 750 )
  1442.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1443.  
  1444.                 GivePlayerMoney( playerid, -750);
  1445.                 BeberStats [ playerid ] += 25;
  1446.                 SetPlayerSpecialAction( playerid, SPECIAL_ACTION_DRINK_BEER);
  1447.                 SendClientMessage( playerid, MainVerde, "Usted compra una Cerveza.!");
  1448.                 }
  1449.                 case 2:
  1450.                 {
  1451.                 if ( GetPlayerMoney( playerid ) <= 100 )
  1452.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1453.  
  1454.                 GivePlayerMoney( playerid, -100);
  1455.                 ComidaStats [ playerid ] = 15;
  1456.                 SendClientMessage( playerid, MainVerde, "Usted compro una Pizza.!");
  1457.                 }
  1458.                 case 3:
  1459.                 {
  1460.                 if ( GetPlayerMoney( playerid ) <= 1000 )
  1461.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1462.  
  1463.                 GivePlayerMoney( playerid, -1000);
  1464.                 ComidaStats [ playerid ] = MAX_STATS;
  1465.                 SendClientMessage( playerid, MainVerde, "Usted compro Avena.!");
  1466.                 }
  1467.                 case 4:
  1468.                 {
  1469.                 if ( GetPlayerMoney( playerid ) <= 2000 )
  1470.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1471.  
  1472.                 GivePlayerMoney( playerid, -2000 );
  1473.                 ComidaStats [ playerid ] += 30;
  1474.                 SendClientMessage( playerid, MainVerde, "Usted compro una Hamburguesa.!");
  1475.                 }
  1476.                 case 5:
  1477.                 {
  1478.                 if ( GetPlayerMoney( playerid ) <= 1000 )
  1479.                     return  SendClientMessage( playerid, MainRojo, "Usted no tiene dinero!");
  1480.  
  1481.                 GivePlayerMoney( playerid, -1000 );
  1482.                 BeberStats [ playerid ] += 28;
  1483.                 SetPlayerSpecialAction( playerid, SPECIAL_ACTION_DRINK_SPRUNK);
  1484.                 SendClientMessage( playerid, MainVerde, "Usted compro una Pepsi.!");
  1485.                 }
  1486.             }
  1487.         }
  1488.     }
  1489.         case Dialog_Compra:
  1490.         {
  1491.             if (!response) return 1;
  1492.             if(response)
  1493.             {
  1494.                 switch( listitem )
  1495.                 {
  1496.                 case 0:
  1497.                 {
  1498.                 if( Amour > 0 && Health > 80 )
  1499.                     return SendClientMessage( playerid , MainRojo , ""GM" Usted no necesita **" );
  1500.  
  1501.                 if( GetPlayerMoney( playerid ) < 1000 )
  1502.                     return  SendClientMessage( playerid , MainRojo , ""GM" Falta dinero **" );
  1503.                 GivePlayerMoney( playerid , -1000);
  1504.                 SetPlayerHealth( playerid , Health+20);
  1505.                 }
  1506.                 case 1:
  1507.                 {
  1508.                 if( Amour > 0 && Health > 50 )
  1509.                     return SendClientMessage( playerid , MainRojo , ""GM" Usted no necesita **" );
  1510.  
  1511.                 if( GetPlayerMoney( playerid ) < 3000 )
  1512.                     return  SendClientMessage( playerid , MainRojo , ""GM" Falta dinero **" );
  1513.                 GivePlayerMoney( playerid , -3000);
  1514.                 SetPlayerHealth( playerid , Health+50);
  1515.                 }
  1516.                 case 2:
  1517.                 {
  1518.                 if( GetPlayerMoney( playerid ) < 5000 )
  1519.                     return  SendClientMessage( playerid , MainRojo , ""GM" Falta dinero **" );
  1520.                 SetPlayerHealth( playerid , Health+100);
  1521.                 GivePlayerMoney( playerid , -5000);
  1522.                 }
  1523.                 case 3:
  1524.                 {
  1525.                 if( Equipo[playerid] != Raza_Zombie )
  1526.                     return  SendClientMessage( playerid , MainRojo , ""GM" Usted no es zombie **" );
  1527.  
  1528.                 if( GetPlayerMoney( playerid ) < 5000 )
  1529.                     return  SendClientMessage( playerid , MainRojo , ""GM" Falta dinero **" );
  1530.                 GivePlayerMoney( playerid , -5000);
  1531.                 Viruz[playerid] = Viruz_XX;
  1532.                 }
  1533.                 case 4:
  1534.                 {
  1535.                 if( Equipo[playerid] != Raza_Zombie )
  1536.                     return  SendClientMessage( playerid , MainRojo , ""GM" Usted no es zombie **" );
  1537.  
  1538.                 if( GetPlayerMoney( playerid ) < 70000 )
  1539.                     return  SendClientMessage( playerid , MainRojo , ""GM" Falta dinero **" );
  1540.                 GivePlayerMoney( playerid , -70000);
  1541.                 Viruz[playerid] = Viruz_Z;
  1542.                 }
  1543.                 }
  1544.             }
  1545.         }
  1546.  
  1547.         case Dialog_Register:
  1548.         {
  1549.             if (!response) return Kick(playerid);
  1550.             if(response)
  1551.             {
  1552.                 if(!strval(inputtext)) return ShowPlayerDialog(playerid, Dialog_Register, DIALOG_STYLE_INPUT, ""LL" Registro...",""RO" Contraeña solo puede a ver numeros.\n"KK"Por favor Escribir una contraseña..","Registrar","Salir");
  1553.                 new INI:File = INI_Open(Usuario(playerid));
  1554.                 new A,D,M;
  1555.                 getdate( A, M, D);
  1556.                 INI_SetTag(File,"data");
  1557.                 INI_WriteInt(File,"Password",udb_hash(inputtext));
  1558.                 INI_WriteInt(File,"Cash",0);
  1559.                 INI_WriteInt(File,"Admin",0);
  1560.                 INI_WriteInt(File,"Kills",0);
  1561.                 INI_WriteInt(File,"Deaths",0);
  1562.                 INI_WriteInt(File,"Dia", D);
  1563.                 INI_WriteInt(File,"Mes", M);
  1564.                 INI_WriteInt(File,"Year",A);
  1565.                 INI_WriteInt(File,"Minutos",0);
  1566.                 INI_WriteInt(File,"Horas",0);
  1567.                 INI_WriteInt(File,"Skills",0);
  1568.                 INI_Close(File);
  1569.  
  1570.             }
  1571.         }
  1572.  
  1573.         case Dialog_Login:
  1574.         {
  1575.             if ( !response ) return Kick ( playerid );
  1576.             if( response )
  1577.             {
  1578.                 if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
  1579.                 {
  1580.                     INI_ParseFile(Usuario(playerid), "CargarUser_%s", .bExtra = true, .extra = playerid);
  1581.                     GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
  1582.                 }
  1583.                 else
  1584.                 {
  1585.                     ShowPlayerDialog(playerid, Dialog_Login, DIALOG_STYLE_INPUT,""LL" Ingreso.",""RO" Contraseña Incorrecta, Por favor escriba una valida.\n"KK"Su cuenta ya existes escribir una contraseña.","Ingresar","Salir");
  1586.                 }
  1587.                 return 1;
  1588.             }
  1589.         }
  1590.     }
  1591.     return 1;
  1592. }
  1593. /*[!]======================================================================[!]*/
  1594. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  1595. {
  1596.     return 1;
  1597. }
  1598. /*[!]========================[!] Stocks [!]================================[!]*/
  1599.  
  1600. stock Usuario(playerid)
  1601. {
  1602.     new string[128];
  1603.     format(string,sizeof(string), Archivo, Nombre( playerid ));
  1604.     return string;
  1605. }
  1606.  
  1607. stock udb_hash(buf[]) {
  1608.     new length=strlen(buf);
  1609.     new s1 = 1;
  1610.     new s2 = 0;
  1611.     new n;
  1612.     for (n=0; n<length; n++)
  1613.     {
  1614.        s1 = (s1 + buf[n]) % 65521;
  1615.        s2 = (s2 + s1)     % 65521;
  1616.     }
  1617.     return (s2 << 16) + s1;
  1618. }
  1619.  
  1620. stock Nombre( targerid )
  1621. {
  1622.     new Name[24];
  1623.     GetPlayerName( targerid , Name , 24 );
  1624.     return Name;
  1625. }
  1626.  
  1627. stock NombreWeapon( targerid )
  1628. {
  1629.     new Name[24];
  1630.     GetWeaponName( targerid , Name , 24 );
  1631.     return Name;
  1632. }
  1633.  
  1634. stock MegaJump(playerid, Float:forwardspeed, Float:upwardspeed)
  1635. {
  1636.     new Float:vx, Float:vy, Float:vz;
  1637.     new Float:rot;
  1638.     GetPlayerFacingAngle(playerid, rot);
  1639.     rot = 360 - rot;
  1640.  
  1641.     GetPlayerVelocity(playerid, vx, vy, vz);
  1642.     SetPlayerVelocity(playerid, vx + forwardspeed * floatsin(rot, degrees), vy + forwardspeed * floatcos(rot, degrees), vz + upwardspeed);
  1643.     return 1;
  1644. }
  1645.  
  1646. stock Sonido( playerid, sonido)
  1647. {
  1648.     PlayerPlaySound(playerid, sonido, 0.0, 0.0, 0.0);
  1649.     return sonido;
  1650. }
  1651.  
  1652. stock SetPlayerPosEx(playerid, Float:x, Float:y, Float:z, Float:a)
  1653. {
  1654.     SetPlayerPos(playerid, x, y, z);
  1655.     SetPlayerFacingAngle(playerid, a);
  1656.     return 1;
  1657. }
  1658.  
  1659. stock GetPlayer3DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
  1660. {
  1661.     new Float:x, Float:y, Float:z;
  1662.     GetPlayerPos(playerid, x, y, z);
  1663.     for(new i = 0; i != sizeof(gSAZones); i++ )
  1664.     {
  1665.         if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5])
  1666.         {
  1667.             return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
  1668.         }
  1669.     }
  1670.     return 0;
  1671. }
  1672.  
  1673. /*[!]=======================[!] CallBack [!]===============================[!]*/
  1674. #define CallBack%0(%1) forward%0(%1); public%0(%1)
  1675. CallBack OnPlayerUpDateEx(){
  1676.     foreach(new i:Player){
  1677.  
  1678.     if(IsPlayerInRangeOfPoint(i, 0.9, 498.404700 , -75.7382000 , 998.757)){
  1679.     if(EnteredDialog[i] == false){
  1680.     ShowPlayerDialog(i, Dialog_Buy_Comida, DIALOG_STYLE_LIST, "Venda de abastecimento", ""KK"agua("LL"250$"KK")\n"KK"Cerveza("LL"750$"KK")\n"KK"Pizza("LL"100$"KK")\n"KK"Avena("LL"1000$"KK")\n"KK"Hamburguesa("LL"2000$"KK")\n"KK"Pepsi("LL"1000$"KK")", "Aceptar", "Salir");
  1681.     EnteredDialog[i] = true;
  1682.     }
  1683.     }else EnteredDialog[i] = false;
  1684.  
  1685.     if( Equipo[i] == Raza_Humana)
  1686.     {
  1687.     if(IsPlayerInRangeOfPoint( i,15.0,-1636.6999512,-2709.8999023,55.5000000))
  1688.     {
  1689.     MoveDynamicObject(Objectid[0],-1636.6992188,-2709.8994141,55.5000000,5.0);
  1690.     }
  1691.     else
  1692.     {
  1693.     MoveDynamicObject(Objectid[0],-1636.6999512,-2709.8999023,50.5000000,5.0);
  1694.     }
  1695.  
  1696.     if(IsPlayerInRangeOfPoint( i,15.0,-1541.1999512,-2777.3999023,49.2000008))
  1697.     {
  1698.     MoveDynamicObject(Objectid[1],-1541.1999512,-2777.3999023,54.2999992,5.0);
  1699.     }
  1700.     else
  1701.     {
  1702.     MoveDynamicObject(Objectid[1],-1541.1999512,-2777.3999023,49.2000008,5.0);
  1703.     }
  1704.     }
  1705.  
  1706.     }
  1707.     return 1;
  1708. }
  1709.  
  1710. CallBack CurarZombie( playerid ){
  1711.     if(IsPlayerConnected(playerid)){
  1712.     if(CureZombie[playerid] == 10){
  1713.     CureZombie[playerid] = 0;
  1714.     Equipo[playerid] = Raza_Humana;
  1715.     Sonido(playerid, 1058);
  1716.     SpawnPlayer(playerid);
  1717.     PlayerInfo[playerid][pCuret]++;
  1718.     GameTextForPlayer(playerid, "_~n~_~g~~h~Curando...", 999, 6);
  1719.     new str[64];
  1720.     format(str, sizeof str, "~y~%s ~w~ Fue curado!", Nombre(playerid));
  1721.     Anuncios(str);
  1722.     return 1;
  1723.     }
  1724.     GameTextForPlayer(playerid, "_~n~_~p~Curando...", 999, 6);
  1725.     CureZombie[playerid]++;
  1726.     Timer[0] = SetTimerEx("CurarZombie", 1000, false, "d", playerid);
  1727.     }
  1728.     return 1;
  1729. }
  1730.  
  1731. CallBack CargarUser_data(playerid,name[],value[])
  1732. {
  1733.     INI_Int("Password",PlayerInfo[playerid][pPass]);
  1734.     INI_Int("Cash",PlayerInfo[playerid][pCash]);
  1735.     INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
  1736.     INI_Int("Kills",PlayerInfo[playerid][pKills]);
  1737.     INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
  1738.     INI_Int("Dia",PlayerInfo[playerid][pDia]);
  1739.     INI_Int("Mes",PlayerInfo[playerid][pMes]);
  1740.     INI_Int("Year",PlayerInfo[playerid][pYear]);
  1741.     INI_Int("Minutos",PlayerInfo[playerid][pMins]);
  1742.     INI_Int("Horas",PlayerInfo[playerid][pHora]);
  1743.     INI_Int("Skills",PlayerInfo[playerid][pSkills]);
  1744.     INI_Int("Infectado",PlayerInfo[playerid][pInfecct]);
  1745.     INI_Int("Cura",PlayerInfo[playerid][pCuret]);
  1746.     return 1;
  1747. }
  1748.  
  1749. CallBack Anuncios( text[] ) {
  1750.     if (!InformationText[0]) {
  1751.         InformationText[0] = true;
  1752.         TextDrawSetString(TextdrawGlobal[1], text);
  1753.         TextDrawShowForAll(TextdrawGlobal[1]);
  1754.         SetTimerEx("LiberarEspacio", 8000, false, "d", 0);
  1755.     }
  1756.     else if (!InformationText[1]) {
  1757.         InformationText[1] = true;
  1758.         TextDrawSetString(TextdrawGlobal[2], text);
  1759.         TextDrawShowForAll(TextdrawGlobal[2]);
  1760.         SetTimerEx("LiberarEspacio", 8000, false, "d", 1);
  1761.     }
  1762.     else if (!InformationText[2]) {
  1763.         InformationText[2] = true;
  1764.         TextDrawSetString(TextdrawGlobal[3], text);
  1765.         TextDrawShowForAll(TextdrawGlobal[3]);
  1766.         SetTimerEx("LiberarEspacio", 8000, false, "d", 2);
  1767.     }
  1768.     else if (!InformationText[3]) {
  1769.         InformationText[3] = true;
  1770.         TextDrawSetString(TextdrawGlobal[0], text);
  1771.         TextDrawShowForAll(TextdrawGlobal[0]);
  1772.         SetTimerEx("LiberarEspacio", 8000, false, "d", 3);
  1773.     }
  1774.     return 1;
  1775. }
  1776.  
  1777. CallBack HorasMinutos()
  1778. {
  1779.     foreach(new playerid:Player)
  1780.     {
  1781.     PlayerInfo[playerid][pMins]++;
  1782.     if(PlayerInfo[playerid][pMins] == 60)
  1783.     {
  1784.     PlayerInfo[playerid][pHora]++;
  1785.     PlayerInfo[playerid][pMins] = 0;
  1786.     }
  1787.     }
  1788.     return 1;
  1789. }
  1790.  
  1791. CallBack LiberarEspacio(slot) {
  1792.     InformationText[slot] = false;
  1793.     switch(slot) {
  1794.         case 0: TextDrawHideForAll(TextdrawGlobal[1]);
  1795.         case 1: TextDrawHideForAll(TextdrawGlobal[2]);
  1796.         case 2: TextDrawHideForAll(TextdrawGlobal[3]);
  1797.         case 3: TextDrawHideForAll(TextdrawGlobal[0]);
  1798.     }
  1799.     return 1;
  1800. }
  1801.  
  1802. CallBack StatusFromPlayerTextDraw(Userid)
  1803. {
  1804.     if(Equipo[Userid] != Raza_Zombie){
  1805.     new Date[6];
  1806.     getdate( Date[2], Date[1], Date[0]);
  1807.     gettime( Date[5], Date[4], Date[3]);
  1808.  
  1809.     new StrIng[128];
  1810.     format( StrIng, sizeof StrIng, "~r~Zombie Killed:~w~ %d~n~~b~~h~Human Killed:~w~ %d~n~~p~Time:~w~ %02d:%02d:%02d~n~~y~~h~~h~Date:~w~ %02d/%02d/%02d",
  1811.     PlayerInfo[Userid][pSkills],
  1812.     PlayerInfo[Userid][pInfecct],
  1813.     Date[5],Date[4],Date[3],Date[0],Date[1],Date[2]);
  1814.     PlayerTextDrawSetString( Userid, Textdraw5, StrIng);
  1815.  
  1816.     if(PlayerSpawnStats[Userid] == true){
  1817.     static TimerStats;
  1818.     TimerStats++;
  1819.     if(TimerStats >= 120){
  1820.     TimerStats=0;
  1821.     new Rand = random( 2 );
  1822.     switch(Rand){
  1823.     case 0: BeberStats[ Userid ] -= 6;
  1824.     case 1: ComidaStats[ Userid ] -= 6;
  1825.     }
  1826.     }
  1827.  
  1828.     GetPlayerHealth( Userid, Vida[ Userid ]);
  1829.     switch( floatround(Vida[ Userid ]) ){
  1830.     case 0  .. 20 :{
  1831.     PlayerTextDrawColor( Userid, Textdraw1, 0xFF000044);
  1832.     PlayerTextDrawShow( Userid, Textdraw1);
  1833.     }
  1834.     case 21 .. 50 :{
  1835.     PlayerTextDrawColor( Userid, Textdraw1, 0xFF8C0044);
  1836.     PlayerTextDrawShow( Userid, Textdraw1);
  1837.     }
  1838.     case 51 .. 80 :{
  1839.     PlayerTextDrawColor( Userid, Textdraw1, 0xFFD70044);
  1840.     PlayerTextDrawShow( Userid, Textdraw1);
  1841.     }
  1842.     case 81 .. 100:{
  1843.     PlayerTextDrawColor( Userid, Textdraw1, 16711935);
  1844.     PlayerTextDrawShow( Userid, Textdraw1);
  1845.     }
  1846.     }
  1847.  
  1848.     switch( BeberStats[ Userid ] )
  1849.     {
  1850.     case 0  .. 20 :{
  1851.     PlayerTextDrawColor( Userid, Textdraw0, -16776961);
  1852.     PlayerTextDrawShow( Userid, Textdraw0);
  1853.     }
  1854.     case 21 .. 50 :{
  1855.     PlayerTextDrawColor( Userid, Textdraw0, -5963521);
  1856.     PlayerTextDrawShow( Userid, Textdraw0);
  1857.     }
  1858.     case 51 .. 80 :{
  1859.     PlayerTextDrawColor( Userid, Textdraw0, -65281);
  1860.     PlayerTextDrawShow( Userid, Textdraw0);
  1861.     }
  1862.     case 81 .. 100:{
  1863.     PlayerTextDrawColor( Userid, Textdraw0, 16711935);
  1864.     PlayerTextDrawShow( Userid, Textdraw0);
  1865.     }
  1866.     }
  1867.  
  1868.     switch( ComidaStats[ Userid ] ){
  1869.     case 0  .. 20 :{
  1870.     PlayerTextDrawColor( Userid, Textdraw2, -16776961);
  1871.     PlayerTextDrawShow( Userid, Textdraw2);
  1872.     }
  1873.     case 21 .. 50 :{
  1874.     PlayerTextDrawColor( Userid, Textdraw2, -5963521);
  1875.     PlayerTextDrawShow( Userid, Textdraw2);
  1876.     }
  1877.     case 51 .. 80 :{
  1878.     PlayerTextDrawColor( Userid, Textdraw2, -65281);
  1879.     PlayerTextDrawShow( Userid, Textdraw2);
  1880.     }
  1881.     case 81 .. 100:{
  1882.     PlayerTextDrawColor( Userid, Textdraw2, 16711935);
  1883.     PlayerTextDrawShow( Userid, Textdraw2);
  1884.     }
  1885.     }
  1886.  
  1887.  
  1888.     if(Vida[Userid] <= 5){
  1889.     SendClientMessage(Userid, MainRojo, "Usted murio perdio mucha sangre.!");
  1890.     SetPlayerHealth  (Userid, 0.0);
  1891.     GivePlayerMoney  (Userid, -5000);
  1892.  
  1893.     BeberStats [ Userid ] = MAX_STATS;
  1894.     ComidaStats[ Userid ] = MAX_STATS;
  1895.     return 1;
  1896.     }
  1897.  
  1898.     if( ComidaStats [ Userid ] <= 0 || BeberStats [ Userid ] <= 0 ){
  1899.     SendClientMessage( Userid, MainRojo, "Usted murio de hambre y sed.!");
  1900.     SetPlayerHealth  ( Userid, 0.0);
  1901.     GivePlayerMoney  ( Userid, -5000);
  1902.  
  1903.     BeberStats [ Userid ] = MAX_STATS;
  1904.     ComidaStats[ Userid ] = MAX_STATS;
  1905.     }
  1906.     }
  1907.     }
  1908.     return 1;
  1909. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement