Guest User

Vehicle Spawn Dialog

a guest
Apr 27th, 2021
299
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. enum
  2. {
  3.     DIALOG_SHOWVEH,
  4.     DIALOG_SHOWBIKE,
  5.     DIALOG_SHOWCAR1,
  6.     DIALOG_SHOWCAR2,
  7.     DIALOG_SHOWCAR3,
  8.     DIALOG_SHOWCAR4,
  9.     DIALOG_SHOWCAR5,
  10.     DIALOG_SHOWCAR6,
  11.     DIALOG_SHOWCAR7,
  12.     DIALOG_SHOWCAR8,
  13.     DIALOG_SHOWCAR9,
  14.     DIALOG_SHOWCAR10,
  15.     DIALOG_SHOWCAR11,
  16.     DIALOG_SHOWCAR12,
  17.     DIALOG_SHOWPLANES,
  18.     DIALOG_SHOWBOATS
  19. };
  20.  
  21. #define DIALOG_SHOWVEH 2
  22. #define DIALOG_SHOWBIKE 3
  23. #define DIALOG_SHOWCAR1 4
  24. #define DIALOG_SHOWCAR2 5
  25. #define DIALOG_SHOWCAR3 6
  26. #define DIALOG_SHOWCAR4 7
  27. #define DIALOG_SHOWCAR5 8
  28. #define DIALOG_SHOWCAR6 9
  29. #define DIALOG_SHOWCAR7 10
  30. #define DIALOG_SHOWCAR8 11
  31. #define DIALOG_SHOWCAR9 12
  32. #define DIALOG_SHOWCAR10 13
  33. #define DIALOG_SHOWCAR11 14
  34. #define DIALOG_SHOWCAR12 15
  35.  
  36. #define DIALOG_LOGIN 0
  37. #define DIALOG_REGISTER 1
  38. #define DIALOG_SHOWPLANES 16
  39. #define DIALOG_SHOWBOATS 17
  40. #define DIALOG_EMAIL 18
  41.  
  42. #define COLOR_GREY 0xAFAFAFAA
  43. #define COLOR_GREEN 0x33AA33AA
  44. #define COLOR_RED 0xAA3333AA
  45. #define COLOR_YELLOW 0xFFFF00AA
  46. #define COLOR_WHITE 0xFFFFFFAA
  47. #define COLOR_BLUE 0x0000BBAA
  48. #define COLOR_LIGHTBLUE 0x33CCFFAA
  49. #define COLOR_ORANGE 0xFF9900AA
  50. #define COLOR_RED 0xAA3333AA
  51. #define COLOR_LIME 0x10F441AA
  52. #define COLOR_MAGENTA 0xFF00FFFF
  53. #define COLOR_NAVY 0x000080AA
  54. #define COLOR_AQUA 0xF0F8FFAA
  55. #define COLOR_CRIMSON 0xDC143CAA
  56. #define COLOR_FLBLUE 0x6495EDAA
  57. #define COLOR_BISQUE 0xFFE4C4AA
  58. #define COLOR_BLACK 0x000000AA
  59. #define COLOR_CHARTREUSE 0x7FFF00AA
  60. #define COLOR_BROWN 0xA52A2AAA
  61. #define COLOR_CORAL 0xFF7F50AA
  62. #define COLOR_GOLD 0xB8860BAA
  63. #define COLOR_GREENYELLOW 0xADFF2FAA
  64. #define COLOR_INDIGO 0x4B00B0AA
  65. #define COLOR_IVORY 0xFFFF82AA
  66. #define COLOR_LAWNGREEN 0x7CFC00AA
  67. #define COLOR_SEAGREEN 0x20B2AAAA
  68. #define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
  69. #define COLOR_MIDNIGHTBLUE 0x191970AA
  70. #define COLOR_MAROON 0x800000AA
  71. #define COLOR_OLIVE 0x808000AA
  72. #define COLOR_ORANGERED 0xFF4500AA
  73. #define COLOR_PINK 0xFFC0CBAA // - Light light pink
  74. #define COLOR_SPRINGGREEN 0x00FF7FAA
  75. #define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
  76. #define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
  77. #define COLOR_MEDIUMAQUA 0x83BFBFAA
  78. #define COLOR_MEDIUMMAGENTA 0x8B008BAA //
  79.  
  80. #define COLOR_SPECIAL1 0x6666CCAA
  81. #define COLOR_SPECIAL2 0xCC6633AA
  82. #define COLOR_SPECIAL3 0x00FF33AA
  83. #define COLOR_SPECIAL4 0x66CCFFAA
  84. #define COLOR_SPECIAL5 0xFF99FFAA
  85. #define COLOR_SPECIAL6 0x3300FFAA
  86.  
  87. #define SCM SendClientMessage
  88.  
  89. YCMD:v(playerid, params[], help)
  90. {
  91.     if(IsPlayerInRangeOfPoint(playerid, 20, 445.0486, -1872.3104, 6.9414)) return SCM(playerid, COLOR_RED, "Eroare > Nu ai voie sa spawnezi o masina langa spawn, foloseste /nrg sa te deplasezi!");
  92.    
  93.     new string[200];
  94.     format(string, sizeof(string), "{00FF00}Bikes/Motocicles\n{FF0000}Cars/Vans\n{0033FF}Planes/Helicopters\n{0066FF}Boats");
  95.     ShowPlayerDialog(playerid, DIALOG_SHOWVEH, DIALOG_STYLE_LIST, "Wich your transport", string, "Select", "Close");
  96.     return true;
  97. }
  98.  
  99. case DIALOG_SHOWVEH:
  100.         {
  101.             if(response)
  102.             {
  103.                 switch(listitem)
  104.                 {
  105.                     case 0:
  106.                     {
  107.                         new string[250];
  108.                         format(string, sizeof(string), "{00FF00}Pizza Boy\n{FF0000}PCJ-600\n{0033FF}Faggio\n{00FF00}Freeway\n{FF0000}Sanchez\n{0033FF}Quad\n{00FF00}BMX\n{FF0000}Bike\n{0033FF}Mountain Bike\n{00FF00}FCR-900\n{FF0000}NRG-500\n{00FF00}BF-400\n{FF0000}Wayfarer");
  109.                         ShowPlayerDialog(playerid, DIALOG_SHOWBIKE, DIALOG_STYLE_LIST, "Bikes and Motocicles", string, "Spawn", "Back");
  110.                     }
  111.  
  112.                     case 1:
  113.                     {
  114.                         new string[300];
  115.                         format(string, sizeof(string), "{FFCC99}Car with 2 doors\n{0033FF}Car with 4 doors\n{0033CC}Government\n{00CC33}Off Road/Pickups/Vans\n{0099FF}Unique Vehicles\n{33FF99}Lowriders\n{00FF00}Trucks/Monster Trucks\n{B8860B}Public Service\n{00FF00}Sport Cars\n{FF0000}RC Cars\n{6600CC}Nascar Cars");
  116.                         ShowPlayerDialog(playerid, DIALOG_SHOWCAR1, DIALOG_STYLE_LIST, "Cars and Vans", string, "Select", "Cancel");
  117.                     }
  118.  
  119.                     case 2:
  120.                     {
  121.                         new string[300];
  122.                         format(string, sizeof(string), "{0033CC}Leviathan\n{FFCC99}Skimmer\n{00FF00}Sparrow\n{0033FF}Maverick\n{FF0000}News Maverick\n{0033CC}Police Maverick\n{00CC33}Beagle\n{33FF99}Cropduster\n{FF0000}Stuntplane\n{0099FF}Shamal\n{3300FF}Cargobob\n{0033FF}Nevada\n{0099FF}Raindance\n{6600CC}AT400\n{77FF00}Andromada\n{FF33FF}Dodo");
  123.                         ShowPlayerDialog(playerid, DIALOG_SHOWPLANES, DIALOG_STYLE_LIST, "Helicopters/Planes", string, "Spawn", "Cancel");
  124.                     }
  125.  
  126.                     case 3:
  127.                     {
  128.                         new string[250];
  129.                         format(string, sizeof(string), "{0033CC}Squalo\n{0033FF}Speeder\n{00FF00}Reefer\n{FFCC99}Tropic\n{0033CC}Coastguard\n{99FFFF}Dinghy\n{999999}Marquis\n{CC99FF}Jetmax\n{FF0000}Launch");
  130.                         ShowPlayerDialog(playerid, DIALOG_SHOWBOATS, DIALOG_STYLE_LIST, "Boats", string, "Spawn", "Cancel");
  131.                     }
  132.                 }
  133.             }
  134.             return true;
  135.         }
  136.         case DIALOG_SHOWBOATS:
  137.         {
  138.             if(response)
  139.             {
  140.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  141.  
  142.                 switch(listitem)
  143.                 {
  144.                     case 0:
  145.                     {
  146.                     SCM(playerid, COLOR_BLUE, "Server > You spawned boat 'Squalo', nice!");
  147.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  148.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  149.                     AddStaticVehicle(446, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  150.                     }
  151.  
  152.                     case 1:
  153.                     {
  154.                     SCM(playerid, COLOR_GOLD, "Server > You spawned boat 'Speeder', nice!");
  155.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  156.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  157.                     AddStaticVehicle(452, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  158.                     }
  159.  
  160.                     case 2:
  161.                     {
  162.                     SCM(playerid, COLOR_PINK, "Server > You spawned boat 'Reefer', nice!");
  163.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  164.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  165.                     AddStaticVehicle(453, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  166.                     }
  167.  
  168.                     case 3:
  169.                     {
  170.                     SCM(playerid, COLOR_SEAGREEN, "Server > You spawned boat 'Tropic', nice!");
  171.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  172.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  173.                     AddStaticVehicle(454, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  174.                     }
  175.  
  176.                     case 4:
  177.                     {
  178.                     SCM(playerid, COLOR_FLBLUE, "Server > You spawned boat 'Coastguard', nice!");
  179.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  180.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  181.                     AddStaticVehicle(472, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  182.                     }
  183.  
  184.                     case 5:
  185.                     {
  186.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned boat 'Dinghy', nice!");
  187.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  188.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  189.                     AddStaticVehicle(473, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  190.                     }
  191.  
  192.                     case 6:
  193.                     {
  194.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned boat 'Marquis', nice!");
  195.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  196.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  197.                     AddStaticVehicle(484, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  198.                     }
  199.  
  200.                     case 7:
  201.                     {
  202.                     SCM(playerid, COLOR_MAROON, "Server > You spawned boat 'Jetmax', nice!");
  203.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  204.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  205.                     AddStaticVehicle(493, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  206.                     }
  207.  
  208.                     case 8:
  209.                     {
  210.                     SCM(playerid, COLOR_GOLD, "Server > You spawned boat 'Launch', nice!");
  211.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  212.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  213.                     AddStaticVehicle(595, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  214.                     }
  215.                 }
  216.             }
  217.             return true;
  218.         }
  219.         case DIALOG_SHOWPLANES:
  220.         {
  221.             if(response)
  222.             {
  223.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  224.  
  225.                 switch(listitem)
  226.                 {
  227.                     case 0:
  228.                     {
  229.                     SCM(playerid, COLOR_SEAGREEN, "Server > You spawned helicopter 'Leviathan', nice!");
  230.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  231.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  232.                     AddStaticVehicle(417, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  233.                     }
  234.  
  235.                     case 1:
  236.                     {
  237.                     SCM(playerid, COLOR_FLBLUE, "Server > You spawned plane 'Skimmer', nice!");
  238.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  239.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  240.                     AddStaticVehicle(460, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  241.                     }
  242.  
  243.                     case 2:
  244.                     {
  245.                     SCM(playerid, COLOR_GOLD, "Server > You spawned helicopter 'Sparrow', nice!");
  246.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  247.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  248.                     AddStaticVehicle(469, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  249.                     }
  250.  
  251.                     case 3:
  252.                     {
  253.                     SCM(playerid, COLOR_MAROON, "Server > You spawned helicopter 'Maverick', nice!");
  254.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  255.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  256.                     AddStaticVehicle(487, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  257.                     }
  258.  
  259.                     case 4:
  260.                     {
  261.                     SCM(playerid, COLOR_PINK, "Server > You spawned helicopter 'News Maverick', nice!");
  262.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  263.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  264.                     AddStaticVehicle(488, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  265.                     }
  266.  
  267.                     case 5:
  268.                     {
  269.                     SCM(playerid, COLOR_BLUE, "Server > You spawned helicopter 'Police Maverick', nice!");
  270.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  271.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  272.                     AddStaticVehicle(497, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  273.                     }
  274.  
  275.                     case 6:
  276.                     {
  277.                     SCM(playerid, COLOR_GREEN, "Server > You spawned plane 'Beagle', nice!");
  278.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  279.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  280.                     AddStaticVehicle(511, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  281.                     }
  282.  
  283.                     case 7:
  284.                     {
  285.                     SCM(playerid, COLOR_ORANGE, "Server > You spawned plane 'Cropduster', nice!");
  286.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  287.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  288.                     AddStaticVehicle(512, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  289.                     }
  290.  
  291.                     case 8:
  292.                     {
  293.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned plane 'Stuntplane', nice!");
  294.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  295.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  296.                     AddStaticVehicle(513, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  297.                     }
  298.  
  299.                     case 9:
  300.                     {
  301.                     SCM(playerid, COLOR_LIME, "Server > You spawned plane 'Shamal', nice!");
  302.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  303.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  304.                     AddStaticVehicle(519, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  305.                     }
  306.  
  307.                     case 10:
  308.                     {
  309.                     SCM(playerid, COLOR_BLUE, "Server > You spawned helicopter 'Cargobob', nice!");
  310.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  311.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  312.                     AddStaticVehicle(548, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  313.                     }
  314.  
  315.                     case 11:
  316.                     {
  317.                     SCM(playerid, COLOR_TOMATO, "Server > You spawned plane 'Nevada', nice!");
  318.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  319.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  320.                     AddStaticVehicle(553, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  321.                     }
  322.  
  323.                     case 12:
  324.                     {
  325.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned helicopter 'Raindance', nice!");
  326.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  327.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  328.                     AddStaticVehicle(563, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  329.                     }
  330.  
  331.                     case 13:
  332.                     {
  333.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned plane 'AT400', nice!");
  334.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  335.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  336.                     AddStaticVehicle(577, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  337.                     }
  338.  
  339.                     case 14:
  340.                     {
  341.                     SCM(playerid, COLOR_AQUA, "Server > You spawned plane 'Andromada', nice!");
  342.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  343.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  344.                     AddStaticVehicle(592, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  345.                     }
  346.  
  347.                     case 15:
  348.                     {
  349.                     SCM(playerid, COLOR_GOLD, "Server > You spawned plane 'Dodo', nice!");
  350.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  351.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  352.                     AddStaticVehicle(593, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  353.                     }
  354.                 }
  355.             }
  356.             return true;
  357.         }
  358.         case DIALOG_SHOWBIKE:
  359.         {
  360.             if(response)
  361.             {
  362.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  363.  
  364.                 switch(listitem)
  365.                 {
  366.  
  367.                 case 0:
  368.                 {
  369.                 SCM(playerid, COLOR_SEAGREEN, "Server > You spawned bike 'PizzaBoy', nice!");
  370.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  371.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  372.                 AddStaticVehicle(448, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  373.                 }
  374.  
  375.                 case 1:
  376.                 {
  377.                 SCM(playerid, COLOR_MEDIUMMAGENTA, "Server > You spawned bike 'PCJ-600', nice!");
  378.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  379.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  380.                 AddStaticVehicle(461, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  381.                 }
  382.  
  383.                 case 2:
  384.                 {
  385.                 SCM(playerid, COLOR_TOMATO, "Server > You spawned bike 'Faggio', nice!");
  386.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  387.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  388.                 AddStaticVehicle(462, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  389.                 }
  390.  
  391.                 case 3:
  392.                 {
  393.                 SCM(playerid, COLOR_YELLOWGREEN, "Server > You spawned bike 'Freeway', nice!");
  394.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  395.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  396.                 AddStaticVehicle(463, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  397.                 }
  398.  
  399.                 case 4:
  400.                 {
  401.                 SCM(playerid, COLOR_PINK, "Server > You spawned bike 'Sanchez', nice!");
  402.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  403.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  404.                 AddStaticVehicle(468, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  405.                 }
  406.  
  407.                 case 5:
  408.                 {
  409.                 SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned bike 'Quad', nice!");
  410.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  411.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  412.                 AddStaticVehicle(471, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  413.                 }
  414.  
  415.                 case 6:
  416.                 {
  417.                 SCM(playerid, COLOR_INDIGO, "Server > You spawned bike 'BMX', nice!");
  418.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  419.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  420.                 AddStaticVehicle(481, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  421.                 }
  422.  
  423.                 case 7:
  424.                 {
  425.                 SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned bike 'Bike', nice!");
  426.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  427.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  428.                 AddStaticVehicle(509, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  429.                 }
  430.  
  431.                 case 8:
  432.                 {
  433.                 SCM(playerid, COLOR_OLIVE, "Server > You spawned bike 'Mountain Bike', nice!");
  434.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  435.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  436.                 AddStaticVehicle(510, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  437.                 }
  438.  
  439.                 case 9:
  440.                 {
  441.                 SCM(playerid, COLOR_GOLD, "Server > You spawned bike 'FCR-900', nice!");
  442.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  443.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  444.                 AddStaticVehicle(521, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  445.                 }
  446.  
  447.                 case 10:
  448.                 {
  449.                 SCM(playerid, COLOR_YELLOW, "Server > You spawned bike 'NRG-500', nice!");
  450.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  451.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  452.                 AddStaticVehicle(522, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  453.                 }
  454.  
  455.                 case 11:
  456.                 {
  457.                 SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned bike 'BF-400', nice!");
  458.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  459.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  460.                 AddStaticVehicle(581, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  461.                 }
  462.  
  463.                 case 12:
  464.                 {
  465.                 SCM(playerid, COLOR_BLUE, "Server > You spawned bike 'Wayfarer', nice!");
  466.                 GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  467.                 GetPlayerFacingAngle(playerid, Float:z_angle);
  468.                 AddStaticVehicle(586, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  469.                 }
  470.               }
  471.             }
  472.             return true;
  473.         }
  474.         case DIALOG_SHOWCAR1:
  475.         {
  476.             if(response)
  477.             {
  478.                 switch(listitem)
  479.                 {
  480.  
  481.                 case 0:
  482.                 {
  483.                 new string[350];
  484.                 format(string, sizeof(string), "{00FF00}Bravura\n{0033FF}Buffalo\n{00CCFF}Manana\n{33CCFF}Esperanto\n{66FF33}Washington\n{FFCC66}BF Injection\n{FFFF99}Previon\n{FF9900}Stallion\n{FFCC00}Sabre\n{66FF00}Comet\n{FFCCFF}Virgo\n{33FF33}Greenwood\n{9900FF}Blista Compact\n{FF33FF}Fortune\n{CCCCFF}Cardona\n{FF0000}Clover\n{00CC00}Tampa\n{99CC99}Windsor\n{FFCC99}Picador\n{CCFF99}Flash\n{993333}Phoenix");
  485.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR2, DIALOG_STYLE_LIST, "Cars with 2 doors", string, "Spawn", "Cancel");
  486.                 }
  487.  
  488.                 case 1:
  489.                 {
  490.                 new string[300];
  491.                 format(string, sizeof(string), "{993366}Perrenial\n{666633}Sentinel\n{669933}Premier\n{FF9900}Admiral\n{CC6699}Solair\n{666699}Regina\n{003333}Elegant\n{FF6666}Nebula\n{9900FF}Williard\n{336666}Vincent\n{FFFF00}Intruder\n{FF3399}Primo\n{6699CC}Sunrise\n{CCFFCC}Merit\n{33CC99}Stratum\n{00CCCC}Tahoma\n{993366}Stafford\n{CC6600}Emperor");
  492.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR3, DIALOG_STYLE_LIST, "Cars with 4 doors", string, "Spawn", "Cancel");
  493.                 }
  494.                
  495.                 case 2:
  496.                 {
  497.                 new string[300];
  498.                 format(string, sizeof(string), "{FF3333}Ambulance\n{0033CC}Enforcer\n{333399}Security Car\n{6666FF}Patriot\n{0066FF}FBI Rancher\n{3333FF}Police Maverick\n{0099FF}HPV-1000\n{00FFFF}FBI Truck\n{6600FF}LSPD Car\n{0033CC}LVPD Car\n{00CCCC}SFPD Car\n{6633FF}PD Rancher\n{3399FF}S.W.A.T\n{333399}FireTruck LS\n{0066FF}FireTruck LV\n{33CCFF}Barracks");
  499.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR4, DIALOG_STYLE_LIST, "Government", string, "Spawn", "Cancel");
  500.                 }
  501.                
  502.                 case 3:
  503.                 {
  504.                 new string[350];
  505.                 format(string, sizeof(string), "{0033CC}Landstalker\n{669966}Pony\n{FF6633}Mule\n{CCCC66}Moonbeam\n{339933}Bobcat\n{FFCC66}Rumpo\n{66CC66}FlatBed\n{66FF99}Yankee\n{00CC00}RC Van\n{009966}Walton\n{33FF99}Burrito\n{99FFCC}Rancher\n{FFCCCC}Sandking\n{CC9933}Boxville\n{FFCC99}Benson\n{FFFF66}TowTruck\n{99FFFF}Sandler\n{6699CC}Yosemite\n{00FF66}Dune\n{FF6666}Huntley");
  506.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR5, DIALOG_STYLE_LIST, "Off Road/Pickups/Vans", string, "Spawn", "Cancel");
  507.                 }
  508.                
  509.                 case 4:
  510.                 {
  511.                 new string[400];
  512.                 format(string, sizeof(string), "{3366FF}Stretch\n{CC6699}Mr. Whoopee\n{FF6666}Hotknife\n{FFCCFF}Caddy\n{99CC66}Camper\n{00CCCC}Baggage\n{FFFF66}Dozer\n{FF9900}Forklift\n{999999}Combine Harvester\n{00CC99}Bandito\n{FF6699}Kart\n{CC99FF}Mower\n{9933FF}Sweeper\n{009999}Tug\n{FFCC99}Hotdog\n{0033FF}Tractor\n{6699CC}Dumper\n{99FFFF}Hustler\n{FFCC99}Cement Truck\n{6699CC}Romero");
  513.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR6, DIALOG_STYLE_LIST, "Unique Vehicles", string, "Spawn", "Cancel");
  514.                 }
  515.  
  516.                 case 5:
  517.                 {
  518.                 new string[250];
  519.                 format(string, sizeof(string), "{0033CC}Voodoo\n{FF6633}Glendale\n{FFCCFF}Oceanic\n{6666FF}Hermes\n{99CC66}Buccaneer\n{339933}Feltzer\n{00CCCC}Remington\n{3333FF}Slamvan\n{FF0000}Blade\n{666666}Savanna\n{FF6699}Broadway\n{00CC00}Tornado");
  520.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR7, DIALOG_STYLE_LIST, "Lowriders", string, "Spawn", "Cancel");
  521.                 }
  522.  
  523.                 case 6:
  524.                 {
  525.                 new string[200];
  526.                 format(string, sizeof(string), "{FF3333}Linerunner\n{FF6633}Monster Truck\n{CC6699}Tanker\n{3366FF}RoadTrain\n{99CC66}Monster Truck A\n{339933}Monster Truck B\n{FF6633}DFT-30");
  527.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR8, DIALOG_STYLE_LIST, "Trucks/Monster Trucks", string, "Spawn", "Cancel");
  528.                 }
  529.  
  530.                 case 7:
  531.                 {
  532.                 new string[250];
  533.                 format(string, sizeof(string), "{0033CC}Taxi\n{FFCCFF}Coach\n{CC6699}Cabbie\n{6666FF}Packer\n{3366FF}Newsvan\n{FFCCFF}Bus\n{339933}Trashmaster");
  534.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR9, DIALOG_STYLE_LIST, "Public Service", string, "Spawn", "Cancel");
  535.                 }
  536.  
  537.                 case 8:
  538.                 {
  539.                 new string[250];
  540.                 format(string, sizeof(string), "{FF3333}Infernus\n{00FF00}Cheetah\n{6666FF}Banshee\n{3366FF}Turismo\n{99CC66}ZR-350\n{FF6666}Super GT\n{339933}Bullet\n{6666FF}Uranus\n{FF6633}Jester\n{00CCCC}Sultan\n{999999}Elegy\n{3333FF}Club");
  541.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR10, DIALOG_STYLE_LIST, "Sport Cars", string, "Spawn", "Cancel");
  542.                 }
  543.  
  544.                 case 9:
  545.                 {
  546.                 new string[200];
  547.                 format(string, sizeof(string), "{FFCCFF}RC Bandit\n{00FF00}RC Raider\n{3366FF}RC Goblin\n{CC6699}RC Tiger\n{0033CC}RC Cam\n{FF6666}RC Barron");
  548.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR11, DIALOG_STYLE_LIST, "RC Cars", string, "Spawn", "Cancel");
  549.                 }
  550.  
  551.                 case 10:
  552.                 {
  553.                 new string[150];
  554.                 format(string, sizeof(string), "{FF3333}Hotring C\n{3366FF}Hotring A\n{00FF00}Hotring B\n{3366FF}Blooding Banger");
  555.                 ShowPlayerDialog(playerid, DIALOG_SHOWCAR12, DIALOG_STYLE_LIST, "Nascar Cars", string, "Spawn", "Cancel");
  556.                 }
  557.  
  558.                 }
  559.             }
  560.             return true;
  561.         }
  562.         case DIALOG_SHOWCAR12:
  563.         {
  564.             if(response)
  565.             {
  566.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  567.  
  568.                 switch(listitem)
  569.                 {
  570.                     case 0:
  571.                     {
  572.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Hotring C', nice!");
  573.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  574.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  575.                     AddStaticVehicle(494, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  576.                     }
  577.  
  578.                     case 1:
  579.                     {
  580.                     SCM(playerid, COLOR_SEAGREEN, "Server > You spawned car 'Hotring A', nice!");
  581.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  582.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  583.                     AddStaticVehicle(502, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  584.                     }
  585.  
  586.                     case 2:
  587.                     {
  588.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Hotring B', nice!");
  589.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  590.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  591.                     AddStaticVehicle(503, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  592.                     }
  593.  
  594.                     case 3:
  595.                     {
  596.                     SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned car 'Blooding Banger', nice!");
  597.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  598.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  599.                     AddStaticVehicle(504, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  600.                     }
  601.                 }
  602.             }
  603.             return true;
  604.         }
  605.         case DIALOG_SHOWCAR11:
  606.         {
  607.             if(response)
  608.             {
  609.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  610.  
  611.                 switch(listitem)
  612.                 {
  613.                     case 0:
  614.                     {
  615.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'RC Bandit', nice!");
  616.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  617.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  618.                     AddStaticVehicle(441, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  619.                     }
  620.  
  621.                     case 1:
  622.                     {
  623.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'RC Raider', nice!");
  624.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  625.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  626.                     AddStaticVehicle(465, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  627.                     }
  628.  
  629.                     case 2:
  630.                     {
  631.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'RC Goblin', nice!");
  632.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  633.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  634.                     AddStaticVehicle(501, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  635.                     }
  636.  
  637.                     case 3:
  638.                     {
  639.                     SCM(playerid, COLOR_LAWNGREEN, "Server > You spawned car 'RC Tiger', nice!");
  640.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  641.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  642.                     AddStaticVehicle(564, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  643.                     }
  644.  
  645.                     case 4:
  646.                     {
  647.                     SCM(playerid, COLOR_ORANGE, "Server > You spawned car 'RC Cam', nice!");
  648.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  649.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  650.                     AddStaticVehicle(594, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  651.                     }
  652.  
  653.                     case 5:
  654.                     {
  655.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'RC Barron', nice!");
  656.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  657.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  658.                     AddStaticVehicle(464, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  659.                     }
  660.                 }
  661.             }
  662.             return true;
  663.         }
  664.         case DIALOG_SHOWCAR10:
  665.         {
  666.             if(response)
  667.             {
  668.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  669.  
  670.                 switch(listitem)
  671.                 {
  672.                     case 0:
  673.                     {
  674.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Infernus', nice!");
  675.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  676.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  677.                     AddStaticVehicle(411, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  678.                     }
  679.  
  680.                     case 1:
  681.                     {
  682.                     SCM(playerid, COLOR_MEDIUMMAGENTA, "Server > You spawned car 'Cheetah', nice!");
  683.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  684.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  685.                     AddStaticVehicle(415, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  686.                     }
  687.  
  688.                     case 2:
  689.                     {
  690.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Banshee', nice!");
  691.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  692.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  693.                     AddStaticVehicle(429, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  694.                     }
  695.  
  696.                     case 3:
  697.                     {
  698.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Turismo', nice!");
  699.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  700.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  701.                     AddStaticVehicle(451, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  702.                     }
  703.  
  704.                     case 4:
  705.                     {
  706.                     SCM(playerid, COLOR_SPRINGGREEN, "Server > You spawned car 'ZR-350', nice!");
  707.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  708.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  709.                     AddStaticVehicle(477, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  710.                     }
  711.  
  712.                     case 5:
  713.                     {
  714.                     SCM(playerid, COLOR_GREENYELLOW, "Server > You spawned car 'Super GT', nice!");
  715.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  716.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  717.                     AddStaticVehicle(506, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  718.                     }
  719.  
  720.                     case 6:
  721.                     {
  722.                     SCM(playerid, COLOR_SPECIAL1, "Server > You spawned car 'Bullet', nice!");
  723.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  724.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  725.                     AddStaticVehicle(541, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  726.                     }
  727.  
  728.                     case 7:
  729.                     {
  730.                     SCM(playerid, COLOR_SPECIAL2, "Server > You spawned car 'Uranus', nice!");
  731.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  732.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  733.                     AddStaticVehicle(558, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  734.                     }
  735.  
  736.                     case 8:
  737.                     {
  738.                     SCM(playerid, COLOR_MAGENTA, "Server > You spawned car 'Jester', nice!");
  739.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  740.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  741.                     AddStaticVehicle(559, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  742.                     }
  743.  
  744.                     case 9:
  745.                     {
  746.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned car 'Sultan', nice!");
  747.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  748.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  749.                     AddStaticVehicle(560, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  750.                     }
  751.  
  752.                     case 10:
  753.                     {
  754.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Elegy', nice!");
  755.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  756.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  757.                     AddStaticVehicle(562, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  758.                     }
  759.  
  760.                     case 11:
  761.                     {
  762.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Club', nice!");
  763.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  764.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  765.                     AddStaticVehicle(589, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  766.                     }
  767.                 }
  768.             }
  769.             return true;
  770.         }
  771.         case DIALOG_SHOWCAR9:
  772.         {
  773.             if(response)
  774.             {
  775.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  776.  
  777.                 switch(listitem)
  778.                 {
  779.                     case 0:
  780.                     {
  781.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Taxi', nice!");
  782.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  783.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  784.                     AddStaticVehicle(420, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  785.                     }
  786.  
  787.                     case 1:
  788.                     {
  789.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Coach', nice!");
  790.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  791.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  792.                     AddStaticVehicle(437, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  793.                     }
  794.  
  795.                     case 2:
  796.                     {
  797.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Cabbie', nice!");
  798.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  799.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  800.                     AddStaticVehicle(438, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  801.                     }
  802.  
  803.                     case 4:
  804.                     {
  805.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Packer', nice!");
  806.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  807.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  808.                     AddStaticVehicle(443, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  809.                     }
  810.  
  811.                     case 5:
  812.                     {
  813.                     SCM(playerid, COLOR_PINK, "Server > You spawned car 'Newsvan', nice!");
  814.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  815.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  816.                     AddStaticVehicle(582, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  817.                     }
  818.  
  819.                     case 6:
  820.                     {
  821.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Bus', nice!");
  822.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  823.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  824.                     AddStaticVehicle(431, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  825.                     }
  826.  
  827.                     case 7:
  828.                     {
  829.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Trashmaster', nice!");
  830.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  831.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  832.                     AddStaticVehicle(408, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  833.                     }
  834.                 }
  835.             }
  836.             return true;
  837.         }
  838.         case DIALOG_SHOWCAR8:
  839.         {
  840.             if(response)
  841.             {
  842.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  843.  
  844.                 switch(listitem)
  845.                 {
  846.                     case 0:
  847.                     {
  848.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Linerunner', nice!");
  849.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  850.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  851.                     AddStaticVehicle(403, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  852.                     }
  853.  
  854.                     case 1:
  855.                     {
  856.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Monster Truck', nice!");
  857.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  858.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  859.                     AddStaticVehicle(444, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  860.                     }
  861.  
  862.                     case 2:
  863.                     {
  864.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Tanker', nice!");
  865.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  866.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  867.                     AddStaticVehicle(514, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  868.                     }
  869.  
  870.                     case 3:
  871.                     {
  872.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'RoadTrain', nice!");
  873.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  874.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  875.                     AddStaticVehicle(515, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  876.                     }
  877.  
  878.                     case 4:
  879.                     {
  880.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Monster Truck A', nice!");
  881.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  882.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  883.                     AddStaticVehicle(556, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  884.                     }
  885.  
  886.                     case 5:
  887.                     {
  888.                     SCM(playerid, COLOR_SPECIAL1, "Server > You spawned car 'Monster Truck B', nice!");
  889.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  890.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  891.                     AddStaticVehicle(557, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  892.                     }
  893.  
  894.                     case 6:
  895.                     {
  896.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'DFT-30', nice!");
  897.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  898.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  899.                     AddStaticVehicle(578, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  900.                     }
  901.                 }
  902.             }
  903.             return true;
  904.         }
  905.         case DIALOG_SHOWCAR7:
  906.         {
  907.             if(response)
  908.             {
  909.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  910.  
  911.                 switch(listitem)
  912.                 {
  913.                     case 0:
  914.                     {
  915.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Voodoo', nice!");
  916.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  917.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  918.                     AddStaticVehicle(412, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  919.                     }
  920.  
  921.                     case 1:
  922.                     {
  923.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Glendale', nice!");
  924.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  925.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  926.                     AddStaticVehicle(466, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  927.                     }
  928.  
  929.                     case 2:
  930.                     {
  931.                     SCM(playerid, COLOR_ORANGE, "Server > You spawned car 'Oceanic', nice!");
  932.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  933.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  934.                     AddStaticVehicle(467, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  935.                     }
  936.  
  937.                     case 3:
  938.                     {
  939.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'Hermes', nice!");
  940.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  941.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  942.                     AddStaticVehicle(474, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  943.                     }
  944.  
  945.                     case 4:
  946.                     {
  947.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Buccaneer', nice!");
  948.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  949.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  950.                     AddStaticVehicle(518, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  951.                     }
  952.  
  953.                     case 5:
  954.                     {
  955.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Feltzer', nice!");
  956.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  957.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  958.                     AddStaticVehicle(533, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  959.                     }
  960.  
  961.                     case 6:
  962.                     {
  963.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Remington', nice!");
  964.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  965.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  966.                     AddStaticVehicle(534, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  967.                     }
  968.  
  969.                     case 7:
  970.                     {
  971.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Slamvan', nice!");
  972.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  973.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  974.                     AddStaticVehicle(535, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  975.                     }
  976.  
  977.                     case 8:
  978.                     {
  979.                     SCM(playerid, COLOR_IVORY, "Server > You spawned car 'Blade', nice!");
  980.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  981.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  982.                     AddStaticVehicle(536, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  983.                     }
  984.  
  985.                     case 9:
  986.                     {
  987.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Savanna', nice!");
  988.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  989.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  990.                     AddStaticVehicle(567, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  991.                     }
  992.  
  993.                     case 10:
  994.                     {
  995.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Broadway', nice!");
  996.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  997.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  998.                     AddStaticVehicle(575, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  999.                     }
  1000.  
  1001.                     case 11:
  1002.                     {
  1003.                     SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned car 'Tornado', nice!");
  1004.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1005.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1006.                     AddStaticVehicle(576, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1007.                     }
  1008.                 }
  1009.             }
  1010.             return true;
  1011.         }
  1012.         case DIALOG_SHOWCAR6:
  1013.         {
  1014.             if(response)
  1015.             {
  1016.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  1017.  
  1018.                 switch(listitem)
  1019.                 {
  1020.                     case 0:
  1021.                     {
  1022.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Stretch', nice!");
  1023.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1024.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1025.                     AddStaticVehicle(409, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1026.                     }
  1027.  
  1028.                     case 1:
  1029.                     {
  1030.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Mr. Whoopee', nice!");
  1031.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1032.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1033.                     AddStaticVehicle(423, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1034.                     }
  1035.  
  1036.                     case 2:
  1037.                     {
  1038.                     SCM(playerid, COLOR_GREY, "Server > You spawned car 'Hotknife', nice!");
  1039.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1040.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1041.                     AddStaticVehicle(434, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1042.                     }
  1043.  
  1044.                     case 3:
  1045.                     {
  1046.                     SCM(playerid, COLOR_SPECIAL5, "Server > You spawned car 'Caddy', nice!");
  1047.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1048.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1049.                     AddStaticVehicle(457, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1050.                     }
  1051.  
  1052.                     case 4:
  1053.                     {
  1054.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Camper', nice!");
  1055.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1056.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1057.                     AddStaticVehicle(483, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1058.                     }
  1059.  
  1060.                     case 5:
  1061.                     {
  1062.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'Baggage', nice!");
  1063.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1064.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1065.                     AddStaticVehicle(485, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1066.                     }
  1067.  
  1068.                     case 6:
  1069.                     {
  1070.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Dozer', nice!");
  1071.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1072.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1073.                     AddStaticVehicle(486, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1074.                     }
  1075.  
  1076.                     case 7:
  1077.                     {
  1078.                     SCM(playerid, COLOR_TOMATO, "Server > You spawned car 'Forklift', nice!");
  1079.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1080.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1081.                     AddStaticVehicle(530, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1082.                     }
  1083.  
  1084.                     case 8:
  1085.                     {
  1086.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned car 'Combine Harvester', nice!");
  1087.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1088.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1089.                     AddStaticVehicle(532, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1090.                     }
  1091.  
  1092.                     case 9:
  1093.                     {
  1094.                     SCM(playerid, COLOR_MEDIUMMAGENTA, "Server > You spawned car 'Bandito', nice!");
  1095.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1096.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1097.                     AddStaticVehicle(568, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1098.                     }
  1099.  
  1100.                     case 10:
  1101.                     {
  1102.                     SCM(playerid, COLOR_CORAL, "Server > You spawned car 'Kart', nice!");
  1103.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1104.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1105.                     AddStaticVehicle(571, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1106.                     }
  1107.  
  1108.                     case 11:
  1109.                     {
  1110.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Mower', nice!");
  1111.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1112.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1113.                     AddStaticVehicle(572, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1114.                     }
  1115.  
  1116.                     case 12:
  1117.                     {
  1118.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Sweeper', nice!");
  1119.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1120.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1121.                     AddStaticVehicle(574, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1122.                     }
  1123.  
  1124.                     case 13:
  1125.                     {
  1126.                     SCM(playerid, COLOR_FLBLUE, "Server > You spawned car 'Tug', nice!");
  1127.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1128.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1129.                     AddStaticVehicle(583, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1130.                     }
  1131.  
  1132.                     case 14:
  1133.                     {
  1134.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Hotdog', nice!");
  1135.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1136.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1137.                     AddStaticVehicle(588, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1138.                     }
  1139.  
  1140.                     case 15:
  1141.                     {
  1142.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Tractor', nice!");
  1143.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1144.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1145.                     AddStaticVehicle(531, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1146.                     }
  1147.  
  1148.                     case 16:
  1149.                     {
  1150.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Dumper', nice!");
  1151.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1152.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1153.                     AddStaticVehicle(406, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1154.                     }
  1155.  
  1156.                     case 17:
  1157.                     {
  1158.                     SCM(playerid, COLOR_ORANGERED, "Server > You spawned car 'Hustler', nice!");
  1159.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1160.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1161.                     AddStaticVehicle(545, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1162.                     }
  1163.  
  1164.                     case 18:
  1165.                     {
  1166.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Cement Truck', nice!");
  1167.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1168.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1169.                     AddStaticVehicle(524, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1170.                     }
  1171.  
  1172.                     case 19:
  1173.                     {
  1174.                     SCM(playerid, COLOR_BLACK, "Server > You spawned car 'Romero', nice!");
  1175.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1176.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1177.                     AddStaticVehicle(442, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1178.                     }
  1179.                 }
  1180.             }
  1181.             return true;
  1182.         }
  1183.         case DIALOG_SHOWCAR5:
  1184.         {
  1185.             if(response)
  1186.             {
  1187.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  1188.  
  1189.                 switch(listitem)
  1190.                 {
  1191.                     case 0:
  1192.                     {
  1193.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Landstalker', nice!");
  1194.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1195.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1196.                     AddStaticVehicle(400, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1197.                     }
  1198.  
  1199.                     case 1:
  1200.                     {
  1201.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Pony', nice!");
  1202.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1203.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1204.                     AddStaticVehicle(413, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1205.                     }
  1206.  
  1207.                     case 2:
  1208.                     {
  1209.                     SCM(playerid, COLOR_GREENYELLOW, "Server > You spawned car 'Mule', nice!");
  1210.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1211.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1212.                     AddStaticVehicle(414, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1213.                     }
  1214.  
  1215.                     case 3:
  1216.                     {
  1217.                     SCM(playerid, COLOR_YELLOWGREEN, "Server > You spawned car 'Moonbeam', nice!");
  1218.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1219.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1220.                     AddStaticVehicle(418, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1221.                     }
  1222.  
  1223.                     case 4:
  1224.                     {
  1225.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Bobcat', nice!");
  1226.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1227.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1228.                     AddStaticVehicle(422, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1229.                     }
  1230.  
  1231.                     case 5:
  1232.                     {
  1233.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Rumpo', nice!");
  1234.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1235.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1236.                     AddStaticVehicle(440, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1237.                     }
  1238.  
  1239.                     case 6:
  1240.                     {
  1241.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'FlatBed', nice!");
  1242.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1243.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1244.                     AddStaticVehicle(455, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1245.                     }
  1246.  
  1247.                     case 7:
  1248.                     {
  1249.                     SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned car 'Yankee', nice!");
  1250.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1251.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1252.                     AddStaticVehicle(456, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1253.                     }
  1254.  
  1255.                     case 8:
  1256.                     {
  1257.                     SCM(playerid, COLOR_FLBLUE, "Server > You spawned car 'RC Van', nice!");
  1258.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1259.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1260.                     AddStaticVehicle(459, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1261.                     }
  1262.  
  1263.                     case 9:
  1264.                     {
  1265.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Walton', nice!");
  1266.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1267.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1268.                     AddStaticVehicle(478, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1269.                     }
  1270.  
  1271.                     case 10:
  1272.                     {
  1273.                     SCM(playerid, COLOR_MAROON, "Server > You spawned car 'Burrito', nice!");
  1274.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1275.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1276.                     AddStaticVehicle(482, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1277.                     }
  1278.  
  1279.                     case 11:
  1280.                     {
  1281.                     SCM(playerid, COLOR_CORAL, "Server > You spawned car 'Rancher', nice!");
  1282.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1283.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1284.                     AddStaticVehicle(489, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1285.                     }
  1286.  
  1287.                     case 12:
  1288.                     {
  1289.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned car 'Sandking', nice!");
  1290.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1291.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1292.                     AddStaticVehicle(495, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1293.                     }
  1294.  
  1295.                     case 13:
  1296.                     {
  1297.                     SCM(playerid, COLOR_MEDIUMMAGENTA, "Server > You spawned car 'Boxville', nice!");
  1298.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1299.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1300.                     AddStaticVehicle(498, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1301.                     }
  1302.  
  1303.                     case 14:
  1304.                     {
  1305.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'Benson', nice!");
  1306.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1307.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1308.                     AddStaticVehicle(499, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1309.                     }
  1310.  
  1311.                     case 15:
  1312.                     {
  1313.                     SCM(playerid, COLOR_SPECIAL6, "Server > You spawned car 'TowTruck', nice!");
  1314.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1315.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1316.                     AddStaticVehicle(525, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1317.                     }
  1318.  
  1319.                     case 16:
  1320.                     {
  1321.                     SCM(playerid, COLOR_CRIMSON, "Server > You spawned car 'Sandler', nice!");
  1322.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1323.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1324.                     AddStaticVehicle(543, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1325.                     }
  1326.  
  1327.                     case 17:
  1328.                     {
  1329.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Yosemite', nice!");
  1330.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1331.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1332.                     AddStaticVehicle(554, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1333.                     }
  1334.  
  1335.                     case 18:
  1336.                     {
  1337.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Dune', nice!");
  1338.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1339.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1340.                     AddStaticVehicle(573, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1341.                     }
  1342.  
  1343.                     case 19:
  1344.                     {
  1345.                     SCM(playerid, COLOR_PINK, "Server > You spawned car 'Huntley', nice!");
  1346.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1347.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1348.                     AddStaticVehicle(579, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1349.                     }
  1350.                 }
  1351.             }
  1352.             return true;
  1353.         }
  1354.         case DIALOG_SHOWCAR4:
  1355.         {
  1356.             if(response)
  1357.             {
  1358.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  1359.  
  1360.                 switch(listitem)
  1361.                 {
  1362.                     case 0:
  1363.                     {
  1364.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Ambulance', nice!");
  1365.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1366.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1367.                     AddStaticVehicle(416, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1368.                     }
  1369.  
  1370.                     case 1:
  1371.                     {
  1372.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Enforcer', nice!");
  1373.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1374.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1375.                     AddStaticVehicle(427, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1376.                     }
  1377.  
  1378.                     case 2:
  1379.                     {
  1380.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Security Car', nice!");
  1381.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1382.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1383.                     AddStaticVehicle(428, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1384.                     }
  1385.  
  1386.                     case 3:
  1387.                     {
  1388.                     SCM(playerid, COLOR_FLBLUE, "Server > You spawned car 'Patriot', nice!");
  1389.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1390.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1391.                     AddStaticVehicle(470, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1392.                     }
  1393.  
  1394.                     case 4:
  1395.                     {
  1396.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'FBI Rancher', nice!");
  1397.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1398.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1399.                     AddStaticVehicle(490, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1400.                     }
  1401.  
  1402.                     case 5:
  1403.                     {
  1404.                     SCM(playerid, COLOR_SPECIAL6, "Server > You spawned car 'Police Maverick', nice!");
  1405.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1406.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1407.                     AddStaticVehicle(497, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1408.                     }
  1409.  
  1410.                     case 6:
  1411.                     {
  1412.                     SCM(playerid, COLOR_SPECIAL3, "Server > You spawned car 'HPV-1000', nice!");
  1413.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1414.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1415.                     AddStaticVehicle(523, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1416.                     }
  1417.  
  1418.                     case 7:
  1419.                     {
  1420.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'FBI Truck', nice!");
  1421.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1422.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1423.                     AddStaticVehicle(528, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1424.                     }
  1425.  
  1426.                     case 8:
  1427.                     {
  1428.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'LSPD Car', nice!");
  1429.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1430.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1431.                     AddStaticVehicle(596, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1432.                     }
  1433.  
  1434.                     case 9:
  1435.                     {
  1436.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'LVPD Car', nice!");
  1437.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1438.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1439.                     AddStaticVehicle(598, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1440.                     }
  1441.  
  1442.                     case 10:
  1443.                     {
  1444.                     SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned car 'SFPD Car', nice!");
  1445.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1446.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1447.                     AddStaticVehicle(597, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1448.                     }
  1449.  
  1450.                     case 11:
  1451.                     {
  1452.                     SCM(playerid, COLOR_SPECIAL1, "Server > You spawned car 'PD Rancher', nice!");
  1453.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1454.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1455.                     AddStaticVehicle(599, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1456.                     }
  1457.  
  1458.                     case 12:
  1459.                     {
  1460.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'S.W.A.T', nice!");
  1461.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1462.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1463.                     AddStaticVehicle(601, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1464.                     }
  1465.  
  1466.                     case 13:
  1467.                     {
  1468.                     SCM(playerid, COLOR_ORANGERED, "Server > You spawned car 'FireTruck LS', nice!");
  1469.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1470.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1471.                     AddStaticVehicle(407, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1472.                     }
  1473.  
  1474.                     case 14:
  1475.                     {
  1476.                     SCM(playerid, COLOR_TOMATO, "Server > You spawned car 'FireTruck LV', nice!");
  1477.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1478.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1479.                     AddStaticVehicle(544, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1480.                     }
  1481.  
  1482.                     case 15:
  1483.                     {
  1484.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Barracks', nice!");
  1485.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1486.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1487.                     AddStaticVehicle(433, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1488.                     }
  1489.                 }
  1490.             }
  1491.             return true;
  1492.         }
  1493.         case DIALOG_SHOWCAR3:
  1494.         {
  1495.             if(response)
  1496.             {
  1497.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  1498.  
  1499.                 switch(listitem)
  1500.                 {
  1501.                     case 0:
  1502.                     {
  1503.                     SCM(playerid, COLOR_MAROON, "Server > You spawned car 'Perrenial', nice!");
  1504.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1505.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1506.                     AddStaticVehicle(404, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1507.                     }
  1508.  
  1509.                     case 1:
  1510.                     {
  1511.                     SCM(playerid, COLOR_SPECIAL6, "Server > You spawned car 'Sentinel', nice!");
  1512.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1513.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1514.                     AddStaticVehicle(405, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1515.                     }
  1516.  
  1517.                     case 2:
  1518.                     {
  1519.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'Premier', nice!");
  1520.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1521.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1522.                     AddStaticVehicle(426, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1523.                     }
  1524.  
  1525.                     case 3:
  1526.                     {
  1527.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Admiral', nice!");
  1528.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1529.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1530.                     AddStaticVehicle(445, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1531.                     }
  1532.  
  1533.                     case 4:
  1534.                     {
  1535.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'Solair', nice!");
  1536.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1537.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1538.                     AddStaticVehicle(458, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1539.                     }
  1540.  
  1541.                     case 5:
  1542.                     {
  1543.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Regina', nice!");
  1544.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1545.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1546.                     AddStaticVehicle(479, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1547.                     }
  1548.  
  1549.                     case 6:
  1550.                     {
  1551.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Elegant', nice!");
  1552.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1553.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1554.                     AddStaticVehicle(507, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1555.                     }
  1556.  
  1557.                     case 7:
  1558.                     {
  1559.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Nebula', nice!");
  1560.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1561.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1562.                     AddStaticVehicle(516, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1563.                     }
  1564.  
  1565.                     case 8:
  1566.                     {
  1567.                     SCM(playerid, COLOR_BLACK, "Server >  You spawned car 'Williard', nice!");
  1568.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1569.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1570.                     AddStaticVehicle(529, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1571.                     }
  1572.  
  1573.                     case 9:
  1574.                     {
  1575.                     SCM(playerid, COLOR_SPECIAL1, "Server > You spawned car 'Vincent', nice!");
  1576.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1577.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1578.                     AddStaticVehicle(540, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1579.                     }
  1580.  
  1581.                     case 10:
  1582.                     {
  1583.                     SCM(playerid, COLOR_TOMATO, "Server > You spawned car 'Intruder', nice!");
  1584.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1585.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1586.                     AddStaticVehicle(546, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1587.                     }
  1588.  
  1589.                     case 11:
  1590.                     {
  1591.                     SCM(playerid, COLOR_SPECIAL5, "Server > You spawned car 'Primo', nice!");
  1592.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1593.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1594.                     AddStaticVehicle(547, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1595.                     }
  1596.  
  1597.                     case 12:
  1598.                     {
  1599.                     SCM(playerid, COLOR_SEAGREEN, "Server > You spawned car 'Sunrise', nice!");
  1600.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1601.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1602.                     AddStaticVehicle(550, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1603.                     }
  1604.  
  1605.                     case 13:
  1606.                     {
  1607.                     SCM(playerid, COLOR_MIDNIGHTBLUE, "Server > You spawned car 'Merit', nice!");
  1608.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1609.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1610.                     AddStaticVehicle(551, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1611.                     }
  1612.  
  1613.                     case 14:
  1614.                     {
  1615.                     SCM(playerid, COLOR_CRIMSON, "Server > You spawned car 'Stratum', nice!");
  1616.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1617.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1618.                     AddStaticVehicle(561, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1619.                     }
  1620.  
  1621.                     case 15:
  1622.                     {
  1623.                     SCM(playerid, COLOR_LIGHTBLUE, "Server > You spawned car 'Tahoma', nice!");
  1624.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1625.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1626.                     AddStaticVehicle(566, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1627.                     }
  1628.  
  1629.                     case 16:
  1630.                     {
  1631.                     SCM(playerid, COLOR_IVORY, "Server > You spawned car 'Stafford', nice!");
  1632.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1633.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1634.                     AddStaticVehicle(580, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1635.                     }
  1636.  
  1637.                     case 17:
  1638.                     {
  1639.                     SCM(playerid, COLOR_SPECIAL4, "Server > You spawned car 'Emperor', nice!");
  1640.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1641.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1642.                     AddStaticVehicle(585, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1643.                     }
  1644.                 }
  1645.             }
  1646.             return true;
  1647.         }
  1648.         case DIALOG_SHOWCAR2:
  1649.         {
  1650.             if(response)
  1651.             {
  1652.                 new Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1 = -1, color2 = -1;
  1653.  
  1654.                 switch(listitem)
  1655.                 {
  1656.                     case 0:
  1657.                     {
  1658.                     SCM(playerid, COLOR_LIMEGREEN, "Server > You spawned car 'Bravura', nice!");
  1659.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1660.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1661.                     AddStaticVehicle(401, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1662.                     }
  1663.  
  1664.                     case 1:
  1665.                     {
  1666.                     SCM(playerid, COLOR_BLUE, "Server > You spawned car 'Buffalo', nice!");
  1667.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1668.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1669.                     AddStaticVehicle(402, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1670.                     }
  1671.  
  1672.                     case 2:
  1673.                     {
  1674.                     SCM(playerid, COLOR_CORAL, "Server > You spawned car 'Manana', nice!");
  1675.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1676.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1677.                     AddStaticVehicle(410, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1678.                     }
  1679.  
  1680.                     case 3:
  1681.                     {
  1682.                     SCM(playerid, COLOR_BROWN, "Server > You spawned car 'Esperanto', nice!");
  1683.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1684.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1685.                     AddStaticVehicle(419, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1686.                     }
  1687.  
  1688.                     case 4:
  1689.                     {
  1690.                     SCM(playerid, COLOR_GOLD, "Server > You spawned car 'Washington', nice!");
  1691.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1692.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1693.                     AddStaticVehicle(421, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1694.                     }
  1695.  
  1696.                     case 5:
  1697.                     {
  1698.                     SCM(playerid, COLOR_YELLOW, "Server > You spawned car 'BF Injection', nice!");
  1699.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1700.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1701.                     AddStaticVehicle(424, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1702.                     }
  1703.  
  1704.                     case 6:
  1705.                     {
  1706.                     SCM(playerid, COLOR_MAROON, "Server > You spawned car 'Previon', nice!");
  1707.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1708.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1709.                     AddStaticVehicle(436, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1710.                     }
  1711.  
  1712.                     case 7:
  1713.                     {
  1714.                     SCM(playerid, COLOR_MEDIUMAQUA, "Server > You spawned car 'Stallion', nice!");
  1715.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1716.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1717.                     AddStaticVehicle(439, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1718.                     }
  1719.  
  1720.                     case 8:
  1721.                     {
  1722.                     SCM(playerid, COLOR_MEDIUMMAGENTA, "Server > You spawned car 'Sabre', nice!");
  1723.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1724.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1725.                     AddStaticVehicle(475, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1726.                     }
  1727.  
  1728.                     case 9:
  1729.                     {
  1730.                     SCM(playerid, COLOR_INDIGO, "Server > You spawned car 'Comet', nice!");
  1731.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1732.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1733.                     AddStaticVehicle(480, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1734.                     }
  1735.  
  1736.                     case 10:
  1737.                     {
  1738.                     SCM(playerid, COLOR_CORAL, "Server > You spawned car 'Virgo', nice!");
  1739.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1740.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1741.                     AddStaticVehicle(491, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1742.                     }
  1743.  
  1744.                     case 11:
  1745.                     {
  1746.                     SCM(playerid, COLOR_GREEN, "Server > You spawned car 'Greenwood', nice!");
  1747.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1748.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1749.                     AddStaticVehicle(492, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1750.                     }
  1751.  
  1752.                     case 12:
  1753.                     {
  1754.                     SCM(playerid, COLOR_PINK, "Server > You spawned car 'Blista Compact', nice!");
  1755.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1756.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1757.                     AddStaticVehicle(496, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1758.                     }
  1759.  
  1760.                     case 13:
  1761.                     {
  1762.                     SCM(playerid, COLOR_RED, "Server > You spawned car 'Fortune', nice!");
  1763.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1764.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1765.                     AddStaticVehicle(526, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1766.                     }
  1767.  
  1768.                     case 14:
  1769.                     {
  1770.                     SCM(playerid, COLOR_SEAGREEN, "Server > You spawned car 'Cardona', nice!");
  1771.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1772.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1773.                     AddStaticVehicle(527, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1774.                     }
  1775.  
  1776.                     case 15:
  1777.                     {
  1778.                     SCM(playerid, COLOR_BISQUE, "Server > You spawned car 'Clover', nice!");
  1779.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1780.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1781.                     AddStaticVehicle(542, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1782.                     }
  1783.  
  1784.                     case 16:
  1785.                     {
  1786.                     SCM(playerid, COLOR_YELLOWGREEN, "Server > You spawned car 'Tampa', nice!");
  1787.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1788.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1789.                     AddStaticVehicle(549, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1790.                     }
  1791.  
  1792.                     case 17:
  1793.                     {
  1794.                     SCM(playerid, COLOR_BLACK, "Server > You spawned car 'Windsor', nice!");
  1795.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1796.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1797.                     AddStaticVehicle(555, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1798.                     }
  1799.  
  1800.                     case 18:
  1801.                     {
  1802.                     SCM(playerid, COLOR_ORANGE, "Server > You spawned car 'Picador', nice!");
  1803.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1804.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1805.                     AddStaticVehicle(600, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1806.                     }
  1807.  
  1808.                     case 19:
  1809.                     {
  1810.                     SCM(playerid, COLOR_YELLOWGREEN, "Server > You spawned car 'Flash', nice!");
  1811.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1812.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1813.                     AddStaticVehicle(565, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1814.                     }
  1815.  
  1816.                     case 20:
  1817.                     {
  1818.                     SCM(playerid, COLOR_CORAL, "Server > You spawned car 'Phoenix', nice!");
  1819.                     GetPlayerPos(playerid, Float:spawn_x, Float:spawn_y, Float:spawn_z);
  1820.                     GetPlayerFacingAngle(playerid, Float:z_angle);
  1821.                     AddStaticVehicle(603, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2);
  1822.                     }
  1823.                 }
  1824.             }
  1825.             return true;
  1826.         }
RAW Paste Data Copied