1. /*
  2. By OTACON
  3. */
  4. #include <a_samp>
  5. #include <zcmd>
  6. new WangCarsNuevo[12];
  7. public OnFilterScriptInit() {
  8. WangCarsNuevo[0]=CreateObject(11317, -1947.21875, 280.82031, 45.27344, 0.00000, 0.00000, 0.00000);
  9. WangCarsNuevo[1]=CreateObject(3851, -1965.21875, 302.85938, 36.46875, 0.00000, 0.00000, 0.00000);
  10. WangCarsNuevo[2]=CreateObject(3851, -1965.21875, 302.85938, 42.04688, 0.00000, 0.00000, 0.00000);
  11. WangCarsNuevo[3]=CreateObject(3851, -1965.21875, 285.06250, 36.46875, 0.00000, 0.00000, 0.00000);
  12. WangCarsNuevo[4]=CreateObject(3851, -1965.21875, 285.06250, 42.04688, 0.00000, 0.00000, 0.00000);
  13. WangCarsNuevo[5]=CreateObject(3851, -1965.21875, 271.91406, 42.04688, 0.00000, 0.00000, 0.00000);
  14. WangCarsNuevo[6]=CreateObject(3851, -1965.21875, 271.91406, 36.46875, 0.00000, 0.00000, 0.00000);
  15. WangCarsNuevo[7]=CreateObject(3851, -1965.21875, 258.77344, 42.04688, 0.00000, 0.00000, 0.00000);
  16. WangCarsNuevo[8]=CreateObject(3851, -1965.21875, 258.77344, 36.46875, 0.00000, 0.00000, 0.00000);
  17. WangCarsNuevo[9]=CreateObject(3851, -1947.19531, 253.10938, 42.04688, 0.00000, 0.00000, 90.0000);
  18. WangCarsNuevo[10]=CreateObject(3851, -1941.53906, 271.91406, 42.04688, 0.00000, 0.00000, 0.00000);
  19. WangCarsNuevo[11]=CreateObject(3851, -1941.53906, 258.77344, 42.04688, 0.00000, 0.00000, 0.00000);
  20. return 1;
  21. }
  22. public OnPlayerConnect(playerid) {
  23. RemoveBuildingForPlayer(playerid, 11321, -1947.2188, 280.8203, 45.2734, 0.25);
  24. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 302.8594, 36.4688, 0.25);
  25. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 302.8594, 42.0469, 0.25);
  26. RemoveBuildingForPlayer(playerid, 3851, -1947.1953, 253.1094, 42.0469, 0.25);
  27. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 258.7734, 36.4688, 0.25);
  28. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 258.7734, 42.0469, 0.25);
  29. RemoveBuildingForPlayer(playerid, 3851, -1941.5391, 258.7734, 42.0469, 0.25);
  30. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 271.9141, 36.4688, 0.25);
  31. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 271.9141, 42.0469, 0.25);
  32. RemoveBuildingForPlayer(playerid, 3851, -1941.5391, 271.9141, 42.0469, 0.25);
  33. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 285.0625, 36.4688, 0.25);
  34. RemoveBuildingForPlayer(playerid, 3851, -1965.2188, 285.0625, 42.0469, 0.25);
  35. RemoveBuildingForPlayer(playerid, 11317, -1947.2188, 280.8203, 45.2734, 0.25);
  36. return 1;
  37. }
  38. COMMAND:1(playerid, params[]) {
  39. SetObjectMaterial(WangCarsNuevo[0], 1, 11317, "carshow_sfse", "ws_rooftarmac1", 0); //Techo Fuera
  40. SetObjectMaterial(WangCarsNuevo[0], 2, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFFFFFF00); //Borde
  41. SetObjectMaterial(WangCarsNuevo[0], 3, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFFFFFF00); //Cartel
  42. SetObjectMaterial(WangCarsNuevo[0], 5, 19379, "all_walls", "mp_shop_floor2", 0); //Piso General
  43. SetObjectMaterial(WangCarsNuevo[0], 6, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Techo Dentro
  44. SetObjectMaterial(WangCarsNuevo[0], 7, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Generales
  45. SetObjectMaterial(WangCarsNuevo[0], 8, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Dentro
  46. SetObjectMaterial(WangCarsNuevo[0], 10, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Ventana
  47. SetObjectMaterial(WangCarsNuevo[0], 11, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Puerta
  48. SetObjectMaterial(WangCarsNuevo[1], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  49. SetObjectMaterial(WangCarsNuevo[2], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  50. SetObjectMaterial(WangCarsNuevo[3], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  51. SetObjectMaterial(WangCarsNuevo[4], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  52. SetObjectMaterial(WangCarsNuevo[5], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  53. SetObjectMaterial(WangCarsNuevo[6], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  54. SetObjectMaterial(WangCarsNuevo[7], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  55. SetObjectMaterial(WangCarsNuevo[8], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  56. SetObjectMaterial(WangCarsNuevo[9], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  57. SetObjectMaterial(WangCarsNuevo[10], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  58. SetObjectMaterial(WangCarsNuevo[11], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  59. return 1;
  60. }
  61. COMMAND:2(playerid, params[]) {
  62. SetObjectMaterial(WangCarsNuevo[0], 1, 11317, "carshow_sfse", "ws_rooftarmac1", 0); //Techo Fuera
  63. SetObjectMaterial(WangCarsNuevo[0], 2, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFF00AC05); //Borde
  64. SetObjectMaterial(WangCarsNuevo[0], 3, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFF00AC05); //Cartel
  65. SetObjectMaterial(WangCarsNuevo[0], 5, 19379, "all_walls", "mp_shop_floor2", 0); //Piso General
  66. SetObjectMaterial(WangCarsNuevo[0], 6, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Techo Dentro
  67. SetObjectMaterial(WangCarsNuevo[0], 7, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Generales
  68. SetObjectMaterial(WangCarsNuevo[0], 8, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Dentro
  69. SetObjectMaterial(WangCarsNuevo[0], 10, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Ventana
  70. SetObjectMaterial(WangCarsNuevo[0], 11, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Puerta
  71. SetObjectMaterial(WangCarsNuevo[1], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  72. SetObjectMaterial(WangCarsNuevo[2], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  73. SetObjectMaterial(WangCarsNuevo[3], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  74. SetObjectMaterial(WangCarsNuevo[4], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  75. SetObjectMaterial(WangCarsNuevo[5], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  76. SetObjectMaterial(WangCarsNuevo[6], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  77. SetObjectMaterial(WangCarsNuevo[7], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  78. SetObjectMaterial(WangCarsNuevo[8], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  79. SetObjectMaterial(WangCarsNuevo[9], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  80. SetObjectMaterial(WangCarsNuevo[10], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  81. SetObjectMaterial(WangCarsNuevo[11], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  82. return 1;
  83. }
  84. COMMAND:3(playerid, params[]) {
  85. SetObjectMaterial(WangCarsNuevo[0], 1, 11317, "carshow_sfse", "ws_rooftarmac1", 0); //Techo Fuera
  86. SetObjectMaterial(WangCarsNuevo[0], 2, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFFCA00EF); //Borde
  87. SetObjectMaterial(WangCarsNuevo[0], 3, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFFCA00EF); //Cartel
  88. SetObjectMaterial(WangCarsNuevo[0], 5, 19379, "all_walls", "mp_shop_floor2", 0); //Piso General
  89. SetObjectMaterial(WangCarsNuevo[0], 6, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Techo Dentro
  90. SetObjectMaterial(WangCarsNuevo[0], 7, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Generales
  91. SetObjectMaterial(WangCarsNuevo[0], 8, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Dentro
  92. SetObjectMaterial(WangCarsNuevo[0], 10, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Ventana
  93. SetObjectMaterial(WangCarsNuevo[0], 11, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Puerta
  94. SetObjectMaterial(WangCarsNuevo[1], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  95. SetObjectMaterial(WangCarsNuevo[2], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  96. SetObjectMaterial(WangCarsNuevo[3], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  97. SetObjectMaterial(WangCarsNuevo[4], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  98. SetObjectMaterial(WangCarsNuevo[5], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  99. SetObjectMaterial(WangCarsNuevo[6], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  100. SetObjectMaterial(WangCarsNuevo[7], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  101. SetObjectMaterial(WangCarsNuevo[8], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  102. SetObjectMaterial(WangCarsNuevo[9], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  103. SetObjectMaterial(WangCarsNuevo[10], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  104. SetObjectMaterial(WangCarsNuevo[11], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  105. return 1;
  106. }
  107. COMMAND:4(playerid, params[]) {
  108. SetObjectMaterial(WangCarsNuevo[0], 1, 11317, "carshow_sfse", "ws_rooftarmac1", 0); //Techo Fuera
  109. SetObjectMaterial(WangCarsNuevo[0], 2, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFF00E8FF); //Borde
  110. SetObjectMaterial(WangCarsNuevo[0], 3, 11317, "carshow_sfse", "ws_altz_wall10b", 0xFF00E8FF); //Cartel
  111. SetObjectMaterial(WangCarsNuevo[0], 5, 19379, "all_walls", "mp_shop_floor2", 0); //Piso General
  112. SetObjectMaterial(WangCarsNuevo[0], 6, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Techo Dentro
  113. SetObjectMaterial(WangCarsNuevo[0], 7, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Generales
  114. SetObjectMaterial(WangCarsNuevo[0], 8, 11317, "carshow_sfse", "ws_altz_wall10b", 0); //Paredes Dentro
  115. SetObjectMaterial(WangCarsNuevo[0], 10, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Ventana
  116. SetObjectMaterial(WangCarsNuevo[0], 11, 19325, "lsmall_shops", "lsmall_window01", 0); //Vidrio Puerta
  117. SetObjectMaterial(WangCarsNuevo[1], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  118. SetObjectMaterial(WangCarsNuevo[2], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  119. SetObjectMaterial(WangCarsNuevo[3], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  120. SetObjectMaterial(WangCarsNuevo[4], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  121. SetObjectMaterial(WangCarsNuevo[5], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  122. SetObjectMaterial(WangCarsNuevo[6], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  123. SetObjectMaterial(WangCarsNuevo[7], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  124. SetObjectMaterial(WangCarsNuevo[8], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  125. SetObjectMaterial(WangCarsNuevo[9], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  126. SetObjectMaterial(WangCarsNuevo[10], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  127. SetObjectMaterial(WangCarsNuevo[11], 0, 19325, "lsmall_shops", "lsmall_window01", 0);
  128. return 1;
  129. }
  130. /*
  131. By OTACON
  132. */