Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple MAPA esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè MAPA en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este MAPA sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple MAP is made especially for www.forum.sa-mp.com
- * DO NOT Post the map in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this MAP without my permission.
- */
- /*
- https://www.youtube.com/watch?v=4UsnYB0tnBk
- */
- #include <a_samp>
- new CajerosATM[73];
- public OnFilterScriptInit(){
- AddPlayerClass(23,316.0880,1807.7147,17.6406,88.9339,0,0,0,0,0,0); //
- CajerosATM[0]=CreateObject(18764, 308.67929, 1807.96887, 14.66570, 0.00000, 0.00000, 0.00000);
- SetObjectMaterial(CajerosATM[0], 0, 14536, "pleas_dome", "club_floor2_sfwTEST", -1);
- CajerosATM[1]=CreateObject(19325, 308.67291, 1809.96863, 17.93580, 90.00000, 0.00000, 90.00000);
- CajerosATM[2]=CreateObject(19325, 308.67291, 1805.96948, 17.93580, 90.00000, 0.00000, 90.00000);
- for(new index=1; index<3; index++) SetObjectMaterial(CajerosATM[index], 0, 18001, "genintintbarbera", "barbersmir1", -1);
- CajerosATM[3]=CreateObject(19466, 308.66580, 1809.97119, 20.25340, 0.00000, 0.00000, -90.00000);
- CajerosATM[4]=CreateObject(19466, 308.66580, 1809.95544, 20.25340, 0.00000, 0.00000, 90.00000);
- CajerosATM[5]=CreateObject(19466, 308.66580, 1805.92615, 20.25340, 0.00000, 0.00000, 90.00000);
- CajerosATM[6]=CreateObject(19466, 308.66580, 1806.00122, 20.25340, 0.00000, 0.00000, -90.00000);
- CajerosATM[7]=CreateObject(19466, 311.17569, 1807.97705, 20.86940, 0.00000, 0.00000, 180.00000);
- for(new index=3; index<8; index++) SetObjectMaterial(CajerosATM[index], 0, 2942, "kmb_atmx", "kmb_atm_sign", -1);
- CajerosATM[8]=CreateObject(19304, 310.65909, 1807.97705, 20.36150, 0.00000, 0.00000, 90.00000);
- CajerosATM[9]=CreateObject(19302, 310.65909, 1806.34595, 18.47260, 0.00000, 0.00000, 90.00000);
- CajerosATM[10]=CreateObject(19302, 310.65909, 1809.57422, 18.47260, 0.00000, 0.00000, -90.00000);
- for(new index=8; index<11; index++) SetObjectMaterial(CajerosATM[index], 0, 18001, "genintintbarbera", "barbersmir1", 0);
- CajerosATM[11]=CreateObject(2942, 307.16422, 1806.96167, 17.79670, 0.00000, 0.00000, 90.00000);
- CajerosATM[12]=CreateObject(2942, 307.16422, 1808.94275, 17.79670, 0.00000, 0.00000, 90.00000);
- for(new index=11; index<13; index++) SetObjectMaterial(CajerosATM[index], 0, -1, "none", "none", 0xFF888788);
- CajerosATM[13]=CreateObject(18762, 310.65909, 1805.96948, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[14]=CreateObject(18762, 306.66110, 1805.96948, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[15]=CreateObject(18762, 310.65909, 1809.96863, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[16]=CreateObject(18762, 306.66199, 1809.98865, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[17]=CreateObject(18762, 305.91812, 1806.96362, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[18]=CreateObject(18762, 305.91809, 1807.96655, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[19]=CreateObject(18762, 305.91809, 1808.96826, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[20]=CreateObject(18762, 306.88699, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[21]=CreateObject(18762, 305.91809, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[22]=CreateObject(18762, 307.86111, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[23]=CreateObject(18762, 308.83011, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[24]=CreateObject(18762, 309.81009, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[25]=CreateObject(18762, 310.65909, 1807.96887, 21.48870, 0.00000, 90.00000, 90.00000);
- CajerosATM[26]=CreateObject(18762, 306.36069, 1806.96362, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[27]=CreateObject(18762, 306.36069, 1807.96655, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[28]=CreateObject(18762, 306.36069, 1808.96826, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[29]=CreateObject(18762, 306.87900, 1807.96655, 18.75870, 0.00000, 0.00000, 0.00000);
- CajerosATM[30]=CreateObject(18762, 306.88699, 1807.98767, 17.63470, 0.00000, 90.00000, 90.00000);
- for(new index=13; index<31; index++) SetObjectMaterial(CajerosATM[index], 0, -1, "none", "none", 0xFF00BCFF);
- CajerosATM[31]=CreateObject(2275, 307.36041, 1806.95764, 18.54500, 0.00000, 0.00000, 90.00000);
- CajerosATM[32]=CreateObject(2275, 307.36041, 1808.96375, 18.54500, 0.00000, 0.00000, 90.00000);
- for(new index=31; index<33; index++) SetObjectMaterial(CajerosATM[index], 0, -1, "none", "none", 0xFF000000);
- for(new index=31; index<33; index++) SetObjectMaterial(CajerosATM[index], 1, 1749, "cj_tv", "CJ_TV_SCREEN", -1);
- CajerosATM[33]=CreateObject(2690, 307.49887, 1807.77380, 18.52200, 0.00000, 0.00000, 90.00000);
- CajerosATM[34]=CreateObject(2688, 307.40402, 1808.13928, 18.47770, 0.00000, 0.00000, 90.00000);
- CajerosATM[35]=CreateObject(2001, 306.66199, 1810.81812, 17.16430, 0.00000, 0.00000, 0.00000);
- CajerosATM[36]=CreateObject(2001, 310.65909, 1810.81812, 17.16430, 0.00000, 0.00000, 0.00000);
- CajerosATM[37]=CreateObject(2001, 306.66199, 1805.02515, 17.16430, 0.00000, 0.00000, 0.00000);
- CajerosATM[38]=CreateObject(2001, 310.65909, 1805.02515, 17.16430, 0.00000, 0.00000, 0.00000);
- CajerosATM[39]=CreateObject(2740, 308.19260, 1807.94287, 20.58910, 0.00000, 0.00000, 0.00000);
- CajerosATM[40]=CreateObject(19281, 308.19260, 1807.94287, 20.58910, 0.00000, 0.00000, 0.00000);
- CajerosATM[41]=CreateObject(1893, 308.19260, 1809.18127, 20.68790, 0.00000, 0.00000, 0.00000);
- CajerosATM[42]=CreateObject(1893, 308.17261, 1806.74268, 20.68790, 0.00000, 0.00000, 0.00000);
- CajerosATM[43]=CreateObject(2833, 311.05109, 1807.45178, 17.16700, 0.00000, 0.00000, 90.00000);
- CajerosATM[44]=CreateObject(2833, 306.88333, 1806.45789, 17.16700, 0.00000, 0.00000, 0.00000);
- CajerosATM[45]=CreateObject(2833, 306.88330, 1808.45691, 17.16700, 0.00000, 0.00000, 0.00000);
- for(new index=43; index<46; index++) SetObjectMaterial(CajerosATM[index], 0, 18032, "range_xtras2", "rubber_mat", -1);
- CajerosATM[46]=CreateObject(2716, 310.65909, 1806.39099, 18.47260, 0.00000, 0.00000, -90.00000);
- CajerosATM[47]=CreateObject(2716, 310.65909, 1809.55127, 18.47260, 0.00000, 0.00000, -90.00000);
- AttachObjectToObject(CajerosATM[46], CajerosATM[9], 0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1);
- AttachObjectToObject(CajerosATM[47], CajerosATM[10], 0.0, -0.5, 0.0, 0.0, 0.0, 0.0, 1);
- for(new index=46; index<48; index++) SetObjectMaterial(CajerosATM[index], 0, 2942, "kmb_atmx", "kmb_atm_sign", -1);
- CajerosATM[48]=CreateObject(1721, 309.59119, 1806.22437, 17.16330, 0.00000, 0.00000, 0.00000);
- CajerosATM[49]=CreateObject(1721, 308.81061, 1806.25305, 17.16330, 0.00000, 0.00000, -5.00000);
- CajerosATM[50]=CreateObject(1721, 308.81061, 1809.67395, 17.16330, 0.00000, 0.00000, 189.00000);
- CajerosATM[51]=CreateObject(1808, 309.61121, 1809.67395, 17.16330, 0.00000, 0.00000, 0.00000);
- CajerosATM[52]=CreateObject(2674, 310.01242, 1809.42786, 17.18460, 0.00000, 0.00000, 0.00000);
- CajerosATM[53]=CreateObject(2674, 307.51212, 1807.46277, 17.18460, 0.00000, 0.00000, 84.00000);
- CajerosATM[54]=CreateObject(1892, 310.93228, 1807.44678, 17.17440, 0.00000, 0.00000, 90.00000);
- CajerosATM[55]=CreateObject(18646, 310.92789, 1807.15564, 18.59410, 180.00000, 0.00000, 0.00000);
- CajerosATM[56]=CreateObject(18646, 310.92789, 1808.75391, 18.59410, 180.00000, 0.00000, 0.00000);
- CajerosATM[57]=CreateObject(19279, 306.66110, 1805.22522, 21.40790, -90.00000, 0.00000, 180.00000);
- CajerosATM[58]=CreateObject(19279, 310.65909, 1805.22522, 21.40790, -90.00000, 0.00000, 180.00000);
- CajerosATM[59]=CreateObject(19279, 306.66199, 1810.71448, 21.40790, -90.00000, 0.00000, 0.00000);
- CajerosATM[60]=CreateObject(19279, 310.65909, 1810.71448, 21.40790, -90.00000, 0.00000, 0.00000);
- CajerosATM[61]=CreateObject(19279, 305.18320, 1807.96655, 21.40790, -90.00000, 0.00000, 90.00000);
- CajerosATM[62]=CreateObject(19279, 311.39670, 1807.96655, 21.84790, -90.00000, 0.00000, -90.00000);
- CajerosATM[63]=CreateObject(19281, 306.66110, 1805.22522, 21.40790, 0.00000, 0.00000, 0.00000);
- CajerosATM[64]=CreateObject(19281, 310.65909, 1805.22522, 21.40790, 0.00000, 0.00000, 0.00000);
- CajerosATM[65]=CreateObject(19281, 306.66199, 1810.71448, 21.40790, 0.00000, 0.00000, 0.00000);
- CajerosATM[66]=CreateObject(19281, 310.65909, 1810.71448, 21.40790, 0.00000, 0.00000, 0.00000);
- CajerosATM[67]=CreateObject(19281, 305.18320, 1807.96655, 21.40790, 0.00000, 0.00000, 0.00000);
- CajerosATM[68]=CreateObject(19281, 311.39670, 1807.96655, 21.84790, 0.00000, 0.00000, 0.00000);
- CajerosATM[69]=CreateObject(2954, 305.46381, 1808.24316, 17.15200, 0.00000, 0.00000, 180.00000);
- CajerosATM[70]=CreateObject(927, 305.41550, 1808.14111, 19.45930, 0.00000, 0.00000, 90.00000);
- CajerosATM[71]=CreateObject(1886, 307.44849, 1806.94299, 21.01270, 24.00000, 0.00000, 110.00000);
- CajerosATM[72]=CreateObject(1886, 307.44849, 1808.87195, 21.01270, 24.00000, 0.00000, 62.00000);
- new Float:pos[4][6];
- for(new index=1; index<73; index++){
- GetObjectPos(CajerosATM[0],pos[0][0],pos[0][1],pos[0][2]);
- GetObjectPos(CajerosATM[index],pos[1][0],pos[1][1],pos[1][2]);
- GetObjectRot(CajerosATM[index],pos[2][0],pos[2][1],pos[2][2]);
- AttachObjectToObject(CajerosATM[index], CajerosATM[0], floatsub(pos[1][0], pos[0][0]),floatsub(pos[1][1], pos[0][1]),floatsub(pos[1][2], pos[0][2]), pos[2][0],pos[2][1],pos[2][2], 1);
- }
- SetObjectPos(CajerosATM[0], 309.88510, 1801.02393, 14.14570);
- GetObjectPos(CajerosATM[0],pos[3][0],pos[3][1],pos[3][2]);
- GetObjectRot(CajerosATM[0],pos[3][3],pos[3][4],pos[3][5]);
- pos[3][0] = pos[3][0] + (2 * floatsin(-pos[3][5]+90, degrees));
- pos[3][1] = pos[3][1] + (2 * floatcos(-pos[3][5]+90, degrees));
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement