OKStyle

Capitol Parking

Oct 9th, 2013
350
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. public OnFilterScriptInit()
  3. {
  4.     new parking = CreateObject(7661, 1152.596557, -1141.720703, 14.122817, 0.0, 0.0, 90.0); // parking
  5.     SetObjectMaterial(parking, 5, 4600, "theatrelan2", "sf_windos_4", 0);
  6.     SetObjectMaterial(parking, 6, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  7.     SetObjectMaterial(CreateObject(19004, 1144.455810, -1181.493408, 67.96, 0.0, 0.0, -45.0), 1, 5999, "sunst18_lawn", "greenwall2", 0);
  8.     SetObjectMaterial(CreateObject(7010, 1194.521362, -1191.329467, 20.550001, 0.0, 0.0, 0.0), 4, 4639, "crparkgm_lan2", "parking01_law", 0); // park enter lvpd
  9.     SetObjectMaterial(CreateObject(18980, 1170.319213, -1183.587646, 17.292335, 45.0, -90.0, 90.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  10.     SetObjectMaterial(CreateObject(18981, 1183.051025, -1181.621826, 10.928857, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  11.     SetObjectMaterial(CreateObject(18981, 1182.990966, -1181.621826, 4.738860, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "ws_carpark2", 0);
  12.     SetObjectMaterial(CreateObject(18981, 1185.800537, -1181.506958, -1.931138, 0.0, 0.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  13.     SetObjectMaterial(CreateObject(18981, 1157.919555, -1172.761596, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  14.     SetObjectMaterial(CreateObject(18981, 1132.919677, -1172.761596, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  15.     SetObjectMaterial(CreateObject(18981, 1132.919677, -1147.771606, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  16.     SetObjectMaterial(CreateObject(18981, 1157.919555, -1147.771606, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  17.     SetObjectMaterial(CreateObject(18981, 1182.916503, -1158.584472, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  18.     SetObjectMaterial(CreateObject(18981, 1182.910888, -1147.771606, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  19.     SetObjectMaterial(CreateObject(18981, 1147.583129, -1122.793457, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  20.     SetObjectMaterial(CreateObject(18981, 1172.558227, -1122.793457, 17.118824, 0.0, -90.0, 0.0), 0, 7244, "vgndwntwn1", "conc_wall_stripd128H", 0);
  21.     SetObjectMaterial(CreateObject(18766, 1172.918579, -1170.587158, 15.474987, 0.0, -90.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  22.     SetObjectMaterial(CreateObject(18766, 1172.918579, -1169.616210, 15.474987, 0.0, -90.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  23.     SetObjectMaterial(CreateObject(18766, 1177.900634, -1170.587158, 15.474987, 0.0, -90.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  24.     SetObjectMaterial(CreateObject(18766, 1177.900634, -1169.616210, 15.474987, 0.0, -90.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  25.     SetObjectMaterial(CreateObject(18766, 1182.900634, -1170.587158, 15.474987, 0.0, -90.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  26.     SetObjectMaterial(CreateObject(18766, 1182.895263, -1169.506103, 15.474987, 0.0, -90.0, 2.6), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  27.     SetObjectMaterial(CreateObject(18981, 1158.071533, -1184.963745, 4.439448, 0.0, 0.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  28.     SetObjectMaterial(CreateObject(18981, 1133.083374, -1184.963745, 4.439447, 0.0, 0.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  29.     SetObjectMaterial(CreateObject(18766, 1170.917480, -1185.367431, 15.474987, 0.0, 90.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  30.     SetObjectMaterial(CreateObject(18981, 1126.580200, -1171.937988, 4.738860, 0.0, 0.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  31.     SetObjectMaterial(CreateObject(18981, 1125.826538, -1170.793334, 4.738860, 0.0, 0.0, -15.5), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  32.     SetObjectMaterial(CreateObject(18981, 1132.352416, -1147.268432, 4.738860, 0.0, 0.0, -15.5), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  33.     SetObjectMaterial(CreateObject(18981, 1135.678344, -1122.880859, 4.738860, 0.0, 0.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  34.     SetObjectMaterial(CreateObject(18981, 1148.663085, -1118.504638, 4.439446, 0.0, 0.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  35.     SetObjectMaterial(CreateObject(18981, 1173.653808, -1118.504638, 4.439445, 0.0, 0.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  36.     SetObjectMaterial(CreateObject(18981, 1185.800537, -1131.507934, 4.738860, 0.0, 0.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  37.     SetObjectMaterial(CreateObject(18981, 1185.795166, -1156.508911, 4.738860, 0.0, 0.0, 0.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  38.     SetObjectMaterial(CreateObject(18981, 1187.259155, -1183.348510, -1.775007, 0.0, 0.0, 90.0), 0, 4600, "theatrelan2", "sf_windos_4", 0);
  39.     SetObjectMaterial(CreateObject(2898, 1126.054565, -1163.065429, 22.790313, 0.0, 0.0, 180.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  40.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1167.095581, 22.800313, 0.0, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  41.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1172.428466, 22.148412, 13.7, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  42.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1177.683349, 20.867122, 13.7, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  43.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1182.866455, 19.347387, 18.9, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  44.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1187.986816, 17.589733, 19.0, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  45.     SetObjectMaterial(CreateObject(2898, 1126.044555, -1192.532592, 16.854206, 0.7, 0.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  46.     SetObjectMaterial(CreateObject(18981, 1140.586791, -1166.849853, 22.318857, 0.0, -90.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  47.     SetObjectMaterial(CreateObject(18981, 1165.585327, -1166.849853, 22.318857, 0.0, -90.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  48.     SetObjectMaterial(CreateObject(18981, 1165.585327, -1191.501098, 19.952226, 11.0, -90.0, 0.0), 0, 5402, "hospital_lae", "man_cellarfloor128", 0xFFBCBCBC);
  49.     SetObjectMaterial(CreateObject(18981, 1131.440429, -1196.785522, 17.067529, 2.0, -95.0, 2.5), 0, 5823, "capitol_lawn", "greyground256", 0);
  50.     SetObjectMaterial(CreateObject(2898, 1204.148071, -1202.216796, 18.779594, -1.7, -6.3, 90.0), 0, 5823, "capitol_lawn", "greyground256", 0xFFBCBCBC);
  51.     SetObjectMaterial(CreateObject(18980, 1191.486816, -1200.677124, 18.478754, -90.2, 0.0, 90.0), 0, 5823, "capitol_lawn", "greyground256", 0);
  52.     SetObjectMaterial(CreateObject(9345, 1192.572143, -1169.418212, 22.891632, 0.0, 0.0, 0.0), 0, 7010, "vgndwntwn1", "yardgrass1", 0xFFBCBCBC);
  53.     SetObjectMaterial(CreateObject(9345, 1192.572143, -1164.229003, 22.912132, 0.0, 0.0, 180.0), 0, 7010, "vgndwntwn1", "yardgrass1", 0xFFBCBCBC);
  54.     SetObjectMaterial(CreateObject(9345, 1183.276367, -1172.005371, 22.902132, 0.0, 0.0, -140.0), 0, 7010, "vgndwntwn1", "yardgrass1", 0xFFBCBCBC);
  55.     SetObjectMaterial(CreateObject(9345, 1181.265747, -1168.031005, 22.891632, 0.0, 0.0, -90.0), 0, 7010, "vgndwntwn1", "yardgrass1", 0xFFBCBCBC);
  56.     SetObjectMaterial(CreateObject(9345, 1199.556640, -1168.019897, 22.821075, -0.2, 0.4, -89.4), 0, 7010, "vgndwntwn1", "yardgrass1", 0xFFBCBCBC);
  57.     SetObjectMaterial(CreateObject(18764, 1203.724243, -1163.564453, 22.148693, 0.0, 0.0, 0.0), 0, 7010, "vgndwntwn1", "brickvgn1_128", 0xFFBCBCBC);
  58.     return 1;
  59. }
  60. public OnPlayerConnect(playerid)
  61. {
  62.     RemoveBuildingForPlayer(playerid, 5767, 1160.9609, -1180.5781, 70.4141, 0.25); // объект
  63.     RemoveBuildingForPlayer(playerid, 5964, 1160.9609, -1180.5781, 70.4141, 0.25); // LOD
  64.     RemoveBuildingForPlayer(playerid, 5822, 1123.8203, -1198.8516, 25.7188, 0.25); // лестница
  65.     RemoveBuildingForPlayer(playerid, 5766, 1175.1797, -1180.5469, 58.0938, 0.25); // стекла
  66.     RemoveBuildingForPlayer(playerid, 1529, 1206.2500, -1162.0000, 23.8750, 0.25); // logo
  67.     return 1;
  68. }
RAW Paste Data