Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.45 KB | None | 0 0
  1. //Code to remove the house object
  2. RemoveBuildingForPlayer(playerid, 5670, 2059.8672, -1701.2500, 15.9609, 0.25);
  3. RemoveBuildingForPlayer(playerid, 5421, 2059.8672, -1701.2500, 15.9609, 0.25);
  4.  
  5.  
  6.  
  7.  
  8.  
  9. //The mapping code
  10.  
  11. //living room & kitchen walls
  12. retexture = CreateDynamicObject(19359, 2064.65, -1703.39, 15.07, 0.00, 0.00, 0.00);
  13. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  14. retexture = CreateDynamicObject(19359, 2066.33, -1704.93, 15.07, 0.00, 0.00, 90.00);
  15. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  16. retexture = CreateDynamicObject(19359, 2066.15, -1709.78, 15.07, 0.00, 0.00, 90.00);
  17. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  18. retexture = CreateDynamicObject(19359, 2062.95, -1709.78, 15.07, 0.00, 0.00, 90.00);
  19. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  20. retexture = CreateDynamicObject(19359, 2059.74, -1709.78, 15.07, 0.00, 0.00, 90.00);
  21. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  22. retexture = CreateDynamicObject(19359, 2058.27, -1709.16, 15.07, 0.00, 0.00, 0.00);
  23. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  24. retexture = CreateDynamicObject(19359, 2058.26, -1703.44, 15.07, 0.00, 0.00, 0.00);
  25. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  26. retexture = CreateDynamicObject(19359, 2058.28, -1697.82, 15.07, 0.00, 0.00, 0.00);
  27. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  28. retexture = CreateDynamicObject(19359, 2058.97, -1698.70, 15.07, 0.00, 0.00, 90.00);
  29. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  30. retexture = CreateDynamicObject(19405, 2064.64, -1700.20, 15.07, 0.00, 0.00, 0.00);
  31. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  32. retexture = CreateDynamicObject(19405, 2067.78, -1707.42, 15.07, 0.00, 0.00, 0.00);
  33. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  34. retexture = CreateDynamicObject(19405, 2062.18, -1698.70, 15.07, 0.00, 0.00, 90.00);
  35. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  36. retexture = CreateDynamicObject(19432, 2067.81, -1705.64, 15.07, 0.00, 0.00, 0.00);
  37. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  38. retexture = CreateDynamicObject(19432, 2067.81, -1709.38, 15.07, 0.00, 0.00, 0.00);
  39. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  40. retexture = CreateDynamicObject(19432, 2063.90, -1698.69, 15.07, 0.00, 0.00, 90.00);
  41. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  42. retexture = CreateDynamicObject(19389, 2058.28, -1701.00, 15.07, 0.00, 0.00, 0.00);
  43. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  44. retexture = CreateDynamicObject(19389, 2058.27, -1705.96, 15.07, 0.00, 0.00, 0.00);
  45. SetDynamicObjectMaterial(retexture, 0, 9514, "711_sfw", "rebrckwall_128", 0xFFFFFFFF);
  46.  
  47. //Bathroom walls
  48. retexture = CreateDynamicObject(19353, 2056.56, -1702.59, 15.07, 0.00, 0.00, 90.00);
  49. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  50. retexture = CreateDynamicObject(19383, 2058.18, -1701.01, 15.07, 0.00, 0.00, 0.00);
  51. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  52. retexture = CreateDynamicObject(19353, 2055.26, -1702.62, 15.07, 0.00, 0.00, 90.00);
  53. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  54. retexture = CreateDynamicObject(19353, 2058.18, -1697.80, 15.07, 0.00, 0.00, 0.00);
  55. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  56. retexture = CreateDynamicObject(19353, 2056.55, -1698.78, 15.07, 0.00, 0.00, 90.00);
  57. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  58. retexture = CreateDynamicObject(19353, 2054.89, -1698.78, 15.07, 0.00, 0.00, 90.00);
  59. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  60. retexture = CreateDynamicObject(19353, 2053.90, -1700.96, 15.07, 0.00, 0.00, 0.00);
  61. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  62. retexture = CreateDynamicObject(19353, 2053.87, -1698.92, 15.07, 0.00, 0.00, 0.00);
  63. SetDynamicObjectMaterial(retexture, 0, 11100, "bendytunnel_sfse", "Bow_sub_walltiles", 0xFFFFFFFF);
  64.  
  65. //Bathroom floor
  66. retexture = CreateDynamicObject(19464, 2055.79, -1699.76, 13.20, 0.00, 90.00, 0.00);
  67. SetDynamicObjectMaterial(retexture, 0, 13724, "docg01_lahills", "ws_stationfloor", 0xFFFFFFFF);
  68.  
  69.  
  70. //kitchen floor
  71. retexture = CreateDynamicObject(19379, 2062.93, -1710.15, 13.27, 0.00, 90.00, 90.00);
  72. SetDynamicObjectMaterial(retexture, 0, 3961, "lee_kitch", "dinerfloor01_128", 0xFFFFFFFF);
  73.  
  74.  
  75. CreateDynamicObject(19325, 2067.78, -1708.25, 14.96, 0.00, 0.00, 0.00);
  76. CreateDynamicObject(19325, 2064.61, -1701.66, 14.96, 0.00, 0.00, 0.00);
  77. CreateDynamicObject(19367, 2058.24, -1709.16, 15.07, 0.00, 0.00, 0.00);
  78. CreateDynamicObject(19395, 2058.24, -1705.95, 15.07, 0.00, 0.00, 0.00);
  79. CreateDynamicObject(19413, 2053.79, -1705.90, 15.07, 0.00, 0.00, 0.00);
  80. CreateDynamicObject(19367, 2058.20, -1703.41, 15.07, 0.00, 0.00, 0.00);
  81. CreateDynamicObject(19367, 2056.60, -1702.80, 15.07, 0.00, 0.00, 90.00);
  82. CreateDynamicObject(19367, 2055.38, -1702.81, 15.07, 0.00, 0.00, 90.00);
  83. CreateDynamicObject(19367, 2053.79, -1702.70, 15.07, 0.00, 0.00, 0.00);
  84. CreateDynamicObject(19367, 2056.65, -1709.67, 15.07, 0.00, 0.00, 90.00);
  85. CreateDynamicObject(19367, 2055.01, -1709.65, 15.07, 0.00, 0.00, 90.00);
  86. CreateDynamicObject(19367, 2053.79, -1709.11, 15.07, 0.00, 0.00, 0.00);
  87. CreateDynamicObject(19325, 2053.80, -1706.31, 14.96, 0.00, 0.00, 0.00);
  88. CreateDynamicObject(19378, 2063.15, -1703.87, 13.25, 0.00, 90.00, 90.00);
  89. CreateDynamicObject(19378, 2063.15, -1705.37, 13.24, 0.00, -90.00, 90.00);
  90. CreateDynamicObject(2017, 2059.81, -1709.24, 13.34, 0.00, 0.00, 180.00);
  91. CreateDynamicObject(2013, 2062.80, -1709.24, 13.34, 0.00, 0.00, 180.00);
  92. CreateDynamicObject(2016, 2063.80, -1709.24, 13.34, 0.00, 0.00, 180.00);
  93. CreateDynamicObject(2015, 2058.82, -1708.25, 13.34, 0.00, 0.00, 90.00);
  94. CreateDynamicObject(2022, 2058.82, -1709.24, 13.34, 0.00, 0.00, 180.00);
  95. CreateDynamicObject(2014, 2060.81, -1709.24, 13.34, 0.00, 0.00, 180.00);
  96. CreateDynamicObject(19462, 2056.52, -1707.56, 13.27, 0.00, 90.00, 0.00);
  97. CreateDynamicObject(19462, 2055.53, -1707.56, 13.26, 0.00, 90.00, 0.00);
  98. CreateDynamicObject(1825, 2066.27, -1707.38, 13.34, 0.00, 0.00, 0.00);
  99. CreateDynamicObject(2812, 2066.17, -1707.40, 14.22, 0.00, 0.00, 0.00);
  100. CreateDynamicObject(2820, 2063.69, -1709.20, 14.34, 0.00, 0.00, 0.00);
  101. CreateDynamicObject(2831, 2062.89, -1709.25, 14.38, 0.00, 0.00, 0.00);
  102. CreateDynamicObject(2083, 2062.93, -1703.08, 13.34, 0.00, 0.00, 90.00);
  103. CreateDynamicObject(2818, 2061.58, -1702.61, 13.33, 0.00, 0.00, 0.00);
  104. CreateDynamicObject(2233, 2061.12, -1698.68, 13.33, 0.00, 0.00, 0.00);
  105. CreateDynamicObject(2297, 2061.42, -1699.18, 13.31, 0.00, 0.00, -45.00);
  106. CreateDynamicObject(1753, 2060.36, -1704.37, 13.32, 0.00, 0.00, 90.00);
  107. CreateDynamicObject(1753, 2062.37, -1704.33, 13.33, 0.00, 0.00, 180.00);
  108. CreateDynamicObject(2083, 2061.22, -1702.08, 13.34, 0.00, 0.00, -90.00);
  109. CreateDynamicObject(2818, 2061.58, -1703.71, 13.33, 0.00, 0.00, 0.00);
  110. CreateDynamicObject(2233, 2064.00, -1698.68, 13.33, 0.00, 0.00, 0.00);
  111. CreateDynamicObject(2523, 2056.29, -1699.33, 13.32, 0.00, 0.00, 0.00);
  112. CreateDynamicObject(2528, 2054.90, -1699.36, 13.32, 0.00, 0.00, 0.00);
  113. CreateDynamicObject(2522, 2055.79, -1701.97, 13.31, 0.00, 0.00, 180.00);
  114. CreateDynamicObject(1798, 2055.58, -1706.37, 13.35, 0.00, 0.00, 0.00);
  115. CreateDynamicObject(2323, 2056.50, -1707.53, 13.37, 0.00, 0.00, -92.00);
  116. CreateDynamicObject(2004, 2058.21, -1707.54, 13.73, 0.00, 0.00, -90.00);
  117. CreateDynamicObject(2008, 2055.74, -1709.09, 13.35, 0.00, 0.00, 180.00);
  118. CreateDynamicObject(1806, 2055.04, -1707.81, 13.34, 0.00, 0.00, 171.00);
  119. CreateDynamicObject(3962, 2055.93, -1702.94, 15.31, 0.00, 0.00, 90.00);
  120. CreateDynamicObject(2270, 2058.86, -1704.29, 14.72, 0.00, 0.00, 90.00);
  121. CreateDynamicObject(2264, 2058.87, -1702.96, 14.74, 0.00, 0.00, 90.00);
  122. CreateDynamicObject(19377, 2059.08, -1703.39, 16.78, 0.00, 90.00, 0.00);
  123. CreateDynamicObject(19377, 2059.08, -1705.03, 16.79, 0.00, 90.00, 0.00);
  124. CreateDynamicObject(19377, 2059.40, -1703.38, 16.79, 0.00, 90.00, 0.00);
  125. CreateDynamicObject(19377, 2062.50, -1709.62, 16.80, 0.00, 90.00, 0.00);
  126. CreateDynamicObject(2559, 2061.68, -1699.18, 14.65, 0.00, 0.00, 0.00);
  127. CreateDynamicObject(19325, 2061.60, -1698.72, 14.96, 0.00, 0.00, 90.00);
  128. CreateDynamicObject(2559, 2064.16, -1699.68, 14.62, 0.00, 0.00, -90.00);
  129. CreateDynamicObject(2559, 2067.27, -1706.94, 14.62, 0.00, 0.00, -90.00);
  130. CreateDynamicObject(2559, 2054.29, -1706.45, 14.62, 0.00, 0.00, 90.00);
  131. CreateDynamicObject(1498, 2058.52, -1698.78, 13.34, 0.00, 0.00, 0.00);
  132.  
  133. THIS NEEDS TO BE PUT IN THE REGULAR VIRTUAL WORLD. IT IS A DOOR FOR THE SIDE DOOR. THAT MATCHES THE INTERIOR SIDE DOOR.
  134. CreateDynamicObject(1498, 2057.32, -1698.77, 13.16, 0.00, 0.00, 0.00);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement