Advertisement
Guest User

FS de Robo de Banco - Español

a guest
Aug 20th, 2015
6,853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 77.95 KB | None | 0 0
  1. /*
  2.     Informacion:
  3.     Hay funciones que tienes que cambiar y crear en
  4.     las variables del usuario, que son:
  5.         Variables del usuario:
  6.             pExplosivos
  7.             pTieneBolsaDinero
  8.         Funciones:
  9.             SendMSGFaccion <- este es para enviar msg a una facción, tienes que cambiarlo
  10.            
  11.     ** Si usas ZC en vez de Info yo lo tengo como Usuario asi que solo
  12.     lo cambias y ya está.
  13.    
  14.     ** Lo más recomandable es implentar este sistema a tu gm directamente..
  15.    
  16.     ** Créditos:
  17.         ******************************************************************************
  18.         **                  Creador del FS: JoseJoaquinZc (Jastak)                  **
  19.         **      Creador del Exterior del Mapeo del Banco: Un user de forum-samp     **
  20.         **          Creador del Exterior del Banco: ElioSkin (mi ex-mapper)         **
  21.         **     Gracias a Y_Lees y a Incognito y Zeex por los includes requeridos.   **
  22.         ******************************************************************************
  23.  
  24.     ** Información: Este sistema fué sacado de mi gm de 0, Jasta Roleplay que está en desarrollo,
  25.     Es la razón por lo que debes de ubicar esto en tu gm directamente cambiando cosas de cara  a tu gm.
  26.    
  27.     ** Hay un comando que es /explosivo que en teoria tiene que estár con un valor mayor que 0 lo hice para que fuera comprado en otro lugar,
  28.     yo que se.., un mercado negro, lo que sea.
  29. */
  30.  
  31. // Sistema de Banco.
  32. //Variables
  33.  
  34. #include <a_samp>
  35. #include <YSI\y_timers>
  36. #include <streamer>
  37. #include <zcmd>
  38.  
  39. enum ENUM_T // Esto es provicional ya que ustedes supuestamente necesita ubicar esto en su GM (el FS)
  40. {
  41.     pExplosivos,
  42.     pTieneBolsaDinero,
  43.     pVIP,
  44.     pFaccion
  45. };
  46. new Usuario[MAX_PLAYERS][ENUM_T];
  47.  
  48. #define COLOR_AMARILLO_HTML "{FFFF00}"
  49. #define COLOR_BLANCO_HTML   "{FFFFFF}"
  50. #define MAX_BOLSAS_D 5
  51. #define function%0(%1) forward%0(%1);public%0(%1)
  52. #define COLOR_AMARILLO      0xFEE639FF
  53. #define COLOR_BLANCO        -1
  54. #define COLOR_ROJO_NORMAL   0xE95500FF
  55. #define COLOR_GRIS          0xC9C9C9FF
  56. #define FACCION_LSPD        (1)
  57. #define COLOR_RADIO         0x45B6D5FF
  58. #define COLOR_ROL_ME        0xFF669FFF
  59. #define COLOR_VERDE         0x73A100FF
  60.  
  61. new BancoDineroPickup;
  62. new CamaraBanco;
  63. new bool:CogieronDinero = true;
  64. new bool:YaPuestoC4B;
  65. new C4Banco;
  66. new PuertaBanco;
  67. new LucesBanco = 1;
  68. new puertaB;
  69. new bool:Banco_Alertas[2];
  70. new Banco_Atiende[4];
  71. new Banco_Clientes[10];
  72. new Text3D:Banco_Atiende_T[4];
  73. new Text3D:Banco_Clientes_T[10];
  74. new Banco_Atiende_Ti[4];
  75. new Banco_Clientes_Ti[10];
  76. new bool: BancoYaRobado = false;
  77. new Text:TarjetaBancaria[5]; // el textdraw del banco.
  78. new bool: Tiene_Tarjeta_Bancaria[MAX_PLAYERS];
  79.  
  80. enum ENUM_BolsasD
  81. {
  82.     Float:bd_PosX,
  83.     Float:bd_PosY,
  84.     Float:bd_PosZ,
  85.     bd_dinero,
  86.     bd_objeto,
  87.     Text3D:bd_texto3D
  88. };
  89. new BolsasD[MAX_BOLSAS_D][ENUM_BolsasD];
  90.  
  91. // Funciones
  92.  
  93. UbicarClima(playerid)
  94. {
  95.     new t_hora, t_min, t_seg;
  96.     gettime(t_hora, t_min, t_seg);
  97.     //SetPlayerWeather(playerid, 4);
  98.     SetPlayerTime(playerid, t_hora, t_min);
  99.     return 1;
  100. }
  101.  
  102. stock GetPlayerNameEx(playerid)
  103. {
  104.     new name[MAX_PLAYER_NAME];
  105.     GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  106.     return name;
  107. }
  108.  
  109. stock ProxDetector(playerid, msj[], color1, color2, color3, color4, color5, Float: radio)
  110. {
  111.     new Float: X, Float: Y, Float: Z, vw, inte;
  112.     GetPlayerPos(playerid, X, Y, Z);
  113.     vw = GetPlayerVirtualWorld(playerid); inte = GetPlayerInterior(playerid);
  114.     for(new i = 0; i < MAX_PLAYERS; i++)
  115.     {
  116.         if(IsPlayerConnected(i) && GetPlayerInterior(i) == inte && GetPlayerVirtualWorld(i) == vw)
  117.         {
  118.             if(IsPlayerInRangeOfPoint(i, radio/1, X, Y, Z))
  119.             {
  120.                 SendClientMessage(i, color1, msj);
  121.             }
  122.             else if(IsPlayerInRangeOfPoint(i, radio/1.2, X, Y, Z))
  123.             {
  124.                 SendClientMessage(i, color2, msj);
  125.             }
  126.             else if(IsPlayerInRangeOfPoint(i, radio/1.8, X, Y, Z))
  127.             {
  128.                 SendClientMessage(i, color3, msj);
  129.             }
  130.             else if(IsPlayerInRangeOfPoint(i, radio/3, X, Y, Z))
  131.             {
  132.                 SendClientMessage(i, color4, msj);
  133.             }
  134.             else if(IsPlayerInRangeOfPoint(i, radio/4, X, Y, Z))
  135.             {
  136.                 SendClientMessage(i, color5, msj);
  137.             }
  138.         }
  139.     }
  140.     return 1;
  141. }
  142.  
  143. stock ProxDetectorActor(actorid, msj[], color1, color2, color3, color4, color5, Float: radio)
  144. {
  145.     new Float: X, Float: Y, Float: Z, vw;
  146.     GetActorPos(actorid, X, Y, Z);
  147.     vw = GetActorVirtualWorld(actorid);
  148.  
  149.     for(new i = 0; i < MAX_PLAYERS; i++)
  150.     {
  151.         if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == vw)
  152.         {
  153.             if(IsPlayerInRangeOfPoint(i, radio/1, X, Y, Z))
  154.             {
  155.                 SendClientMessage(i, color1, msj);
  156.             }
  157.             else if(IsPlayerInRangeOfPoint(i, radio/1.2, X, Y, Z))
  158.             {
  159.                 SendClientMessage(i, color2, msj);
  160.             }
  161.             else if(IsPlayerInRangeOfPoint(i, radio/1.8, X, Y, Z))
  162.             {
  163.                 SendClientMessage(i, color3, msj);
  164.             }
  165.             else if(IsPlayerInRangeOfPoint(i, radio/3, X, Y, Z))
  166.             {
  167.                 SendClientMessage(i, color4, msj);
  168.             }
  169.             else if(IsPlayerInRangeOfPoint(i, radio/4, X, Y, Z))
  170.             {
  171.                 SendClientMessage(i, color5, msj);
  172.             }
  173.         }
  174.     }
  175.     return 1;
  176. }
  177.  
  178. stock SendMSGFaccion(faccion, str[], color = -1)
  179. {
  180.     for(new i; i< MAX_PLAYERS; i++)
  181.     {
  182.         if(IsPlayerConnected(i))
  183.         {
  184.             if(Usuario[i][pFaccion] == faccion)
  185.             {
  186.                 SendClientMessage(i, color, str);
  187.             }
  188.         }
  189.     }
  190. }
  191.  
  192. stock SendClientMessageBien(playerid, string[])
  193. {
  194.     new s2[200];
  195.     format(s2, sizeof(s2), "<!>"COLOR_BLANCO_HTML"%s", string);
  196.     return SendClientMessage(playerid, COLOR_VERDE, s2);
  197. }
  198.  
  199. stock SendClientMessageError(playerid, string[])
  200. {
  201.     new s2[200];
  202.     format(s2, sizeof(s2), "<!>"COLOR_BLANCO_HTML"%s", string);
  203.     return SendClientMessage(playerid, COLOR_ROJO_NORMAL, s2);
  204. }
  205.  
  206. Float: SetAnguloCamara(playerid, Objectid)
  207. {
  208.     new
  209.         Float:X1,
  210.         Float:Y1,
  211.         Float:X2 = 1173.60962,
  212.         Float:Y2= -1445.83740,
  213.         Float:Angle;
  214.  
  215.     GetPlayerPos(playerid, X1, Y1, Angle);
  216.     GetAngle(X2, Y2,  X1, Y1, Angle);
  217.     MoveDynamicObject(Objectid, 1173.60962, -1445.83740, 1485.43335, 50.0, 0.0000, 0.0000, Angle);
  218.     return Angle;
  219. }
  220.  
  221. GetAngle(Float:X, Float:Y, Float:CurrentX, Float:CurrentY, &Float:Angle)
  222. {
  223.     Angle = atan2(Y-CurrentY, X-CurrentX);
  224.     Angle = floatsub(Angle, 90.0);
  225.     if(Angle < 0.0) Angle = floatadd(Angle, 360.0);
  226. }
  227.  
  228. stock BorrarBolsaD(id)
  229. {
  230.     if(BolsasD[id][bd_dinero] == 0)
  231.     {
  232.         DestroyDynamicPickup(BolsasD[id][bd_objeto]);
  233.         DestroyDynamic3DTextLabel(BolsasD[id][bd_texto3D]);
  234.         BolsasD[id][bd_PosX] = 0.0;
  235.         BolsasD[id][bd_PosY] = 0.0;
  236.         BolsasD[id][bd_PosZ] = 0.0;
  237.         BolsasD[id][bd_dinero] = 0;
  238.         return 1;
  239.     }
  240.     return 0;
  241. }
  242.  
  243. stock CrearBolsaD(playerid, Float: Pos[3])
  244. {
  245.     new id = -1;
  246.     verificacion_bd:
  247.     for(new i; i < MAX_BOLSAS_D; i++)
  248.     {
  249.         if(BolsasD[i][bd_dinero] == 0)
  250.         {
  251.             id = i;
  252.             break;
  253.         }
  254.     }
  255.     if(id == -1)
  256.     {
  257.         new id_2;
  258.         for(new i; i < MAX_BOLSAS_D; i++)
  259.         {
  260.             if(BolsasD[i][bd_dinero] != 0)
  261.             {
  262.                 id = i;
  263.                 break;
  264.             }
  265.         }
  266.         BorrarBolsaD(id_2);
  267.         goto verificacion_bd;
  268.     }
  269.     else
  270.     {
  271.         new dinero, string[150];
  272.         switch(Usuario[playerid][pVIP])
  273.         {
  274.             case 0: dinero = 10000;
  275.             case 1: dinero = 15000;
  276.             case 2: dinero = 20000;
  277.             case 3: dinero = 50000;
  278.             case 4: dinero = 1000000;
  279.         }
  280.         BolsasD[id][bd_PosX] = Pos[0];
  281.         BolsasD[id][bd_PosY] = Pos[1];
  282.         BolsasD[id][bd_PosZ] = Pos[2];
  283.         BolsasD[id][bd_objeto]  = CreateDynamicPickup(1550, 1, Pos[0], Pos[1], Pos[2]);
  284.         format(string, sizeof(string), "Bolsa de dinero\n"COLOR_AMARILLO_HTML"Puedes ubicar /cogerparte <cantidad>\nCantidad de dinero: "COLOR_BLANCO_HTML"$%i", dinero);
  285.         BolsasD[id][bd_texto3D] = CreateDynamic3DTextLabel(string, COLOR_BLANCO, Pos[0], Pos[1], Pos[2], 7.5);
  286.         BolsasD[id][bd_dinero] = dinero;
  287.         format(string, sizeof(string), "deja en el piso una bolsa de dinero con $%i", dinero);
  288.         cmd_me(playerid, string);
  289.     }
  290.     return id;
  291. }
  292.  
  293. function ExplosivoFunction(type, playerid)
  294. {
  295.     if(type == 1)
  296.     {
  297.         new Float: Pos[3], Float:Pos_A[4];
  298.         for(new i; i < GetMaxPlayers(); i++)
  299.         {
  300.             if(IsPlayerConnected(i))
  301.             {
  302.                 GetPlayerPos(i, Pos[0], Pos[1], Pos[2]);
  303.                 Pos_A[0] = (Pos[0] <= 1167.8254) ? (1167.8254-Pos[0]) : (Pos[0]-1167.8254);
  304.                 Pos_A[1] = (Pos[1] <= -1441.1075) ? ((-1441.1075)-Pos[1]) : (Pos[1]-(-1441.1075));
  305.                 Pos_A[2] = (Pos[2] <= 1483.0844) ? (1483.0844-Pos[2]) : (Pos[2]-1483.0844);
  306.                 Pos_A[3] = (Pos_A[0]+Pos_A[1]+Pos_A[2]);
  307.                 new Float:health;
  308.                 GetPlayerHealth(i, health);
  309.  
  310.                 if(Pos_A[3] <= 22)
  311.                     SetPlayerHealth(i, health-((22-(Pos_A[3]-1))*3.5));
  312.             }
  313.         }
  314.  
  315.         CreateExplosion(1167.8254, -1441.1075, 1483.0844, 0, 8.0);
  316.         YaPuestoC4B = false;
  317.         DestroyDynamicObject(C4Banco);
  318.         MoveDynamicObject(PuertaBanco, 1166.1002, -1439.1323, 1481.4785, 100.0, 89.2200, 24.7200, 180.8600);
  319.         SetTimerEx("ExplosivoFunction", 100000, false, "ii", 0, -1);
  320.         for(new i; i < 10; i++)
  321.         {
  322.             ActualizarEstadoActor_Banco("Cliente", i, "Normal");
  323.             ClearActorAnimations(Banco_Clientes[i]);
  324.  
  325.             if(i < 4)
  326.             {
  327.                 ActualizarEstadoActor_Banco("Atiende", i, "Normal");
  328.                 ClearActorAnimations(Banco_Atiende[i]);
  329.             }
  330.         }
  331.         for(new a; a < GetMaxPlayers(); a++)
  332.         {
  333.             if(IsPlayerConnected(a))
  334.             {
  335.                 if(Tiene_Tarjeta_Bancaria[a])
  336.                 {
  337.                     Tiene_Tarjeta_Bancaria[a] = false;
  338.                     AparecerTBancaria(a, 0);
  339.                 }
  340.             }
  341.         }
  342.         Banco_Alertas[0] = false;
  343.         Banco_Alertas[1] = false;
  344.         LucesBanco = true;
  345.         SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
  346.         PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
  347.         BancoYaRobado = true;
  348.     }
  349.     else if(type == 0)
  350.     {
  351.         MoveDynamicObject(PuertaBanco, 1167.8254, -1441.1075, 1483.0273, 100.0, 0.0000, 0.0000, 180.0200);
  352.     }
  353.     else if(type == 2)
  354.     {
  355.         if(!CogieronDinero)
  356.         {
  357.             if(!Usuario[playerid][pTieneBolsaDinero])
  358.             {
  359.                 if(IsPlayerAttachedObjectSlotUsed(playerid, 9))
  360.                 {
  361.                     RemovePlayerAttachedObject(playerid, 9);
  362.                 }
  363.                 SetPlayerAttachedObject(playerid, 9, 1550, 16, 0.092999, 0.128999, -0.232000, -1.200004, -129.899948, -9.800000, 1.000000, 1.000000, 1.000000);
  364.                 Usuario[playerid][pTieneBolsaDinero] = 1;
  365.                 CogieronDinero = true;
  366.                 SendClientMessage(playerid, COLOR_AMARILLO, "Tienes una bosla de dinero puedes poner /sotarbolsa para que tus amigos puedan /cogerparte");
  367.             }
  368.             else SendClientMessageError(playerid, "Ya tienes una bolsa de dinero.");
  369.         }
  370.     }
  371.     return 1;
  372. }
  373.  
  374. stock AparecerTBancaria(playerid, type)
  375. {
  376.     if(type)    // = 1: Aparecer
  377.     {
  378.         for(new i; i < sizeof(TarjetaBancaria); i++)
  379.         {
  380.             TextDrawShowForPlayer(playerid, TarjetaBancaria[i]);
  381.         }
  382.     }
  383.     else        // = 0: Desaparecer
  384.     {
  385.         for(new i; i < sizeof(TarjetaBancaria); i++)
  386.         {
  387.             TextDrawHideForPlayer(playerid, TarjetaBancaria[i]);
  388.         }
  389.     }
  390. }
  391. stock GetIDVectorOnActor(playerid)
  392. {
  393.     //Player Values
  394.     new Float: Vectors[3], Float: CameraPos[3], Float: PosI[3];
  395.     GetPlayerCameraPos(playerid, CameraPos[0], CameraPos[1], CameraPos[2]);
  396.     GetPlayerCameraFrontVector(playerid, Vectors[0], Vectors[1], Vectors[2]);
  397.     PosI[0] = CameraPos[0] + floatmul(Vectors[0], 6.0);
  398.     PosI[1] = CameraPos[1] + floatmul(Vectors[1], 6.0);
  399.     PosI[2] = CameraPos[2] + floatmul(Vectors[2], 6.0);
  400.     // Actor Verification
  401.     new Float: Pos[3];
  402.     for(new i; i < MAX_ACTORS; i++)
  403.     {
  404.         if(IsValidActor(i))
  405.         {
  406.             GetActorPos(i, Pos[0], Pos[1], Pos[2]);
  407.  
  408.             if(PosI[0] >= Pos[0]-1.5 && PosI[0] <= Pos[0]+1.5 && PosI[1] >= Pos[1]-1.5 && PosI[1] <= Pos[1]+1.5 && PosI[2] >= Pos[2]-1.5 && PosI[2] <= Pos[2]+1.5)
  409.             {
  410.                 return i;
  411.             }
  412.         }
  413.     }
  414.     return -1;
  415. }
  416. stock PlaySoundArea(url[], Float: X, Float: Y, Float: Z, Float: Radio = 50.0, vw = 0, interior = 0)
  417. {
  418.     for(new i; i < GetMaxPlayers(); i++)
  419.     {
  420.         if(IsPlayerConnected(i))
  421.         {
  422.             if(IsPlayerInRangeOfPoint(i, Radio, X, Y, Z) && GetPlayerVirtualWorld(i) == vw && GetPlayerInterior(i) == interior)
  423.             {
  424.                 PlayAudioStreamForPlayer(i, url);
  425.             }
  426.         }
  427.     }
  428. }
  429. stock ActualizarEstadoActor_Banco(tipo[], id, estado[])
  430. {
  431.     new string[50], color[16];
  432.  
  433.     if(!strcmp(estado, "Normal", true))
  434.     {
  435.         color = "FFFFFF";
  436.         format(string, sizeof(string), "Estado: {%s} Normal", color);
  437.     }
  438.     else if(!strcmp(estado, "Alerta", true))
  439.     {
  440.         color = "FFFF00";
  441.         format(string, sizeof(string), "Estado: {%s} Alerta", color);
  442.     }
  443.     else if(!strcmp(estado, "Llamando", true))
  444.     {
  445.         color = "FF0000";
  446.         format(string, sizeof(string), "Estado: {%s} Llamando a la policia", color);
  447.     }
  448.  
  449.     if(!strcmp(tipo, "Atiende", true))
  450.     {
  451.         UpdateDynamic3DTextLabelText(Banco_Atiende_T[id], COLOR_BLANCO, string);
  452.     }
  453.     else if(!strcmp(tipo, "Cliente", true))
  454.     {
  455.         UpdateDynamic3DTextLabelText(Banco_Clientes_T[id], COLOR_BLANCO, string);
  456.     }
  457.     return 0;
  458. }
  459.  
  460. stock IsBancoSalas(playerid)
  461. {
  462.     //if(IsPlayerInRangeOfPoint(playerid, 11.0, 1168.5181,-1452.6016,1482.5079))
  463.     if(IsPlayerInRange(playerid, 1153.5438, 1172.5536, -1461.2200, -1441.9001, 1480.9443, 1485.1700))
  464.     {
  465.         return 3;
  466.     }
  467.     if(IsPlayerInRange(playerid, 1158.7197, 1187.2930, -1463.2899, -1424.0509))
  468.     {
  469.         return 1;
  470.     }
  471.     else if(IsPlayerInRange(playerid, 1151.6353, 1157.6848, -1456.1252, -1450.8634))
  472.     {
  473.         return 2;
  474.     }
  475.     return 0;
  476. }
  477.  
  478. stock CrearActor(skin, Float: Pos_R[4], bool:inmortal=false, Float: vida = 100.0)
  479. {
  480.     new id = CreateActor(skin, Pos_R[0], Pos_R[1], Pos_R[2], Pos_R[3]);
  481.     SetActorInvulnerable(id, inmortal);
  482.     SetActorHealth(id, vida);
  483.     return id;
  484. }
  485. stock IsPlayerInRange(playerid, Float: xMin, Float: xMax, Float: yMin, Float: yMax, Float: zMin = 0.0, Float:zMax = 0.0)
  486. {
  487.     new Float: X, Float: Y, Float: Z;
  488.     GetPlayerPos(playerid, X, Y, Z);
  489.  
  490.     if(zMin != 0.0 && zMax != 0.0)
  491.     {
  492.         if(X >= xMin && X <= xMax && Y >= yMin && Y <= yMax && Z >= zMin && Z <= zMax)
  493.         {
  494.             return 1;
  495.         }
  496.     }
  497.     else
  498.     {
  499.         if(X >= xMin && X <= xMax && Y >= yMin && Y <= yMax)
  500.         {
  501.             return 1;
  502.         }
  503.     }
  504.  
  505.     return 0;
  506. }
  507.  
  508. // Timer del Banco, uso y_timers de Y_Lees, se ejecuta cada 1 segundo
  509.  
  510. timer TiempoServer[1000]()
  511. {
  512.     if(Banco_Alertas[0] || Banco_Alertas[1])
  513.     {
  514.         new Float: X[2], Float: Y[2], Float: Z[2], va;
  515.  
  516.         if(!Banco_Alertas[1])   {va = 8;}
  517.         else                    {va = 10;}
  518.  
  519.         for(new i; i < va; i++)
  520.         {
  521.             if(!BancoYaRobado)
  522.             {
  523.                 if( i < 4 )
  524.                 {
  525.                     GetActorPos(Banco_Atiende[i], X[1], Y[1], Z[1]);
  526.                 }
  527.                 else if( i == 4)
  528.                 {
  529.                     X[1] = 0.0, Y[1] = 0.0, Z[1] = -40.0;
  530.                 }
  531.  
  532.                 GetActorPos(Banco_Clientes[i], X[0], Y[0], Z[0]);
  533.  
  534.                 for(new a; a < GetMaxPlayers(); a++)
  535.                 {
  536.                     if(IsPlayerConnected(a))
  537.                     {
  538.                         if(IsPlayerInRangeOfPoint(a, 17.0, X[0], Y[0], Z[0]) || IsPlayerInRangeOfPoint(a, 17.0, X[1], Y[1], Z[1]))
  539.                         {
  540.                             if(GetPlayerWeapon(a) == 0)
  541.                             {
  542.                                 //ClearActorAnimations(Banco_Clientes[i]);
  543.                                 ActualizarEstadoActor_Banco("Cliente", i, "Llamando");
  544.                                 Banco_Clientes_Ti[i]++;
  545.                                 if(i < 4)
  546.                                 {
  547.                                     //ClearActorAnimations(Banco_Atiende[i]);
  548.                                     ActualizarEstadoActor_Banco("Atiende", i, "Llamando");
  549.                                     Banco_Atiende_Ti[i]++;
  550.                                 }
  551.                             }
  552.                             else
  553.                             {
  554.                                 //ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  555.                                 ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
  556.                                 Banco_Clientes_Ti[i] = 0;
  557.                                 if(i < 4)
  558.                                 {
  559.                                     //ApplyActorAnimation(Banco_Atiende[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  560.                                     ActualizarEstadoActor_Banco("Atiende", i, "Alerta");
  561.                                     Banco_Atiende_Ti[i] = 0;
  562.                                 }
  563.                             }
  564.                             break;
  565.                         }
  566.                         else
  567.                         {
  568.                             //ClearActorAnimations(Banco_Clientes[i]);
  569.                             ActualizarEstadoActor_Banco("Cliente", i, "Llamando");
  570.                             Banco_Clientes_Ti[i]++;
  571.                             if(i < 4)
  572.                             {
  573.                                 //ClearActorAnimations(Banco_Atiende[i]);
  574.                                 ActualizarEstadoActor_Banco("Atiende", i, "Llamando");
  575.                                 Banco_Atiende_Ti[i]++;
  576.                             }
  577.                             break;
  578.                         }
  579.                     }
  580.                 }
  581.  
  582.                 if(Banco_Clientes_Ti[i] >= 500)
  583.                 {
  584.                     if(!BancoYaRobado)
  585.                     {
  586.                         BancoYaRobado = true;
  587.                     }
  588.                 }
  589.                 if(i < 4)
  590.                 {
  591.                     if(Banco_Atiende_Ti[i] >= 500)
  592.                     {
  593.                         if(!BancoYaRobado)
  594.                         {
  595.                             BancoYaRobado = true;
  596.                         }
  597.                     }
  598.                 }
  599.             }
  600.             else
  601.             {
  602.                 ActualizarEstadoActor_Banco("Cliente", i, "Normal");
  603.                 ClearActorAnimations(Banco_Clientes[i]);
  604.  
  605.                 if(i < 4)
  606.                 {
  607.                     ActualizarEstadoActor_Banco("Atiende", i, "Normal");
  608.                     ClearActorAnimations(Banco_Atiende[i]);
  609.                 }
  610.  
  611.                 if(i == va-1)
  612.                 {
  613.                     for(new a; a < GetMaxPlayers(); a++)
  614.                     {
  615.                         if(IsPlayerConnected(a))
  616.                         {
  617.                             if(Tiene_Tarjeta_Bancaria[a])
  618.                             {
  619.                                 Tiene_Tarjeta_Bancaria[a] = false;
  620.                                 AparecerTBancaria(a, 0);
  621.                             }
  622.                         }
  623.                     }
  624.                     Banco_Alertas[0] = false;
  625.                     Banco_Alertas[1] = false;
  626.                     LucesBanco = true;
  627.                     SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
  628.                     PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
  629.                     BancoYaRobado = true;
  630.                 }
  631.             }
  632.         }
  633.     }
  634.  
  635.     for(new i = 0; i < GetMaxPlayers(); i++)
  636.     {
  637.         if(IsPlayerConnected(i))
  638.         {
  639.             if(!BancoYaRobado)
  640.             {
  641.                 if(IsBancoSalas(i) == 3)
  642.                 {
  643.                     if(LucesBanco)
  644.                     {
  645.                         SetAnguloCamara(i, CamaraBanco);
  646.                         if(GetPVarInt(i, "ViendoCamara"))
  647.                         {
  648.                             SetPVarInt(i, "TimingCamaraV", GetPVarInt(i, "TimingCamaraV")+1);
  649.                             if(GetPVarInt(i, "TimingCamaraV") == 6)
  650.                             {
  651.                                 for(new a; a < 10; a++)
  652.                                 {
  653.                                     ActualizarEstadoActor_Banco("Cliente", a, "Normal");
  654.                                     ClearActorAnimations(Banco_Clientes[a]);
  655.  
  656.                                     if(a < 4)
  657.                                     {
  658.                                         ActualizarEstadoActor_Banco("Atiende", a, "Normal");
  659.                                         ClearActorAnimations(Banco_Atiende[a]);
  660.                                     }
  661.                                 }
  662.                                 for(new a; a < GetMaxPlayers(); a++)
  663.                                 {
  664.                                     if(IsPlayerConnected(a))
  665.                                     {
  666.                                         if(Tiene_Tarjeta_Bancaria[a])
  667.                                         {
  668.                                             Tiene_Tarjeta_Bancaria[a] = false;
  669.                                             AparecerTBancaria(a, 0);
  670.                                         }
  671.                                     }
  672.                                 }
  673.                                 Banco_Alertas[0] = false;
  674.                                 Banco_Alertas[1] = false;
  675.                                 LucesBanco = true;
  676.                                 SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
  677.                                 PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
  678.                                 BancoYaRobado = true;
  679.                                 DeletePVar(i, "InBancoZone2");
  680.                                 DeletePVar(i, "ViendoCamara");
  681.                                 DeletePVar(i, "TimingCamaraV");
  682.                             }
  683.                         }
  684.                         if(!GetPVarInt(i, "InBancoZone2"))
  685.                         {
  686.                             GameTextForPlayer(i, "~r~Te esta viendo una ~w~camara~n~~r~Tienes 4 segundos para salir de la zona.", 1500, 3);
  687.                             SetPVarInt(i, "InBancoZone2", 1);
  688.                             SetPVarInt(i, "ViendoCamara", 1);
  689.                         }
  690.                     }
  691.                 }
  692.                 else
  693.                 {
  694.                     if(GetPVarInt(i, "InBancoZone2"))
  695.                     {
  696.                         DeletePVar(i, "InBancoZone2");
  697.                         DeletePVar(i, "ViendoCamara");
  698.                         DeletePVar(i, "TimingCamaraV");
  699.                     }
  700.                 }
  701.             }
  702.  
  703.             if(IsPlayerInRangeOfPoint(i, 100.0, 1167.860473, -1442.853759, 1489.038452))
  704.             {
  705.                 if(!GetPVarInt(i, "YaEstaEnBanco"))
  706.                 {
  707.                     if(!LucesBanco)
  708.                     {
  709.                         SendClientMessage(i, -1, "SE CUMPLIO ##Apagado");
  710.                         SetPlayerTime(i, 0, 0);
  711.                         //SetPlayerWeather(i, 15);
  712.                     }
  713.                     else
  714.                     {
  715.                         SendClientMessage(i, -1, "SE CUMPLIO ##Encendido");
  716.                         UbicarClima(i);
  717.                     }
  718.                     SetPVarInt(i, "YaEstaEnBanco", 1);
  719.                 }
  720.             }
  721.             else
  722.             {
  723.                 if(GetPVarInt(i, "YaEstaEnBanco"))
  724.                 {
  725.                     UbicarClima(i);
  726.                     DeletePVar(i, "YaEstaEnBanco");
  727.                 }
  728.             }
  729.         }
  730.     }
  731. }
  732.  
  733. // Callbacks
  734.  
  735. public OnPlayerPickUpDynamicPickup(playerid, pickupid)
  736. {
  737.     if(pickupid == BancoDineroPickup)
  738.     {
  739.         if(!CogieronDinero)
  740.         {
  741.             ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 10000, 1);
  742.             SetTimerEx("ExplosivoFunction", 10000, false, "ii", 2, playerid);
  743.             return 1;
  744.         }
  745.     }
  746.     return 1;
  747. }
  748.  
  749. // Comandos
  750.  
  751. CMD:explosivo(playerid, params[])
  752. {
  753.     if(Usuario[playerid][pExplosivos] > 0)
  754.     {
  755.         // Comando hecho solo para robar el banco.
  756.         if(IsPlayerInRangeOfPoint(playerid, 3.0, 1167.8254, -1441.1075, 1483.0844))
  757.         {
  758.             if(!YaPuestoC4B)
  759.             {
  760.                 YaPuestoC4B = true;
  761.                 C4Banco = CreateDynamicObject(1654, 1167.7998, -1441.2834, 1483.2014, 0.0, 0.0, 0.0);
  762.                 SetTimerEx("ExplosivoFunction", 10000, false, "ii", 1, -1);
  763.                 Usuario[playerid][pExplosivos]--;
  764.             }
  765.             else SendClientMessageError(playerid, "Ya está puesto un explosivo aquí.");
  766.         }
  767.         else SendClientMessageError(playerid, "No estás cerca de la puerta de la caja fuerte del banco para hacer esto");
  768.     }
  769.     else SendClientMessageError(playerid, "No tienes explosivos");
  770.     return 1;
  771. }
  772.  
  773. CMD:lucesbanco(playerid, params[])
  774. {
  775.     if(IsPlayerInRangeOfPoint(playerid, 2.0, 1168.8500, -1447.3810, 1489.9878))
  776.     {
  777.         if(LucesBanco)
  778.         {
  779.             LucesBanco = 0;
  780.             SendClientMessageBien(playerid, "Apagaste la electricidad del banco.");
  781.         }
  782.         else
  783.         {
  784.             LucesBanco = 1;
  785.             SendClientMessageBien(playerid, "Encendiste la electricidad del banco.");
  786.         }
  787.         for(new i; i < GetMaxPlayers(); i++)
  788.         {
  789.             if(IsPlayerConnected(i))
  790.             {
  791.                 if(IsPlayerInRangeOfPoint(i, 100.0, 1167.860473, -1442.853759, 1489.038452))
  792.                 {
  793.                     DeletePVar(i, "YaEstaEnBanco");
  794.                 }
  795.             }
  796.         }
  797.     }
  798.     else SendClientMessageError(playerid, "No estás en el lugar indicado.");
  799.     return 1;
  800. }
  801.  
  802. CMD:robarbanco(playerid, params[])
  803. {
  804.     if(Banco_Alertas[0] || Banco_Alertas[1])
  805.     {
  806.         new c;
  807.         if(isnumeric(params))
  808.         {
  809.             c = strval(params);
  810.             switch(c)
  811.             {
  812.                 case 1:
  813.                 {
  814.                     if(GetPlayerWeapon(playerid) > 1)
  815.                     {
  816.                         new bool: f, id=GetIDVectorOnActor(playerid);
  817.                         if(id != -1)
  818.                         {
  819.                             for(new i; i < 4; i++)
  820.                             {
  821.                                 if(id == Banco_Atiende[i])
  822.                                 {
  823.                                     f = true;
  824.                                     break;
  825.                                 }
  826.                             }
  827.                             if(f)
  828.                             {
  829.                                 OnPlayerText(playerid, "Dame tu tarjeta puta o te mato -mientra tiene un arma en la mano amenzandola-");
  830.                                 ProxDetectorActor(id, "[Acción] Atendedora: le da la tarjeta rápidamente sin decir nada", COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, 40.0);
  831.                                 cmd_me(playerid, "coge la tarjeta y le escupe.");
  832.                                 Tiene_Tarjeta_Bancaria[playerid] = true;
  833.                                 AparecerTBancaria(playerid, 1);
  834.                             }
  835.                             else SendClientMessage(playerid, COLOR_GRIS, "Necesitas apuntar a alguien que atiende.");
  836.                         }
  837.                         else SendClientMessage(playerid, COLOR_GRIS, "Necesitas estár apuntando a una de las personas que atienden.");
  838.                     }
  839.                     else SendClientMessage(playerid, COLOR_GRIS, "Tienes que tener un arma en mano.");
  840.                 }
  841.             }
  842.         }
  843.         else
  844.         {
  845.             SendClientMessage(playerid, COLOR_GRIS, "/robarbanco <id de contexto>");
  846.             SendClientMessage(playerid, COLOR_BLANCO, "1 = Dame la tarjeta de la puerta, 2 = Dame el numero de verificacion");
  847.             return 1;
  848.         }
  849.     }
  850.     return 1;
  851. }
  852.  
  853. CMD:soltarbolsa(playerid, params[])
  854. {
  855.     if(Usuario[playerid][pTieneBolsaDinero])
  856.     {
  857.         new Float: Pos[3];
  858.         GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
  859.         CrearBolsaD(playerid, Pos);
  860.         Usuario[playerid][pTieneBolsaDinero] = 0;
  861.     }
  862.     else SendClientMessageError(playerid, "No tienes una bolsa.");
  863.     return 1;
  864. }
  865.  
  866. zcmd(me, playerid, params[])
  867. {
  868.     new textAll[200];
  869.     if(isnull(params)) return SendClientMessage(playerid, COLOR_GRIS, "/me [Acción]");
  870.     format(textAll, 150, "[Acción] %s %s", GetPlayerNameEx(playerid), params);
  871.     ProxDetector(playerid, textAll, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, 40.0);
  872.     return 1;
  873. }
  874.  
  875. CMD:cogerparte(playerid, params[])
  876. {
  877.     new cantidad;
  878.     if(isnumeric(params))
  879.     {
  880.         for(new i; i < MAX_BOLSAS_D; i++)
  881.         {
  882.             if(BolsasD[i][bd_dinero] != 0)
  883.             {
  884.                 if(IsPlayerInRangeOfPoint(playerid, 2.0, BolsasD[i][bd_PosX], BolsasD[i][bd_PosY], BolsasD[i][bd_PosZ]))
  885.                 {
  886.                     cantidad = strval(params);
  887.                     if(cantidad <= BolsasD[i][bd_dinero])
  888.                     {
  889.                         new string[120];
  890.                         format(string, sizeof(string), "saca $%i de la bolsa quendado $%i dentro de la bolsa habiendo $%i", cantidad, BolsasD[i][bd_dinero]-cantidad, BolsasD[i][bd_dinero]);
  891.                         cmd_me(playerid, string);
  892.                         BolsasD[i][bd_dinero] -= cantidad;
  893.                         GivePlayerMoney(playerid, cantidad);
  894.                         if(BolsasD[i][bd_dinero] <= 0)
  895.                         {
  896.                             BorrarBolsaD(i);
  897.                         }
  898.                         else
  899.                         {
  900.                             format(string, sizeof(string), "Bolsa de dinero\n"COLOR_AMARILLO_HTML"Puedes ubicar /cogerparte <cantidad>\nCantidad de dinero: "COLOR_BLANCO_HTML"$%i", BolsasD[i][bd_dinero]);
  901.                             UpdateDynamic3DTextLabelText(BolsasD[i][bd_texto3D], COLOR_BLANCO, string);
  902.                         }
  903.                     }
  904.                     else SendClientMessageError(playerid, "No hay suficiente dinero para realizar esto.");
  905.                     break;
  906.                 }
  907.             }
  908.         }
  909.     }
  910.     else SendClientMessageError(playerid, "USA: /cogerparte <cantidad>");
  911.     return 1;
  912. }
  913.  
  914. public OnGameModeInit()
  915. {
  916.     // TextDraws
  917.     TarjetaBancaria[0] = TextDrawCreate(466.800018, 319.173309, "box");
  918.     TextDrawLetterSize(TarjetaBancaria[0], 0.000000, 10.639999);
  919.     TextDrawTextSize(TarjetaBancaria[0], 635.599487, 0.000000);
  920.     TextDrawAlignment(TarjetaBancaria[0], 1);
  921.     TextDrawColor(TarjetaBancaria[0], -1);
  922.     TextDrawUseBox(TarjetaBancaria[0], 1);
  923.     TextDrawBoxColor(TarjetaBancaria[0], 255);
  924.     TextDrawSetShadow(TarjetaBancaria[0], 0);
  925.     TextDrawSetOutline(TarjetaBancaria[0], 0);
  926.     TextDrawBackgroundColor(TarjetaBancaria[0], 255);
  927.     TextDrawFont(TarjetaBancaria[0], 1);
  928.     TextDrawSetProportional(TarjetaBancaria[0], 1);
  929.     TextDrawSetShadow(TarjetaBancaria[0], 0);
  930.  
  931.     TarjetaBancaria[1] = TextDrawCreate(466.800018, 319.173309, "box");
  932.     TextDrawLetterSize(TarjetaBancaria[1], 0.000000, 10.599177);
  933.     TextDrawTextSize(TarjetaBancaria[1], 631.097473, 0.000000);
  934.     TextDrawAlignment(TarjetaBancaria[1], 1);
  935.     TextDrawColor(TarjetaBancaria[1], -1);
  936.     TextDrawUseBox(TarjetaBancaria[1], 1);
  937.     TextDrawBoxColor(TarjetaBancaria[1], -1);
  938.     TextDrawSetShadow(TarjetaBancaria[1], 0);
  939.     TextDrawSetOutline(TarjetaBancaria[1], 0);
  940.     TextDrawBackgroundColor(TarjetaBancaria[1], 255);
  941.     TextDrawFont(TarjetaBancaria[1], 1);
  942.     TextDrawSetProportional(TarjetaBancaria[1], 1);
  943.     TextDrawSetShadow(TarjetaBancaria[1], 0);
  944.  
  945.     TarjetaBancaria[2] = TextDrawCreate(476.099884, 319.920166, "Tarjeta_de_Banquera");
  946.     TextDrawLetterSize(TarjetaBancaria[2], 0.400000, 1.600000);
  947.     TextDrawAlignment(TarjetaBancaria[2], 1);
  948.     TextDrawColor(TarjetaBancaria[2], -1);
  949.     TextDrawSetShadow(TarjetaBancaria[2], 0);
  950.     TextDrawSetOutline(TarjetaBancaria[2], 2);
  951.     TextDrawBackgroundColor(TarjetaBancaria[2], 255);
  952.     TextDrawFont(TarjetaBancaria[2], 1);
  953.     TextDrawSetProportional(TarjetaBancaria[2], 1);
  954.     TextDrawSetShadow(TarjetaBancaria[2], 0);
  955.  
  956.     TarjetaBancaria[3] = TextDrawCreate(468.399841, 343.066772, "COn_Esta_tajerta_podras_ing~n~resar_a_culaquier_zona_del~n~banco.~n~Solo_personal_autorizado.");
  957.     TextDrawLetterSize(TarjetaBancaria[3], 0.231200, 0.995200);
  958.     TextDrawAlignment(TarjetaBancaria[3], 1);
  959.     TextDrawColor(TarjetaBancaria[3], -1);
  960.     TextDrawSetShadow(TarjetaBancaria[3], 0);
  961.     TextDrawSetOutline(TarjetaBancaria[3], 1);
  962.     TextDrawBackgroundColor(TarjetaBancaria[3], 255);
  963.     TextDrawFont(TarjetaBancaria[3], 2);
  964.     TextDrawSetProportional(TarjetaBancaria[3], 1);
  965.     TextDrawSetShadow(TarjetaBancaria[3], 0);
  966.  
  967.     TarjetaBancaria[4] = TextDrawCreate(470.600036, 384.907348, "-__-_--__----_____-----__---______-----__-_----__-_--------__--___--_-~n~---_---_---____---____------_-_-___----__-_--_--_-__---_--_-___-_-_-_-~n~---_--_---___-_--__-__-------------------_--_-_--_-_-__---_-__-__-__--");
  968.     TextDrawLetterSize(TarjetaBancaria[4], 0.231200, 0.995200);
  969.     TextDrawAlignment(TarjetaBancaria[4], 1);
  970.     TextDrawColor(TarjetaBancaria[4], 255);
  971.     TextDrawSetShadow(TarjetaBancaria[4], 0);
  972.     TextDrawSetOutline(TarjetaBancaria[4], -3);
  973.     TextDrawBackgroundColor(TarjetaBancaria[4], 255);
  974.     TextDrawFont(TarjetaBancaria[4], 2);
  975.     TextDrawSetProportional(TarjetaBancaria[4], 1);
  976.     TextDrawSetShadow(TarjetaBancaria[4], 0);
  977.  
  978.     //Mapeos
  979.  
  980.     // Interior del Banco-
  981.     CreateDynamicObject(10023, 1137.17383, -1394.12866, 1502.28430,   0.00000, 0.00000, 0.00000);
  982.     CreateDynamicObject(19454, 1182.95068, -1423.61414, 1495.55237,   0.00000, 0.00000, 90.00000);
  983.     CreateDynamicObject(19454, 1172.38416, -1426.65784, 1495.55237,   0.00000, 0.00000, 90.00000);
  984.     CreateDynamicObject(19454, 1186.02576, -1463.72864, 1495.55237,   0.00000, 0.00000, 90.00000);
  985.     CreateDynamicObject(19454, 1187.73083, -1438.02368, 1495.55237,   0.00000, 0.00000, 0.00000);
  986.     CreateDynamicObject(19454, 1187.73083, -1465.13721, 1495.55237,   0.00000, 0.00000, 0.00000);
  987.     CreateDynamicObject(19454, 1187.73083, -1428.50989, 1495.55237,   0.00000, 0.00000, 0.00000);
  988.     CreateDynamicObject(19454, 1158.12219, -1428.36365, 1495.55237,   0.00000, 0.00000, 0.00000);
  989.     CreateDynamicObject(19454, 1187.73083, -1447.52600, 1495.55237,   0.00000, 0.00000, 0.00000);
  990.     CreateDynamicObject(19454, 1158.12219, -1437.83728, 1495.55237,   0.00000, 0.00000, 0.00000);
  991.     CreateDynamicObject(10023, 1207.03345, -1394.11121, 1502.28430,   0.00000, 0.00000, 0.00000);
  992.     CreateDynamicObject(19362, 1167.66003, -1425.13672, 1495.55188,   0.00000, 0.00000, 0.00000);
  993.     CreateDynamicObject(19362, 1178.21997, -1425.13672, 1495.55188,   0.00000, 0.00000, 0.00000);
  994.     CreateDynamicObject(19454, 1162.90991, -1423.61414, 1495.55237,   0.00000, 0.00000, 90.00000);
  995.     CreateDynamicObject(19454, 1173.48718, -1426.65784, 1495.55237,   0.00000, 0.00000, 90.00000);
  996.     CreateDynamicObject(1536, 1174.61890, -1426.68054, 1494.01587,   0.00000, 0.00000, 180.00000);
  997.     CreateDynamicObject(1536, 1171.62561, -1426.71655, 1494.01587,   0.00000, 0.00000, 0.00000);
  998.     CreateDynamicObject(19454, 1158.12219, -1447.28857, 1495.55237,   0.00000, 0.00000, 0.00000);
  999.     CreateDynamicObject(1703, 1159.39954, -1458.99316, 1493.97742,   0.00000, 0.00000, 90.00000);
  1000.     CreateDynamicObject(1703, 1159.59558, -1446.16907, 1493.97742,   0.00000, 0.00000, 90.00000);
  1001.     CreateDynamicObject(2315, 1162.54138, -1459.02405, 1493.97754,   0.00000, 0.00000, 90.00000);
  1002.     CreateDynamicObject(2245, 1162.57202, -1458.77649, 1494.64783,   0.00000, 0.00000, 0.00000);
  1003.     CreateDynamicObject(2852, 1155.78882, -1455.56067, 1494.46765,   0.00000, 0.00000, 0.00000);
  1004.     CreateDynamicObject(2184, 1182.13611, -1454.38892, 1493.97058,   0.00000, 0.00000, -90.00000);
  1005.     CreateDynamicObject(2184, 1182.13611, -1434.53540, 1493.97058,   0.00000, 0.00000, -90.00000);
  1006.     CreateDynamicObject(2184, 1182.13611, -1448.06396, 1493.97058,   0.00000, 0.00000, -90.00000);
  1007.     CreateDynamicObject(2190, 1182.13611, -1443.23401, 1494.74475,   0.00000, 0.00000, 117.00000);
  1008.     CreateDynamicObject(2190, 1182.11475, -1436.38696, 1494.74475,   0.00000, 0.00000, 121.00000);
  1009.     CreateDynamicObject(2190, 1182.13611, -1456.36694, 1494.74475,   0.00000, 0.00000, 120.00000);
  1010.     CreateDynamicObject(2190, 1182.13611, -1450.01929, 1494.74475,   0.00000, 0.00000, 120.00000);
  1011.     CreateDynamicObject(1715, 1183.68604, -1456.06116, 1493.97754,   0.00000, 0.00000, -113.00000);
  1012.     CreateDynamicObject(1715, 1183.68604, -1435.88074, 1493.97754,   0.00000, 0.00000, -111.00000);
  1013.     CreateDynamicObject(1715, 1183.68604, -1442.55493, 1493.97754,   0.00000, 0.00000, -98.00000);
  1014.     CreateDynamicObject(1715, 1183.68604, -1449.29126, 1493.97754,   0.00000, 0.00000, -113.00000);
  1015.     CreateDynamicObject(2202, 1187.04663, -1431.93774, 1493.97620,   0.00000, 0.00000, 90.00000);
  1016.     CreateDynamicObject(2202, 1187.25183, -1439.93713, 1493.97620,   0.00000, 0.00000, 90.00000);
  1017.     CreateDynamicObject(2202, 1187.33691, -1446.85120, 1493.97620,   0.00000, 0.00000, 90.00000);
  1018.     CreateDynamicObject(2202, 1187.24854, -1453.90698, 1493.97620,   0.00000, 0.00000, 90.00000);
  1019.     CreateDynamicObject(2164, 1187.60779, -1455.29102, 1493.97546,   0.00000, 0.00000, -90.00000);
  1020.     CreateDynamicObject(2164, 1187.56824, -1433.36230, 1493.97546,   0.00000, 0.00000, -90.00000);
  1021.     CreateDynamicObject(2164, 1187.38733, -1441.37024, 1493.97546,   0.00000, 0.00000, -90.00000);
  1022.     CreateDynamicObject(2164, 1187.31543, -1448.25684, 1493.97546,   0.00000, 0.00000, -90.00000);
  1023.     CreateDynamicObject(2163, 1187.40674, -1457.00452, 1493.97534,   0.00000, 0.00000, -90.00000);
  1024.     CreateDynamicObject(2163, 1187.80176, -1436.28259, 1493.97534,   0.00000, 0.00000, -90.00000);
  1025.     CreateDynamicObject(2163, 1187.52051, -1443.64136, 1493.97534,   0.00000, 0.00000, -90.00000);
  1026.     CreateDynamicObject(2163, 1187.43762, -1450.72241, 1493.97534,   0.00000, 0.00000, -90.00000);
  1027.     CreateDynamicObject(1811, 1180.67688, -1455.33801, 1494.57666,   0.00000, 0.00000, 154.00000);
  1028.     CreateDynamicObject(2773, 1178.54675, -1457.08203, 1494.48132,   0.00000, 0.00000, 90.00000);
  1029.     CreateDynamicObject(2773, 1178.54675, -1433.78992, 1494.48132,   0.00000, 0.00000, 90.00000);
  1030.     CreateDynamicObject(2773, 1178.54675, -1437.31567, 1494.48132,   0.00000, 0.00000, 90.00000);
  1031.     CreateDynamicObject(2773, 1178.54675, -1440.88477, 1494.48132,   0.00000, 0.00000, 90.00000);
  1032.     CreateDynamicObject(2773, 1178.54675, -1444.05835, 1494.48132,   0.00000, 0.00000, 90.00000);
  1033.     CreateDynamicObject(2773, 1178.54675, -1447.22229, 1494.48132,   0.00000, 0.00000, 90.00000);
  1034.     CreateDynamicObject(2773, 1178.54675, -1450.98889, 1494.48132,   0.00000, 0.00000, 90.00000);
  1035.     CreateDynamicObject(2773, 1178.54675, -1453.15869, 1494.48132,   0.00000, 0.00000, 90.00000);
  1036.     CreateDynamicObject(1811, 1180.67688, -1435.60645, 1494.57666,   0.00000, 0.00000, 192.00000);
  1037.     CreateDynamicObject(1811, 1180.67688, -1442.32532, 1494.57666,   0.00000, 0.00000, 137.00000);
  1038.     CreateDynamicObject(1811, 1180.67688, -1448.97583, 1494.57666,   0.00000, 0.00000, 130.00000);
  1039.     CreateDynamicObject(14576, 1167.76624, -1448.98962, 1489.57764,   0.00000, 0.00000, 0.00000);
  1040.     CreateDynamicObject(19454, 1158.12219, -1459.09534, 1495.55237,   0.00000, 0.00000, 0.00000);
  1041.     CreateDynamicObject(19454, 1165.82837, -1463.72864, 1495.55237,   0.00000, 0.00000, 90.00000);
  1042.     CreateDynamicObject(19454, 1150.75525, -1453.58496, 1495.55237,   0.00000, 0.00000, 0.00000);
  1043.     CreateDynamicObject(19454, 1177.01892, -1463.72864, 1495.55237,   0.00000, 0.00000, 90.00000);
  1044.     CreateDynamicObject(19454, 1187.73083, -1457.08789, 1495.55237,   0.00000, 0.00000, 0.00000);
  1045.     CreateDynamicObject(19391, 1158.12000, -1453.16919, 1495.53345,   0.00000, 0.00000, 0.00000);
  1046.     CreateDynamicObject(1703, 1165.55164, -1440.00562, 1493.97742,   0.00000, 0.00000, -90.00000);
  1047.     CreateDynamicObject(2315, 1155.73584, -1455.68457, 1493.97754,   0.00000, 0.00000, 0.00000);
  1048.     CreateDynamicObject(2245, 1161.75183, -1444.22681, 1494.66785,   0.00000, 0.00000, 0.00000);
  1049.     CreateDynamicObject(1721, 1158.35083, -1447.38220, 1493.98083,   0.00000, 0.00000, -90.00000);
  1050.     CreateDynamicObject(1721, 1158.35120, -1449.41211, 1493.98083,   0.00000, 0.00000, -90.00000);
  1051.     CreateDynamicObject(1721, 1158.38232, -1448.79114, 1493.98083,   0.00000, 0.00000, -90.00000);
  1052.     CreateDynamicObject(1721, 1158.28845, -1448.10815, 1493.98083,   0.00000, 0.00000, -90.00000);
  1053.     CreateDynamicObject(1893, 1172.34875, -1445.98938, 1497.56299,   0.00000, 0.00000, 0.00000);
  1054.     CreateDynamicObject(1893, 1171.81250, -1455.38586, 1497.56299,   0.00000, 0.00000, 0.00000);
  1055.     CreateDynamicObject(1893, 1162.93994, -1436.47839, 1497.56299,   0.00000, 0.00000, 0.00000);
  1056.     CreateDynamicObject(1703, 1159.58618, -1442.58167, 1493.97742,   0.00000, 0.00000, 90.00000);
  1057.     CreateDynamicObject(1893, 1162.93994, -1445.98938, 1497.56299,   0.00000, 0.00000, 0.00000);
  1058.     CreateDynamicObject(1893, 1162.93994, -1455.38586, 1497.56299,   0.00000, 0.00000, 0.00000);
  1059.     CreateDynamicObject(1893, 1172.34875, -1436.81262, 1497.56299,   0.00000, 0.00000, 0.00000);
  1060.     CreateDynamicObject(1893, 1180.90344, -1436.44812, 1497.56299,   0.00000, 0.00000, 0.00000);
  1061.     CreateDynamicObject(1893, 1180.90344, -1445.98938, 1497.56299,   0.00000, 0.00000, 0.00000);
  1062.     CreateDynamicObject(1893, 1180.90344, -1455.38586, 1497.56299,   0.00000, 0.00000, 0.00000);
  1063.     CreateDynamicObject(1703, 1159.66858, -1438.03052, 1493.97742,   0.00000, 0.00000, 90.00000);
  1064.     CreateDynamicObject(1703, 1159.72156, -1433.90222, 1493.97742,   0.00000, 0.00000, 90.00000);
  1065.     CreateDynamicObject(2315, 1162.40588, -1436.04346, 1493.97754,   0.00000, 0.00000, 90.00000);
  1066.     CreateDynamicObject(2245, 1162.41809, -1435.89868, 1494.66785,   0.00000, 0.00000, 0.00000);
  1067.     CreateDynamicObject(2852, 1162.35010, -1434.86829, 1494.46765,   0.00000, 0.00000, 0.00000);
  1068.     CreateDynamicObject(1703, 1164.98926, -1434.30017, 1493.97742,   0.00000, 0.00000, -90.00000);
  1069.     CreateDynamicObject(1703, 1165.43152, -1443.85559, 1493.97742,   0.00000, 0.00000, -90.00000);
  1070.     CreateDynamicObject(1516, 1167.13977, -1465.43018, 1493.98645,   0.00000, 0.00000, 0.00000);
  1071.     CreateDynamicObject(347, 1166.73523, -1465.59424, 1494.51123,   90.00000, 0.00000, 0.00000);
  1072.     CreateDynamicObject(371, 1167.04211, -1467.15820, 1494.24438,   0.00000, 0.00000, 0.00000);
  1073.     CreateDynamicObject(2010, 1168.16870, -1462.48352, 1488.78467,   0.00000, 0.00000, 0.00000);
  1074.     CreateDynamicObject(2010, 1170.28333, -1447.83594, 1488.78467,   0.00000, 0.00000, 0.00000);
  1075.     CreateDynamicObject(2010, 1174.98938, -1448.20288, 1488.78467,   0.00000, 0.00000, 0.00000);
  1076.     CreateDynamicObject(2010, 1174.91479, -1462.46570, 1488.78467,   0.00000, 0.00000, 0.00000);
  1077.     CreateDynamicObject(2172, 1173.27173, -1458.85669, 1488.78259,   0.00000, 0.00000, 0.00000);
  1078.     CreateDynamicObject(2172, 1167.06860, -1451.44971, 1488.78259,   0.00000, 0.00000, 0.00000);
  1079.     CreateDynamicObject(2172, 1167.06860, -1455.42432, 1488.78259,   0.00000, 0.00000, 0.00000);
  1080.     CreateDynamicObject(2172, 1167.06860, -1458.85669, 1488.78259,   0.00000, 0.00000, 0.00000);
  1081.     CreateDynamicObject(2172, 1173.27173, -1455.42432, 1488.78259,   0.00000, 0.00000, 0.00000);
  1082.     CreateDynamicObject(2172, 1173.27173, -1451.44971, 1488.78259,   0.00000, 0.00000, 0.00000);
  1083.     CreateDynamicObject(1806, 1167.27332, -1452.48926, 1488.78491,   0.00000, 0.00000, 0.00000);
  1084.     CreateDynamicObject(1806, 1173.67053, -1456.44482, 1488.78491,   0.00000, 0.00000, 0.00000);
  1085.     CreateDynamicObject(1806, 1173.72046, -1459.95593, 1488.78491,   0.00000, 0.00000, 0.00000);
  1086.     CreateDynamicObject(1806, 1167.06287, -1460.15088, 1488.78491,   0.00000, 0.00000, 0.00000);
  1087.     CreateDynamicObject(1806, 1166.98657, -1456.63147, 1488.78491,   0.00000, 0.00000, 0.00000);
  1088.     CreateDynamicObject(2191, 1175.25684, -1452.37891, 1488.78320,   0.00000, 0.00000, -90.00000);
  1089.     CreateDynamicObject(2191, 1164.47388, -1453.19727, 1488.78320,   0.00000, 0.00000, 90.00000);
  1090.     CreateDynamicObject(2191, 1164.25098, -1458.62769, 1488.78320,   0.00000, 0.00000, 90.00000);
  1091.     CreateDynamicObject(2191, 1175.33594, -1457.41321, 1488.78320,   0.00000, 0.00000, -90.00000);
  1092.     //CreateDynamicObject(1622, 1160.68958, -1445.72546, 1485.43335,   0.00000, 0.00000, 180.00000);
  1093.     CamaraBanco = CreateDynamicObject(1622, 1173.60962, -1445.83740, 1485.43335,   0.0000, 0.0000, 33.7200);
  1094.     //CreateDynamicObject(1622, 1173.32690, -1455.95862, 1485.43335,   0.00000, 0.00000, 0.00000);
  1095.     //CreateDynamicObject(1622, 1160.53760, -1455.86414, 1485.43335,   0.00000, 0.00000, 180.00000);
  1096.     PuertaBanco = CreateDynamicObject(2634, 1167.8254, -1441.1075, 1483.0273, 0.0000, 0.0000, 180.0200);
  1097.     CreateDynamicObject(1566, 1173.45679, -1466.38342, 1491.02283,   0.00000, 0.00000, 90.00000);
  1098.     CreateDynamicObject(19454, 1159.84216, -1463.72864, 1495.55237,   0.00000, 0.00000, 90.00000);
  1099.     CreateDynamicObject(19454, 1153.34045, -1456.56152, 1495.55237,   0.00000, 0.00000, 90.00000);
  1100.     CreateDynamicObject(19454, 1153.43652, -1450.42737, 1495.55237,   0.00000, 0.00000, 90.00000);
  1101.     CreateDynamicObject(1806, 1155.08179, -1453.12476, 1493.97705,   0.00000, 0.00000, 98.00000);
  1102.     CreateDynamicObject(2184, 1182.13611, -1441.31738, 1493.97058,   0.00000, 0.00000, -90.00000);
  1103.     CreateDynamicObject(2162, 1150.83154, -1454.84583, 1494.00110,   0.00000, 0.00000, 90.00000);
  1104.     CreateDynamicObject(2161, 1150.82214, -1453.12659, 1493.97791,   0.00000, 0.00000, 90.00000);
  1105.     CreateDynamicObject(2161, 1150.82214, -1451.78662, 1493.97791,   0.00000, 0.00000, 90.00000);
  1106.     CreateDynamicObject(2165, 1153.51672, -1452.69897, 1493.97876,   0.00000, 0.00000, -90.00000);
  1107.     CreateDynamicObject(1714, 1152.37573, -1452.88306, 1493.97827,   0.00000, 0.00000, 68.00000);
  1108.     CreateDynamicObject(2002, 1157.32751, -1451.20935, 1493.97949,   0.00000, 0.00000, 0.00000);
  1109.     CreateDynamicObject(2315, 1161.78125, -1444.07800, 1493.97754,   0.00000, 0.00000, 90.00000);
  1110.     CreateDynamicObject(2852, 1161.90540, -1442.74255, 1494.46765,   0.00000, 0.00000, 0.00000);
  1111.     CreateDynamicObject(1502, 1158.13855, -1453.91370, 1493.82056,   0.00000, 0.00000, 90.00000);
  1112.     CreateDynamicObject(19377, 1163.29382, -1460.10718, 1497.31750,   0.00000, 90.00000, 0.00000);
  1113.     CreateDynamicObject(19377, 1182.59851, -1428.34766, 1497.31750,   0.00000, 90.00000, 0.00000);
  1114.     CreateDynamicObject(19377, 1182.57080, -1437.72180, 1497.31750,   0.00000, 90.00000, 0.00000);
  1115.     CreateDynamicObject(19377, 1182.53284, -1447.15112, 1497.31750,   0.00000, 90.00000, 0.00000);
  1116.     CreateDynamicObject(19377, 1182.31396, -1456.77747, 1497.31750,   0.00000, 90.00000, 0.00000);
  1117.     CreateDynamicObject(19377, 1182.13892, -1465.51172, 1497.31750,   0.00000, 90.00000, 0.00000);
  1118.     CreateDynamicObject(19377, 1173.27686, -1459.14478, 1497.31750,   0.00000, 90.00000, 0.00000);
  1119.     CreateDynamicObject(19377, 1172.39050, -1449.87146, 1497.31750,   0.00000, 90.00000, 0.00000);
  1120.     CreateDynamicObject(19377, 1172.35449, -1440.22925, 1497.31750,   0.00000, 90.00000, 0.00000);
  1121.     CreateDynamicObject(19377, 1172.27844, -1430.74060, 1497.31750,   0.00000, 90.00000, 0.00000);
  1122.     CreateDynamicObject(19377, 1162.71765, -1428.03564, 1497.31750,   0.00000, 90.00000, 0.00000);
  1123.     CreateDynamicObject(19377, 1162.39026, -1437.56506, 1497.31750,   0.00000, 90.00000, 0.00000);
  1124.     CreateDynamicObject(19377, 1162.36414, -1447.20789, 1497.31750,   0.00000, 90.00000, 0.00000);
  1125.     CreateDynamicObject(19377, 1162.75916, -1456.04346, 1497.31750,   0.00000, 90.00000, 0.00000);
  1126.     CreateDynamicObject(19377, 1154.29370, -1454.31641, 1497.31750,   0.00000, 90.00000, 0.00000);
  1127.    
  1128.     // Exterior del Banco--
  1129.     new tmpobjid5;
  1130.     tmpobjid5 = CreateDynamicObjectEx(19454,800.249,-1754.755,12.000,0.000,0.000,0.000,300.000,300.000);
  1131.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1132.     tmpobjid5 = CreateDynamicObjectEx(19454,795.464,-1759.243,14.149,0.000,0.000,87.000,300.000,300.000);
  1133.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1134.     tmpobjid5 = CreateDynamicObjectEx(19454,781.416,-1753.623,14.149,0.000,0.000,0.000,300.000,300.000);
  1135.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1136.     tmpobjid5 = CreateDynamicObjectEx(19454,781.406,-1744.007,14.149,0.000,0.000,0.000,300.000,300.000);
  1137.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1138.     tmpobjid5 = CreateDynamicObjectEx(19454,781.402,-1734.472,14.149,0.000,0.000,0.000,300.000,300.000);
  1139.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1140.     tmpobjid5 = CreateDynamicObjectEx(19454,781.411,-1724.867,14.149,0.000,0.000,0.000,300.000,300.000);
  1141.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1142.     tmpobjid5 = CreateDynamicObjectEx(19454,786.214,-1718.557,14.199,0.000,0.000,90.000,300.000,300.000);
  1143.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1144.     tmpobjid5 = CreateDynamicObjectEx(19454,795.484,-1718.551,14.199,0.000,0.000,90.000,300.000,300.000);
  1145.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1146.     tmpobjid5 = CreateDynamicObjectEx(19454,800.242,-1730.991,12.000,0.000,0.000,0.000,300.000,300.000);
  1147.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1148.     tmpobjid5 = CreateDynamicObjectEx(19454,783.080,-1753.612,15.899,0.000,90.000,0.000,300.000,300.000);
  1149.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1150.     tmpobjid5 = CreateDynamicObjectEx(19435,800.262,-1758.782,14.149,0.000,0.000,0.000,300.000,300.000);
  1151.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1152.     tmpobjid5 = CreateDynamicObjectEx(19454,800.242,-1745.138,12.000,0.000,0.000,0.000,300.000,300.000);
  1153.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1154.     tmpobjid5 = CreateDynamicObjectEx(19435,800.245,-1741.050,14.149,0.000,0.000,0.000,300.000,300.000);
  1155.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1156.     tmpobjid5 = CreateDynamicObjectEx(19435,800.242,-1736.584,14.149,0.000,0.000,0.000,300.000,300.000);
  1157.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1158.     tmpobjid5 = CreateDynamicObjectEx(19454,800.220,-1723.307,12.000,0.000,0.000,0.000,300.000,300.000);
  1159.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1160.     tmpobjid5 = CreateDynamicObjectEx(19435,800.229,-1719.293,14.149,0.000,0.000,0.000,300.000,300.000);
  1161.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1162.     tmpobjid5 = CreateDynamicObjectEx(19454,786.177,-1758.674,14.149,0.000,0.000,86.099,300.000,300.000);
  1163.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1164.     tmpobjid5 = CreateDynamicObjectEx(19435,781.405,-1719.270,14.149,0.000,0.000,0.000,300.000,300.000);
  1165.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1166.     tmpobjid5 = CreateDynamicObjectEx(19454,783.090,-1743.979,15.899,0.000,90.000,0.000,300.000,300.000);
  1167.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1168.     tmpobjid5 = CreateDynamicObjectEx(19454,783.078,-1734.395,15.899,0.000,90.000,0.000,300.000,300.000);
  1169.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1170.     tmpobjid5 = CreateDynamicObjectEx(19454,783.096,-1724.744,15.899,0.000,90.000,0.000,300.000,300.000);
  1171.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1172.     tmpobjid5 = CreateDynamicObjectEx(19454,783.117,-1723.335,15.880,0.000,90.000,0.000,300.000,300.000);
  1173.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1174.     tmpobjid5 = CreateDynamicObjectEx(19454,786.598,-1723.330,15.899,0.000,90.000,0.000,300.000,300.000);
  1175.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1176.     tmpobjid5 = CreateDynamicObjectEx(19454,786.585,-1732.931,15.899,0.000,90.000,0.000,300.000,300.000);
  1177.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1178.     tmpobjid5 = CreateDynamicObjectEx(19454,786.580,-1742.545,15.899,0.000,90.000,0.000,300.000,300.000);
  1179.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1180.     tmpobjid5 = CreateDynamicObjectEx(19454,786.598,-1752.177,15.899,0.000,90.000,0.000,300.000,300.000);
  1181.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1182.     tmpobjid5 = CreateDynamicObjectEx(19454,786.589,-1753.808,15.890,0.000,90.000,0.000,300.000,300.000);
  1183.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1184.     tmpobjid5 = CreateDynamicObjectEx(19454,790.066,-1723.294,15.899,0.000,90.000,0.000,300.000,300.000);
  1185.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1186.     tmpobjid5 = CreateDynamicObjectEx(19454,793.551,-1723.298,15.899,0.000,90.000,0.000,300.000,300.000);
  1187.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1188.     tmpobjid5 = CreateDynamicObjectEx(19454,797.055,-1723.292,15.899,0.000,90.000,0.000,300.000,300.000);
  1189.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1190.     tmpobjid5 = CreateDynamicObjectEx(19454,798.561,-1723.322,15.890,0.000,90.000,0.000,300.000,300.000);
  1191.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1192.     tmpobjid5 = CreateDynamicObjectEx(19454,790.057,-1732.909,15.899,0.000,90.000,0.000,300.000,300.000);
  1193.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1194.     tmpobjid5 = CreateDynamicObjectEx(19454,793.537,-1732.918,15.899,0.000,90.000,0.000,300.000,300.000);
  1195.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1196.     tmpobjid5 = CreateDynamicObjectEx(19454,797.043,-1732.907,15.899,0.000,90.000,0.000,300.000,300.000);
  1197.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1198.     tmpobjid5 = CreateDynamicObjectEx(19454,798.568,-1732.912,15.890,0.000,90.000,0.000,300.000,300.000);
  1199.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1200.     tmpobjid5 = CreateDynamicObjectEx(19454,790.052,-1742.538,15.899,0.000,90.000,0.000,300.000,300.000);
  1201.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1202.     tmpobjid5 = CreateDynamicObjectEx(19454,793.509,-1742.543,15.899,0.000,90.000,0.000,300.000,300.000);
  1203.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1204.     tmpobjid5 = CreateDynamicObjectEx(19454,796.945,-1742.531,15.899,0.000,90.000,0.000,300.000,300.000);
  1205.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1206.     tmpobjid5 = CreateDynamicObjectEx(19454,798.559,-1742.541,15.890,0.000,90.000,0.000,300.000,300.000);
  1207.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1208.     tmpobjid5 = CreateDynamicObjectEx(19454,790.090,-1752.179,15.899,0.000,90.000,0.000,300.000,300.000);
  1209.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1210.     tmpobjid5 = CreateDynamicObjectEx(19454,793.573,-1752.198,15.899,0.000,90.000,0.000,300.000,300.000);
  1211.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1212.     tmpobjid5 = CreateDynamicObjectEx(19454,797.029,-1752.177,15.899,0.000,90.000,0.000,300.000,300.000);
  1213.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1214.     tmpobjid5 = CreateDynamicObjectEx(19454,798.551,-1752.167,15.890,0.000,90.000,0.000,300.000,300.000);
  1215.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1216.     tmpobjid5 = CreateDynamicObjectEx(19454,790.055,-1754.062,15.890,0.000,90.000,0.000,300.000,300.000);
  1217.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1218.     tmpobjid5 = CreateDynamicObjectEx(19454,793.520,-1754.222,15.890,0.000,90.000,0.000,300.000,300.000);
  1219.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1220.     tmpobjid5 = CreateDynamicObjectEx(19454,797.028,-1754.398,15.890,0.000,90.000,0.000,300.000,300.000);
  1221.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1222.     tmpobjid5 = CreateDynamicObjectEx(19454,798.566,-1754.497,15.890,0.000,90.000,0.000,300.000,300.000);
  1223.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1224.     tmpobjid5 = CreateDynamicObjectEx(19435,800.242,-1738.943,15.801,90.000,0.000,0.000,300.000,300.000);
  1225.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1226.     tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1742.104,17.600,0.000,0.000,90.000,300.000,300.000);
  1227.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1228.     tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1742.107,17.600,0.000,0.000,90.000,300.000,300.000);
  1229.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1230.     tmpobjid5 = CreateDynamicObjectEx(19435,793.336,-1741.965,17.600,0.000,0.000,0.000,300.000,300.000);
  1231.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1232.     tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1735.024,17.600,0.000,0.000,90.000,300.000,300.000);
  1233.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1234.     tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1735.024,17.600,0.000,0.000,90.000,300.000,300.000);
  1235.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1236.     tmpobjid5 = CreateDynamicObjectEx(19435,792.629,-1734.401,17.600,0.000,0.000,90.000,300.000,300.000);
  1237.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1238.     tmpobjid5 = CreateDynamicObjectEx(19435,791.898,-1735.127,17.600,0.000,0.000,0.000,300.000,300.000);
  1239.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1240.     tmpobjid5 = CreateDynamicObjectEx(19435,793.368,-1735.098,17.600,0.000,0.000,0.000,300.000,300.000);
  1241.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1242.     tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1735.014,17.600,0.000,0.000,90.000,300.000,300.000);
  1243.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1244.     tmpobjid5 = CreateDynamicObjectEx(19435,787.254,-1735.744,17.600,0.000,0.000,0.000,300.000,300.000);
  1245.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1246.     tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1737.311,17.600,0.000,0.000,0.000,300.000,300.000);
  1247.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1248.     tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1738.892,17.600,0.000,0.000,0.000,300.000,300.000);
  1249.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1250.     tmpobjid5 = CreateDynamicObjectEx(19435,787.266,-1741.373,17.600,0.000,0.000,0.000,300.000,300.000);
  1251.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1252.     tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1742.104,17.600,0.000,0.000,90.000,300.000,300.000);
  1253.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1254.     tmpobjid5 = CreateDynamicObjectEx(19435,787.251,-1739.914,17.600,0.000,0.000,0.000,300.000,300.000);
  1255.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1256.     tmpobjid5 = CreateDynamicObjectEx(19435,791.880,-1741.990,17.600,0.000,0.000,0.000,300.000,300.000);
  1257.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1258.     tmpobjid5 = CreateDynamicObjectEx(19435,792.591,-1742.729,17.600,0.000,0.000,90.000,300.000,300.000);
  1259.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1260.     tmpobjid5 = CreateDynamicObjectEx(19435,792.588,-1741.189,17.600,0.000,0.000,90.000,300.000,300.000);
  1261.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1262.     tmpobjid5 = CreateDynamicObjectEx(19435,792.638,-1735.860,17.600,0.000,0.000,90.000,300.000,300.000);
  1263.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1264.     tmpobjid5 = CreateDynamicObjectEx(19435,792.656,-1736.651,17.600,0.000,0.000,0.000,300.000,300.000);
  1265.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1266.     tmpobjid5 = CreateDynamicObjectEx(19435,792.636,-1738.213,17.600,0.000,0.000,0.000,300.000,300.000);
  1267.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1268.     tmpobjid5 = CreateDynamicObjectEx(19435,792.627,-1739.800,17.600,0.000,0.000,0.000,300.000,300.000);
  1269.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1270.     tmpobjid5 = CreateDynamicObjectEx(19435,792.624,-1741.382,17.600,0.000,0.000,0.000,300.000,300.000);
  1271.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1272.     tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1737.311,21.100,0.000,0.000,0.000,300.000,300.000);
  1273.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1274.     tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1738.892,21.100,0.000,0.000,0.000,300.000,300.000);
  1275.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1276.     tmpobjid5 = CreateDynamicObjectEx(19435,787.266,-1741.373,21.100,0.000,0.000,0.000,300.000,300.000);
  1277.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1278.     tmpobjid5 = CreateDynamicObjectEx(19435,787.251,-1739.914,21.100,0.000,0.000,0.000,300.000,300.000);
  1279.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1280.     tmpobjid5 = CreateDynamicObjectEx(19435,787.254,-1735.744,21.100,0.000,0.000,0.000,300.000,300.000);
  1281.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1282.     tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1735.024,21.100,0.000,0.000,90.000,300.000,300.000);
  1283.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1284.     tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1735.014,21.100,0.000,0.000,90.000,300.000,300.000);
  1285.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1286.     tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1735.024,21.100,0.000,0.000,90.000,300.000,300.000);
  1287.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1288.     tmpobjid5 = CreateDynamicObjectEx(19435,792.629,-1734.401,21.100,0.000,0.000,90.000,300.000,300.000);
  1289.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1290.     tmpobjid5 = CreateDynamicObjectEx(19435,791.898,-1735.127,21.100,0.000,0.000,0.000,300.000,300.000);
  1291.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1292.     tmpobjid5 = CreateDynamicObjectEx(19435,792.638,-1735.860,21.100,0.000,0.000,90.000,300.000,300.000);
  1293.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1294.     tmpobjid5 = CreateDynamicObjectEx(19435,793.368,-1735.098,21.100,0.000,0.000,0.000,300.000,300.000);
  1295.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1296.     tmpobjid5 = CreateDynamicObjectEx(19435,792.627,-1739.800,21.100,0.000,0.000,0.000,300.000,300.000);
  1297.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1298.     tmpobjid5 = CreateDynamicObjectEx(19435,792.635,-1738.213,21.100,0.000,0.000,0.000,300.000,300.000);
  1299.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1300.     tmpobjid5 = CreateDynamicObjectEx(19435,792.656,-1736.651,21.100,0.000,0.000,0.000,300.000,300.000);
  1301.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1302.     tmpobjid5 = CreateDynamicObjectEx(19435,792.624,-1741.382,21.100,0.000,0.000,0.000,300.000,300.000);
  1303.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1304.     tmpobjid5 = CreateDynamicObjectEx(19435,791.880,-1741.990,21.100,0.000,0.000,0.000,300.000,300.000);
  1305.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1306.     tmpobjid5 = CreateDynamicObjectEx(19435,792.588,-1741.189,21.100,0.000,0.000,90.000,300.000,300.000);
  1307.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1308.     tmpobjid5 = CreateDynamicObjectEx(19435,792.591,-1742.729,21.100,0.000,0.000,90.000,300.000,300.000);
  1309.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1310.     tmpobjid5 = CreateDynamicObjectEx(19435,793.336,-1741.965,21.100,0.000,0.000,0.000,300.000,300.000);
  1311.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1312.     tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1742.107,21.100,0.000,0.000,90.000,300.000,300.000);
  1313.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1314.     tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1742.104,21.100,0.000,0.000,90.000,300.000,300.000);
  1315.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1316.     tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1742.104,21.100,0.000,0.000,90.000,300.000,300.000);
  1317.     SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
  1318.     tmpobjid5 = CreateDynamicObjectEx(19435,787.984,-1740.338,22.899,0.000,90.000,90.000,300.000,300.000);
  1319.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1320.     tmpobjid5 = CreateDynamicObjectEx(19435,787.987,-1736.849,22.899,0.000,90.000,90.000,300.000,300.000);
  1321.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1322.     tmpobjid5 = CreateDynamicObjectEx(19435,789.583,-1736.848,22.899,0.000,90.000,90.000,300.000,300.000);
  1323.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1324.     tmpobjid5 = CreateDynamicObjectEx(19435,791.183,-1736.852,22.899,0.000,90.000,90.000,300.000,300.000);
  1325.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1326.     tmpobjid5 = CreateDynamicObjectEx(19435,789.602,-1740.345,22.899,0.000,90.000,90.000,300.000,300.000);
  1327.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1328.     tmpobjid5 = CreateDynamicObjectEx(19435,791.198,-1740.351,22.899,0.000,90.000,90.000,300.000,300.000);
  1329.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1330.     tmpobjid5 = CreateDynamicObjectEx(19435,792.641,-1736.065,22.889,0.000,90.000,90.000,300.000,300.000);
  1331.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1332.     tmpobjid5 = CreateDynamicObjectEx(19435,792.636,-1739.565,22.889,0.000,90.000,90.000,300.000,300.000);
  1333.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1334.     tmpobjid5 = CreateDynamicObjectEx(19435,792.625,-1741.058,22.889,0.000,90.000,90.000,300.000,300.000);
  1335.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1336.     tmpobjid5 = CreateDynamicObjectEx(19435,790.112,-1739.286,22.899,0.000,0.000,90.000,300.000,300.000);
  1337.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1338.     tmpobjid5 = CreateDynamicObjectEx(19435,790.118,-1737.826,22.899,0.000,0.000,90.000,300.000,300.000);
  1339.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1340.     tmpobjid5 = CreateDynamicObjectEx(19435,790.845,-1738.579,22.899,0.000,0.000,0.000,300.000,300.000);
  1341.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1342.     tmpobjid5 = CreateDynamicObjectEx(19435,789.386,-1738.580,22.899,0.000,0.000,0.000,300.000,300.000);
  1343.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1344.     tmpobjid5 = CreateDynamicObjectEx(19435,790.680,-1738.574,22.899,0.000,0.000,0.000,300.000,300.000);
  1345.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1346.     tmpobjid5 = CreateDynamicObjectEx(19435,790.522,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1347.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1348.     tmpobjid5 = CreateDynamicObjectEx(19435,790.400,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1349.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1350.     tmpobjid5 = CreateDynamicObjectEx(19435,790.299,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1351.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1352.     tmpobjid5 = CreateDynamicObjectEx(19435,790.159,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1353.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1354.     tmpobjid5 = CreateDynamicObjectEx(19435,790.020,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1355.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1356.     tmpobjid5 = CreateDynamicObjectEx(19435,789.901,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1357.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1358.     tmpobjid5 = CreateDynamicObjectEx(19435,789.802,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1359.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1360.     tmpobjid5 = CreateDynamicObjectEx(19435,789.650,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1361.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1362.     tmpobjid5 = CreateDynamicObjectEx(19435,789.502,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
  1363.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1364.     tmpobjid5 = CreateDynamicObjectEx(673,800.820,-1759.219,12.542,0.000,0.000,0.000,300.000,300.000);
  1365.     tmpobjid5 = CreateDynamicObjectEx(673,800.629,-1718.629,12.542,0.000,0.000,0.000,300.000,300.000);
  1366.     tmpobjid5 = CreateDynamicObjectEx(673,800.785,-1736.612,12.542,0.000,0.000,0.000,300.000,300.000);
  1367.     tmpobjid5 = CreateDynamicObjectEx(673,800.874,-1741.204,12.542,0.000,0.000,0.000,300.000,300.000);
  1368.     tmpobjid5 = CreateDynamicObjectEx(970,805.020,-1746.913,13.100,0.000,0.000,90.000,300.000,300.000);
  1369.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1370.     tmpobjid5 = CreateDynamicObjectEx(970,805.013,-1742.789,13.100,0.000,0.000,90.000,300.000,300.000);
  1371.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1372.     tmpobjid5 = CreateDynamicObjectEx(970,805.028,-1751.034,13.100,0.000,0.000,90.000,300.000,300.000);
  1373.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1374.     tmpobjid5 = CreateDynamicObjectEx(970,805.027,-1755.145,13.100,0.000,0.000,90.000,300.000,300.000);
  1375.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1376.     tmpobjid5 = CreateDynamicObjectEx(970,805.038,-1757.239,13.100,0.000,0.000,90.000,300.000,300.000);
  1377.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1378.     tmpobjid5 = CreateDynamicObjectEx(19121,804.935,-1740.530,13.100,0.000,0.000,0.000,300.000,300.000);
  1379.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1380.     tmpobjid5 = CreateDynamicObjectEx(970,805.039,-1735.120,13.100,0.000,0.000,90.000,300.000,300.000);
  1381.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1382.     tmpobjid5 = CreateDynamicObjectEx(970,805.031,-1730.973,13.100,0.000,0.000,90.000,300.000,300.000);
  1383.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1384.     tmpobjid5 = CreateDynamicObjectEx(970,805.009,-1726.801,13.100,0.000,0.000,90.000,300.000,300.000);
  1385.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1386.     tmpobjid5 = CreateDynamicObjectEx(970,804.987,-1722.629,13.100,0.000,0.000,90.000,300.000,300.000);
  1387.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1388.     tmpobjid5 = CreateDynamicObjectEx(970,800.333,-1716.132,13.100,0.000,0.000,90.000,300.000,300.000);
  1389.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1390.     tmpobjid5 = CreateDynamicObjectEx(970,800.330,-1712.017,13.100,0.000,0.000,90.000,300.000,300.000);
  1391.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1392.     tmpobjid5 = CreateDynamicObjectEx(970,800.337,-1707.876,13.100,0.000,0.000,90.000,300.000,300.000);
  1393.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1394.     tmpobjid5 = CreateDynamicObjectEx(970,800.335,-1687.123,13.100,0.000,0.000,90.000,300.000,300.000);
  1395.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1396.     tmpobjid5 = CreateDynamicObjectEx(970,791.419,-1684.811,13.100,0.000,0.000,-2.000,300.000,300.000);
  1397.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1398.     tmpobjid5 = CreateDynamicObjectEx(970,795.541,-1684.944,13.100,0.000,0.000,-2.000,300.000,300.000);
  1399.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1400.     tmpobjid5 = CreateDynamicObjectEx(970,800.335,-1691.256,13.100,0.000,0.000,90.000,300.000,300.000);
  1401.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1402.     tmpobjid5 = CreateDynamicObjectEx(970,800.336,-1695.395,13.100,0.000,0.000,90.000,300.000,300.000);
  1403.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1404.     tmpobjid5 = CreateDynamicObjectEx(3578,786.234,-1712.361,11.789,0.000,0.000,0.000,300.000,300.000);
  1405.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1406.     tmpobjid5 = CreateDynamicObjectEx(3578,786.156,-1705.779,11.789,0.000,0.000,0.000,300.000,300.000);
  1407.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1408.     tmpobjid5 = CreateDynamicObjectEx(3578,786.284,-1699.960,11.789,0.000,0.000,0.000,300.000,300.000);
  1409.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1410.     tmpobjid5 = CreateDynamicObjectEx(3578,786.168,-1693.895,11.789,0.000,0.000,0.000,300.000,300.000);
  1411.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1412.     tmpobjid5 = CreateDynamicObjectEx(3578,786.214,-1688.773,11.789,0.000,0.000,0.000,300.000,300.000);
  1413.     SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
  1414.  
  1415.  
  1416.  
  1417.     tmpobjid5 = CreateDynamicObjectEx(19454,793.964,-1754.343,15.880,0.000,90.000,0.000);
  1418.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1419.     tmpobjid5 = CreateDynamicObjectEx(19454,792.095,-1754.154,15.880,0.000,90.000,0.000);
  1420.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1421.     tmpobjid5 = CreateDynamicObjectEx(19454,789.014,-1753.960,15.880,0.000,90.000,0.000);
  1422.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1423.     tmpobjid5 = CreateDynamicObjectEx(19454,798.498,-1754.534,15.880,0.000,90.000,0.000);
  1424.     SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
  1425.  
  1426.     tmpobjid5 = CreateDynamicObjectEx(19482,800.337,-1738.818,15.746,0.000,0.000,0.000,300.000,300.000);
  1427.     SetDynamicObjectMaterialText(tmpobjid5, 0, "Banco", 80, "Quartz MS", 50, 0, -3, 0, 1);
  1428.  
  1429.     // Textos en 3D
  1430.  
  1431.     CreateDynamic3DTextLabel("Puerta para ingresar a la caja fuerte\n"COLOR_BLANCO_HTML"Presiona F si quieres salir o entrar.", COLOR_ROJO_NORMAL, 1170.637817, -1463.692993, 1494.096801, 7.0);
  1432.     CreateDynamic3DTextLabel("Ubica /lucesbanco\n"COLOR_BLANCO_HTML"Para apagar la electricidad o prenderla del banco.", COLOR_AMARILLO, 1168.8500, -1447.3810, 1489.9878, 9.0);
  1433.  
  1434.     // Actors
  1435.    
  1436.     new Float:Pos[4];
  1437.     Pos = Float: {1183.6508,-1455.3276,1494.9796,91.4246};
  1438.     Banco_Atiende[0] = CrearActor(76, Pos, true);
  1439.     ApplyActorAnimation(Banco_Atiende[0], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1440.  
  1441.     Pos = Float: {1183.6548,-1448.6482,1494.9796,95.4979};
  1442.     Banco_Atiende[1] = CrearActor(76, Pos, true);
  1443.     //ApplyActorAnimation(Banco_Atiende[1], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1444.  
  1445.     Pos = Float: {1183.6575,-1441.9720,1494.9854,101.7647};
  1446.     Banco_Atiende[2] = CrearActor(76, Pos, true);
  1447.     //ApplyActorAnimation(Banco_Atiende[2], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1448.  
  1449.     Pos = Float: {1183.6559,-1435.2528,1494.9854,94.8713};
  1450.     Banco_Atiende[3] = CrearActor(76, Pos, true);
  1451.     ApplyActorAnimation(Banco_Atiende[3], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1452.  
  1453.     //Banco-Normales
  1454.  
  1455.     Pos = Float: {1181.3042,-1436.1581,1494.9854,285.6932};
  1456.     Banco_Clientes[0] = CrearActor(124, Pos, true); //hablando
  1457.     ApplyActorAnimation(Banco_Clientes[0], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1458.  
  1459.     Pos = Float: {1181.3036,-1455.6843,1494.9796,267.2064};
  1460.     Banco_Clientes[1] = CrearActor(101, Pos, true); // hablando
  1461.     ApplyActorAnimation(Banco_Clientes[1], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1462.  
  1463.     Pos = Float: {1164.7645,-1440.2540,1494.9796,88.0014};
  1464.     Banco_Clientes[2] = CrearActor(98, Pos, true); //sentados
  1465.     ApplyActorAnimation(Banco_Clientes[2], "ped","SEAT_down",4.0,0,0,0,1,0);
  1466.  
  1467.     Pos = Float: {1160.3619,-1442.3772,1494.9796,274.4364};
  1468.     Banco_Clientes[3] = CrearActor(68, Pos, true); //sentados
  1469.     ApplyActorAnimation(Banco_Clientes[3], "ped","SEAT_down",4.0,0,0,0,1,0);
  1470.  
  1471.     Pos = Float: {1165.7268,-1453.4568,1494.9796,0.2672};
  1472.     Banco_Clientes[4] = CrearActor(57, Pos, true); //hablando
  1473.     ApplyActorAnimation(Banco_Clientes[4], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1474.  
  1475.     Pos = Float: {1165.7021,-1452.5560,1494.9796,204.2257};
  1476.     Banco_Clientes[5] = CrearActor(55, Pos, true); //hablando
  1477.     ApplyActorAnimation(Banco_Clientes[5], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1478.  
  1479.     Pos = Float: {1169.8115,-1431.1660,1494.9796,198.2723};
  1480.     Banco_Clientes[6] = CrearActor(46, Pos, true); //hablando
  1481.     ApplyActorAnimation(Banco_Clientes[6], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1482.  
  1483.     Pos = Float: {1170.0519,-1431.9393,1494.9796,18.2723};
  1484.     Banco_Clientes[7] = CrearActor(42, Pos, true); //hablando
  1485.     ApplyActorAnimation(Banco_Clientes[7], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
  1486.  
  1487.     Pos = Float: {1154.3541,-1453.1875,1494.9796,89.2548};
  1488.     Banco_Clientes[8] = CrearActor(3, Pos, true); //sentado
  1489.     ApplyActorAnimation(Banco_Clientes[8], "MISC","Seat_talk_01",4.0,1,0,0,0,0);
  1490.  
  1491.     Pos = Float: {1153.0858,-1453.3292,1494.9796,244.3564};
  1492.     Banco_Clientes[9] = CrearActor(17, Pos, true); //sentado
  1493.     ApplyActorAnimation(Banco_Clientes[9], "ped","SEAT_down",4.0,0,0,0,1,0);
  1494.  
  1495.     for(new i; i < 10; i++)
  1496.     {
  1497.         if(i < 4)
  1498.         {
  1499.             GetActorPos(Banco_Atiende[i], Pos[0], Pos[1], Pos[2]);
  1500.             Banco_Atiende_T[i] = CreateDynamic3DTextLabel("", COLOR_BLANCO, Pos[0], Pos[1], Pos[2]+0.3, 15.0);
  1501.             ActualizarEstadoActor_Banco("Atiende", i, "Normal");
  1502.         }
  1503.  
  1504.         GetActorPos(Banco_Clientes[i], Pos[0], Pos[1], Pos[2]);
  1505.         Banco_Clientes_T[i] = CreateDynamic3DTextLabel("", COLOR_BLANCO, Pos[0], Pos[1], Pos[2]+0.3, 15.0);
  1506.         ActualizarEstadoActor_Banco("Cliente", i, "Normal");
  1507.     }
  1508.  
  1509.  
  1510.     //Puertas que se abren.
  1511.     puertaB = CreateDynamicObject(1501, 1170.637817, -1463.692993, 1494.096801, 0.0, 0.0, 0.0);
  1512.     return 1;
  1513. }
  1514.  
  1515. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1516. {
  1517.     if(newkeys & KEY_SECONDARY_ATTACK)
  1518.     {
  1519.         if(IsPlayerInRangeOfPoint(playerid, 1.2, 1170.637817, -1463.692993, 1494.096801))
  1520.         {
  1521.             if(IsPlayerInRange(playerid, 1169.8447, 1172.4893, -1463.5546, -1463.1514))
  1522.             {
  1523.                 if(Tiene_Tarjeta_Bancaria[playerid])
  1524.                 {
  1525.                     Tiene_Tarjeta_Bancaria[playerid] = false;
  1526.                     AparecerTBancaria(playerid, 0);
  1527.                     MoveDynamicObject(puertaB, 1170.637817-10, -1463.692993, 1494.096801, 0.80);
  1528.                     SetTimerEx("MoveDynamicObject2", 6500, false, "ifffi", puertaB, 1170.637817, -1463.692993, 1494.096801, 0.80);
  1529.                 }
  1530.                 else SendClientMessageError(playerid, "No tienes una tarjeta para ingresar.");
  1531.             }
  1532.             else
  1533.             {
  1534.                 MoveDynamicObject(puertaB, 1170.637817-10, -1463.692993, 1494.096801, 0.80);
  1535.                 SetTimerEx("MoveDynamicObject2", 6500, false, "ifffi", puertaB, 1170.637817, -1463.692993, 1494.096801, 0.80);
  1536.             }
  1537.         }
  1538.     }
  1539.     if(newkeys & KEY_HANDBRAKE)
  1540.     {
  1541.         if(!BancoYaRobado)
  1542.         {
  1543.             if(GetPlayerWeapon(playerid) >= 22 && GetPlayerWeapon(playerid) <= 34)
  1544.             {
  1545.                 if(!Banco_Alertas[0])
  1546.                 {
  1547.                     if(IsBancoSalas(playerid) == 1)
  1548.                     {
  1549.                         for(new i; i < 8; i++)
  1550.                         {
  1551.                             if( i < 4 )
  1552.                             {
  1553.                                 ClearActorAnimations(Banco_Atiende[i]);
  1554.                                 ApplyActorAnimation(Banco_Atiende[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  1555.                                 ActualizarEstadoActor_Banco("Atiende", i, "Alerta");
  1556.                             }
  1557.  
  1558.                             ClearActorAnimations(Banco_Clientes[i]);
  1559.                             ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  1560.                             ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
  1561.                         }
  1562.                         Banco_Alertas[0] = true;
  1563.                     }
  1564.                 }
  1565.                 if(!Banco_Alertas[1])
  1566.                 {
  1567.                     if(IsBancoSalas(playerid) == 2)
  1568.                     {
  1569.                         for(new i = 8; i < 10; i++)
  1570.                         {
  1571.                             ClearActorAnimations(Banco_Clientes[i]);
  1572.                             ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  1573.                             ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
  1574.                         }
  1575.                         Banco_Alertas[1] = true;
  1576.                     }
  1577.                 }
  1578.             }
  1579.         }
  1580.     }
  1581.     return 1;
  1582. }
  1583.  
  1584. public OnPlayerText(playerid, text[])
  1585. {
  1586.     new texto[190], texto2[2][90];
  1587.  
  1588.     if(strlen(text) >= 89)
  1589.     {
  1590.         strmid(texto2[0], text, 0, 88);
  1591.         strmid(texto2[1], text, 88, strlen(text));
  1592.         format(texto, sizeof(texto), "%s dice: %s...", GetPlayerNameEx(playerid), texto2[0]);
  1593.         ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
  1594.         format(texto, sizeof(texto), "%s", texto2[1]);
  1595.         ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
  1596.         SetPlayerChatBubble(playerid,text,-1,15.0,5000);
  1597.     }
  1598.     else
  1599.     {
  1600.         format(texto, sizeof(texto), "%s dice: %s", GetPlayerNameEx(playerid), text);
  1601.         ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
  1602.         SetPlayerChatBubble(playerid, text, -1, 15.0, 5000);
  1603.     }
  1604.     return 0;
  1605. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement