Advertisement
OtaconEvil

[FS/MAP] garages with inside (textured) | By OTACON

Aug 1st, 2016
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 12.61 KB | None | 0 0
  1. /*
  2.     * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.     *
  4.     * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
  5.     * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  6.     *
  7.     * Codigo Creado Por OTACON
  8.     *
  9.     * CREDITOS:
  10.     *     OTACON: Realizacion y Idea de creacion del code.
  11.     *     TÙ: Modificacion libremente respetando lo mencionado ;).
  12.     *
  13.     *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  14.     *
  15.     *                Prohibido TOTALMENTE el Robo de Créditos o la
  16.     *                  Publicación de este FILTERSCRIPT sin Mi Permiso.
  17. */
  18. /*
  19.     * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  20.     *
  21.     * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
  22.     * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
  23.     *
  24.     * Code Created By OTACON
  25.     *
  26.     * CREDITS:
  27.     *     OTACON: Idea Making and code creation.
  28.     *     YOUR: Modification freely respecting the above ;).
  29.     *
  30.     *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  31.     *
  32.     *                        FULLY spaces Theft Credit or
  33.     *                 Publication of this FILTERSCRIPT without my permission.
  34. */
  35.  
  36. /*
  37. https://www.youtube.com/watch?v=f70Bv9Y7HVU
  38. http://i.imgur.com/gu0oqcu.png
  39. */
  40.  
  41. #include <a_samp>
  42. new garages_door[2][6];
  43. new base;
  44.    
  45. public OnFilterScriptInit(){
  46.     AddPlayerClass(85,1011.0848,-1448.0579,13.5546,262.0000,0,0,0,0,0,0);
  47.  
  48.     base=CreateObject(6104, 1003.14844, -1467.69531, 16.57813,   0.00000, 0.00000, 0.00000);
  49.     SetObjectMaterial(base, 0, -1, "none", "none", 0x000000FF);
  50.     //puertas garages
  51.     garages_door[0][0]=CreateObject(1495, 1034.92664, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  52.     garages_door[0][1]=CreateObject(1495, 1026.81274, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  53.     garages_door[0][2]=CreateObject(1495, 1018.63702, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  54.     garages_door[0][3]=CreateObject(1495, 1010.24658, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  55.     garages_door[0][4]=CreateObject(1495, 1002.91559, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  56.     garages_door[0][5]=CreateObject(1495, 995.85797, -1469.71570, 12.53040,   0.00000, 0.00000, -55.00000);
  57.     for(new index=0; index<6; index++){SetObjectMaterial(garages_door[0][index], 0, -1, "none", "none", -1);}
  58.     //portones garages
  59.     garages_door[1][0]=CreateObject(5061, 1037.99866, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  60.     garages_door[1][1]=CreateObject(5061, 1029.12317, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  61.     garages_door[1][2]=CreateObject(5061, 1021.02643, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  62.     garages_door[1][3]=CreateObject(5061, 1012.54749, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  63.     garages_door[1][4]=CreateObject(5061, 1005.29932, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  64.     garages_door[1][5]=CreateObject(5061, 998.30042, -1464.68250, 16.46290,   0.00000, 0.00000, 90.00000);
  65.     for(new index=0; index<6; index++){SetObjectMaterial(garages_door[1][index], 0, 6104, "gazlaw2", "alleydoor9b", -1);}
  66.     //puertas
  67.     #define puertas(%0) SetObjectMaterial(%0, 0, 6104, "gazlaw2", "ws_doubledoor1", -1)
  68.     puertas( CreateObject(1535, 1032.61169, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  69.     puertas( CreateObject(1535, 1024.46045, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  70.     puertas( CreateObject(1535, 1016.16302, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  71.     puertas( CreateObject(1535, 1008.31390, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  72.     puertas( CreateObject(1535, 1001.13800, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  73.     puertas( CreateObject(1535, 1032.61169, -1467.4851, 12.53040,   0.00000, 0.00000, 0.00000) );
  74.     puertas( CreateObject(1535, 1024.46045, -1467.4851, 12.53040,   0.00000, 0.00000, 0.00000) );
  75.     puertas( CreateObject(1535, 1016.16302, -1467.4851, 12.53040,   0.00000, 0.00000, 0.00000) );
  76.     puertas( CreateObject(1535, 1008.31390, -1467.4851, 12.53040,   0.00000, 0.00000, 0.00000) );
  77.     puertas( CreateObject(1535, 1001.13800, -1467.4851, 12.53040,   0.00000, 0.00000, 0.00000) );
  78.     puertas( CreateObject(1535, 993.86542, -1467.48511, 12.53040,   0.00000, 0.00000, 0.00000) );
  79.     puertas( CreateObject(1535, 993.86542, -1464.16431, 12.53040,   0.00000, 0.00000, 0.00000) );
  80.     //techo
  81.     #define techo(%0) SetObjectMaterial(%0, 0, 6104, "gazlaw2", "ws_carpark2", -1)
  82.     techo( CreateObject(19377, 997.75739, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  83.     techo( CreateObject(19377, 1005.04480, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  84.     techo( CreateObject(19377, 1013.58350, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  85.     techo( CreateObject(19377, 1021.67548, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  86.     techo( CreateObject(19377, 1029.65601, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  87.     techo( CreateObject(19377, 1035.47632, -1468.97729, 15.32960,   0.00000, 90.00000, 0.00000) );
  88.     //piso
  89.     #define piso(%0) SetObjectMaterial(%0, 0, 6104, "gazlaw2", "ws_carpark2", -1)
  90.     piso( CreateObject(19377, 997.75739, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  91.     piso( CreateObject(19377, 1005.04480, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  92.     piso( CreateObject(19377, 1013.58350, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  93.     piso( CreateObject(19377, 1021.67548, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  94.     piso( CreateObject(19377, 1029.65601, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  95.     piso( CreateObject(19377, 1035.47632, -1468.97729, 12.45560,   0.00000, 90.00000, 0.00000) );
  96.     //paredes
  97.     #define paredes(%0) SetObjectMaterial(%0, 0, 6104, "gazlaw2", "law_gazbrn1", -1)
  98.     paredes( CreateObject(19371, 1000.88141, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  99.     paredes( CreateObject(19463, 993.33783, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  100.     paredes( CreateObject(19463, -1468.97437, 14.28910, 14.28910,   0.00000, 0.00000, 0.00000) );
  101.     paredes( CreateObject(19463, 1039.93787, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  102.     paredes( CreateObject(19463, 998.10175, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  103.     paredes( CreateObject(19463, 1005.54907, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  104.     paredes( CreateObject(19463, 1013.93799, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  105.     paredes( CreateObject(19463, 1022.01788, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  106.     paredes( CreateObject(19463, 1030.18787, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  107.     paredes( CreateObject(19463, 1035.20776, -1473.70105, 14.28910,   0.00000, 0.00000, 90.00000) );
  108.     paredes( CreateObject(19371, 1000.88141, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  109.     paredes( CreateObject(19371, 1000.88141, -1465.78308, 14.28910,   0.00000, 0.00000, 0.00000) );
  110.     paredes( CreateObject(19371, 1002.91559, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  111.     paredes( CreateObject(19398, 1002.91559, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  112.     paredes( CreateObject(19371, 1002.91559, -1465.78308, 14.28910,   0.00000, 0.00000, 0.00000) );
  113.     paredes( CreateObject(19371, 1007.92828, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  114.     paredes( CreateObject(19371, 1007.92828, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  115.     paredes( CreateObject(19371, 1007.92828, -1465.78308, 14.28910,   0.00000, 0.00000, 0.00000) );
  116.     paredes( CreateObject(19371, 1010.24658, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  117.     paredes( CreateObject(19398, 1010.24658, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  118.     paredes( CreateObject(19371, 1010.24658, -1465.78308, 14.28910,   0.00000, 0.00000, 0.00000) );
  119.     paredes( CreateObject(19371, 1015.26080, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  120.     paredes( CreateObject(19371, 1015.26080, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  121.     paredes( CreateObject(19371, 1015.26080, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  122.     paredes( CreateObject(19371, 1018.63702, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  123.     paredes( CreateObject(19398, 1018.63702, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  124.     paredes( CreateObject(19371, 1018.63702, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  125.     paredes( CreateObject(19371, 1023.64948, -1472.18982, 14.28910,   0.00000, 0.00000, 0.00000) );
  126.     paredes( CreateObject(19371, 1023.64941, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  127.     paredes( CreateObject(19371, 1023.64941, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  128.     paredes( CreateObject(19371, 1026.81274, -1472.18982, 14.28910,   0.00000, 0.00000, 0.00000) );
  129.     paredes( CreateObject(19398, 1026.81274, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  130.     paredes( CreateObject(19371, 1026.81274, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  131.     paredes( CreateObject(19371, 1031.82581, -1472.18982, 14.28910,   0.00000, 0.00000, 0.00000) );
  132.     paredes( CreateObject(19371, 1031.82581, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  133.     paredes( CreateObject(19371, 1031.82581, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  134.     paredes( CreateObject(19371, 1034.92664, -1472.18982, 14.28910,   0.00000, 0.00000, 0.00000) );
  135.     paredes( CreateObject(19398, 1034.92664, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  136.     paredes( CreateObject(19371, 1034.92664, -1465.76306, 14.28910,   0.00000, 0.00000, 0.00000) );
  137.     paredes( CreateObject(19371, 1033.40332, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  138.     paredes( CreateObject(19371, 1033.40332, -1467.41125, 14.28910,   0.00000, 0.00000, 90.00000) );
  139.     paredes( CreateObject(19371, 1025.25647, -1467.41125, 14.28910,   0.00000, 0.00000, 90.00000) );
  140.     paredes( CreateObject(19371, 1025.25647, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  141.     paredes( CreateObject(19371, 1016.94281, -1467.41125, 14.28910,   0.00000, 0.00000, 90.00000) );
  142.     paredes( CreateObject(19371, 1016.94281, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  143.     paredes( CreateObject(19444, 1009.47778, -1467.41125, 14.28910,   0.00000, 0.00000, 90.00000) );
  144.     paredes( CreateObject(19444, 1008.73798, -1467.40686, 14.28910,   0.00000, 0.00000, 90.00000) );
  145.     paredes( CreateObject(19444, 1008.73798, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  146.     paredes( CreateObject(19444, 1009.47778, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  147.     paredes( CreateObject(19444, 1002.15723, -1467.40686, 14.28910,   0.00000, 0.00000, 90.00000) );
  148.     paredes( CreateObject(19444, 1001.61682, -1467.40686, 14.28910,   0.00000, 0.00000, 90.00000) );
  149.     paredes( CreateObject(19444, 1001.61682, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  150.     paredes( CreateObject(19444, 1002.15723, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  151.     paredes( CreateObject(19371, 995.85797, -1465.78308, 14.28910,   0.00000, 0.00000, 0.00000) );
  152.     paredes( CreateObject(19398, 995.85797, -1468.97437, 14.28910,   0.00000, 0.00000, 0.00000) );
  153.     paredes( CreateObject(19371, 995.85797, -1472.16980, 14.28910,   0.00000, 0.00000, 0.00000) );
  154.     paredes( CreateObject(19444, 995.07898, -1467.40686, 14.28910,   0.00000, 0.00000, 90.00000) );
  155.     paredes( CreateObject(19444, 994.07831, -1467.40686, 14.28910,   0.00000, 0.00000, 90.00000) );
  156.     paredes( CreateObject(19444, 995.07898, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  157.     paredes( CreateObject(19444, 994.07831, -1470.54834, 14.28910,   0.00000, 0.00000, 90.00000) );
  158.     //pickups garages
  159.     CreatePickup(1239, 1, 1033.3741,-1463.7422,13.5760); // 1
  160.     CreatePickup(1239, 1, 1025.2151,-1463.7469,13.5701); // 2
  161.     CreatePickup(1239, 1, 1016.9222,-1463.7477,13.5640); // 3
  162.     CreatePickup(1239, 1, 1009.0556,-1463.7458,13.5582); // 4
  163.     CreatePickup(1239, 1, 1001.8975,-1463.7477,13.5530); // 5
  164.     CreatePickup(1239, 1, 994.6199,-1463.7472,13.5477); // 6
  165.     CreatePickup(1239, 1, 1033.3929,-1467.8683,13.5415); // 7
  166.     CreatePickup(1239, 1, 1025.2303,-1467.8666,13.5415); // 8
  167.     CreatePickup(1239, 1, 1016.9352,-1467.8728,13.5415); // 9
  168.     CreatePickup(1239, 1, 1009.1224,-1467.8667,13.5415); // 10
  169.     CreatePickup(1239, 1, 1001.8683,-1467.8730,13.5415); // 11
  170.     CreatePickup(1239, 1, 994.6180,-1467.8674,13.5415); // 12
  171.     return true;
  172. }
  173. public OnPlayerConnect(playerid){
  174.     RemoveBuildingForPlayer(playerid, 6154, 1003.1484, -1467.6953, 16.5781, 0.25);
  175.     RemoveBuildingForPlayer(playerid, 6104, 1003.1484, -1467.6953, 16.5781, 0.25);
  176.     return true;
  177. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement