Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Informacion:
- Hay funciones que tienes que cambiar y crear en
- las variables del usuario, que son:
- Variables del usuario:
- pExplosivos
- pTieneBolsaDinero
- Funciones:
- SendMSGFaccion <- este es para enviar msg a una facción, tienes que cambiarlo
- ** Si usas ZC en vez de Info yo lo tengo como Usuario asi que solo
- lo cambias y ya está.
- ** Lo más recomandable es implentar este sistema a tu gm directamente..
- ** Créditos:
- ******************************************************************************
- ** Creador del FS: JoseJoaquinZc (Jastak) **
- ** Creador del Exterior del Mapeo del Banco: Un user de forum-samp **
- ** Creador del Exterior del Banco: ElioSkin (mi ex-mapper) **
- ** Gracias a Y_Lees y a Incognito y Zeex por los includes requeridos. **
- ******************************************************************************
- ** Información: Este sistema fué sacado de mi gm de 0, Jasta Roleplay que está en desarrollo,
- Es la razón por lo que debes de ubicar esto en tu gm directamente cambiando cosas de cara a tu gm.
- ** 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,
- yo que se.., un mercado negro, lo que sea.
- */
- // Sistema de Banco.
- //Variables
- #include <a_samp>
- #include <YSI\y_timers>
- #include <streamer>
- #include <zcmd>
- enum ENUM_T // Esto es provicional ya que ustedes supuestamente necesita ubicar esto en su GM (el FS)
- {
- pExplosivos,
- pTieneBolsaDinero,
- pVIP,
- pFaccion
- };
- new Usuario[MAX_PLAYERS][ENUM_T];
- #define COLOR_AMARILLO_HTML "{FFFF00}"
- #define COLOR_BLANCO_HTML "{FFFFFF}"
- #define MAX_BOLSAS_D 5
- #define function%0(%1) forward%0(%1);public%0(%1)
- #define COLOR_AMARILLO 0xFEE639FF
- #define COLOR_BLANCO -1
- #define COLOR_ROJO_NORMAL 0xE95500FF
- #define COLOR_GRIS 0xC9C9C9FF
- #define FACCION_LSPD (1)
- #define COLOR_RADIO 0x45B6D5FF
- #define COLOR_ROL_ME 0xFF669FFF
- #define COLOR_VERDE 0x73A100FF
- new BancoDineroPickup;
- new CamaraBanco;
- new bool:CogieronDinero = true;
- new bool:YaPuestoC4B;
- new C4Banco;
- new PuertaBanco;
- new LucesBanco = 1;
- new puertaB;
- new bool:Banco_Alertas[2];
- new Banco_Atiende[4];
- new Banco_Clientes[10];
- new Text3D:Banco_Atiende_T[4];
- new Text3D:Banco_Clientes_T[10];
- new Banco_Atiende_Ti[4];
- new Banco_Clientes_Ti[10];
- new bool: BancoYaRobado = false;
- new Text:TarjetaBancaria[5]; // el textdraw del banco.
- new bool: Tiene_Tarjeta_Bancaria[MAX_PLAYERS];
- enum ENUM_BolsasD
- {
- Float:bd_PosX,
- Float:bd_PosY,
- Float:bd_PosZ,
- bd_dinero,
- bd_objeto,
- Text3D:bd_texto3D
- };
- new BolsasD[MAX_BOLSAS_D][ENUM_BolsasD];
- // Funciones
- UbicarClima(playerid)
- {
- new t_hora, t_min, t_seg;
- gettime(t_hora, t_min, t_seg);
- //SetPlayerWeather(playerid, 4);
- SetPlayerTime(playerid, t_hora, t_min);
- return 1;
- }
- stock GetPlayerNameEx(playerid)
- {
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, MAX_PLAYER_NAME);
- return name;
- }
- stock ProxDetector(playerid, msj[], color1, color2, color3, color4, color5, Float: radio)
- {
- new Float: X, Float: Y, Float: Z, vw, inte;
- GetPlayerPos(playerid, X, Y, Z);
- vw = GetPlayerVirtualWorld(playerid); inte = GetPlayerInterior(playerid);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) && GetPlayerInterior(i) == inte && GetPlayerVirtualWorld(i) == vw)
- {
- if(IsPlayerInRangeOfPoint(i, radio/1, X, Y, Z))
- {
- SendClientMessage(i, color1, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/1.2, X, Y, Z))
- {
- SendClientMessage(i, color2, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/1.8, X, Y, Z))
- {
- SendClientMessage(i, color3, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/3, X, Y, Z))
- {
- SendClientMessage(i, color4, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/4, X, Y, Z))
- {
- SendClientMessage(i, color5, msj);
- }
- }
- }
- return 1;
- }
- stock ProxDetectorActor(actorid, msj[], color1, color2, color3, color4, color5, Float: radio)
- {
- new Float: X, Float: Y, Float: Z, vw;
- GetActorPos(actorid, X, Y, Z);
- vw = GetActorVirtualWorld(actorid);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == vw)
- {
- if(IsPlayerInRangeOfPoint(i, radio/1, X, Y, Z))
- {
- SendClientMessage(i, color1, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/1.2, X, Y, Z))
- {
- SendClientMessage(i, color2, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/1.8, X, Y, Z))
- {
- SendClientMessage(i, color3, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/3, X, Y, Z))
- {
- SendClientMessage(i, color4, msj);
- }
- else if(IsPlayerInRangeOfPoint(i, radio/4, X, Y, Z))
- {
- SendClientMessage(i, color5, msj);
- }
- }
- }
- return 1;
- }
- stock SendMSGFaccion(faccion, str[], color = -1)
- {
- for(new i; i< MAX_PLAYERS; i++)
- {
- if(IsPlayerConnected(i))
- {
- if(Usuario[i][pFaccion] == faccion)
- {
- SendClientMessage(i, color, str);
- }
- }
- }
- }
- stock SendClientMessageBien(playerid, string[])
- {
- new s2[200];
- format(s2, sizeof(s2), "<!>"COLOR_BLANCO_HTML"%s", string);
- return SendClientMessage(playerid, COLOR_VERDE, s2);
- }
- stock SendClientMessageError(playerid, string[])
- {
- new s2[200];
- format(s2, sizeof(s2), "<!>"COLOR_BLANCO_HTML"%s", string);
- return SendClientMessage(playerid, COLOR_ROJO_NORMAL, s2);
- }
- Float: SetAnguloCamara(playerid, Objectid)
- {
- new
- Float:X1,
- Float:Y1,
- Float:X2 = 1173.60962,
- Float:Y2= -1445.83740,
- Float:Angle;
- GetPlayerPos(playerid, X1, Y1, Angle);
- GetAngle(X2, Y2, X1, Y1, Angle);
- MoveDynamicObject(Objectid, 1173.60962, -1445.83740, 1485.43335, 50.0, 0.0000, 0.0000, Angle);
- return Angle;
- }
- GetAngle(Float:X, Float:Y, Float:CurrentX, Float:CurrentY, &Float:Angle)
- {
- Angle = atan2(Y-CurrentY, X-CurrentX);
- Angle = floatsub(Angle, 90.0);
- if(Angle < 0.0) Angle = floatadd(Angle, 360.0);
- }
- stock BorrarBolsaD(id)
- {
- if(BolsasD[id][bd_dinero] == 0)
- {
- DestroyDynamicPickup(BolsasD[id][bd_objeto]);
- DestroyDynamic3DTextLabel(BolsasD[id][bd_texto3D]);
- BolsasD[id][bd_PosX] = 0.0;
- BolsasD[id][bd_PosY] = 0.0;
- BolsasD[id][bd_PosZ] = 0.0;
- BolsasD[id][bd_dinero] = 0;
- return 1;
- }
- return 0;
- }
- stock CrearBolsaD(playerid, Float: Pos[3])
- {
- new id = -1;
- verificacion_bd:
- for(new i; i < MAX_BOLSAS_D; i++)
- {
- if(BolsasD[i][bd_dinero] == 0)
- {
- id = i;
- break;
- }
- }
- if(id == -1)
- {
- new id_2;
- for(new i; i < MAX_BOLSAS_D; i++)
- {
- if(BolsasD[i][bd_dinero] != 0)
- {
- id = i;
- break;
- }
- }
- BorrarBolsaD(id_2);
- goto verificacion_bd;
- }
- else
- {
- new dinero, string[150];
- switch(Usuario[playerid][pVIP])
- {
- case 0: dinero = 10000;
- case 1: dinero = 15000;
- case 2: dinero = 20000;
- case 3: dinero = 50000;
- case 4: dinero = 1000000;
- }
- BolsasD[id][bd_PosX] = Pos[0];
- BolsasD[id][bd_PosY] = Pos[1];
- BolsasD[id][bd_PosZ] = Pos[2];
- BolsasD[id][bd_objeto] = CreateDynamicPickup(1550, 1, Pos[0], Pos[1], Pos[2]);
- format(string, sizeof(string), "Bolsa de dinero\n"COLOR_AMARILLO_HTML"Puedes ubicar /cogerparte <cantidad>\nCantidad de dinero: "COLOR_BLANCO_HTML"$%i", dinero);
- BolsasD[id][bd_texto3D] = CreateDynamic3DTextLabel(string, COLOR_BLANCO, Pos[0], Pos[1], Pos[2], 7.5);
- BolsasD[id][bd_dinero] = dinero;
- format(string, sizeof(string), "deja en el piso una bolsa de dinero con $%i", dinero);
- cmd_me(playerid, string);
- }
- return id;
- }
- function ExplosivoFunction(type, playerid)
- {
- if(type == 1)
- {
- new Float: Pos[3], Float:Pos_A[4];
- for(new i; i < GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i))
- {
- GetPlayerPos(i, Pos[0], Pos[1], Pos[2]);
- Pos_A[0] = (Pos[0] <= 1167.8254) ? (1167.8254-Pos[0]) : (Pos[0]-1167.8254);
- Pos_A[1] = (Pos[1] <= -1441.1075) ? ((-1441.1075)-Pos[1]) : (Pos[1]-(-1441.1075));
- Pos_A[2] = (Pos[2] <= 1483.0844) ? (1483.0844-Pos[2]) : (Pos[2]-1483.0844);
- Pos_A[3] = (Pos_A[0]+Pos_A[1]+Pos_A[2]);
- new Float:health;
- GetPlayerHealth(i, health);
- if(Pos_A[3] <= 22)
- SetPlayerHealth(i, health-((22-(Pos_A[3]-1))*3.5));
- }
- }
- CreateExplosion(1167.8254, -1441.1075, 1483.0844, 0, 8.0);
- YaPuestoC4B = false;
- DestroyDynamicObject(C4Banco);
- MoveDynamicObject(PuertaBanco, 1166.1002, -1439.1323, 1481.4785, 100.0, 89.2200, 24.7200, 180.8600);
- SetTimerEx("ExplosivoFunction", 100000, false, "ii", 0, -1);
- for(new i; i < 10; i++)
- {
- ActualizarEstadoActor_Banco("Cliente", i, "Normal");
- ClearActorAnimations(Banco_Clientes[i]);
- if(i < 4)
- {
- ActualizarEstadoActor_Banco("Atiende", i, "Normal");
- ClearActorAnimations(Banco_Atiende[i]);
- }
- }
- for(new a; a < GetMaxPlayers(); a++)
- {
- if(IsPlayerConnected(a))
- {
- if(Tiene_Tarjeta_Bancaria[a])
- {
- Tiene_Tarjeta_Bancaria[a] = false;
- AparecerTBancaria(a, 0);
- }
- }
- }
- Banco_Alertas[0] = false;
- Banco_Alertas[1] = false;
- LucesBanco = true;
- SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
- PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
- BancoYaRobado = true;
- }
- else if(type == 0)
- {
- MoveDynamicObject(PuertaBanco, 1167.8254, -1441.1075, 1483.0273, 100.0, 0.0000, 0.0000, 180.0200);
- }
- else if(type == 2)
- {
- if(!CogieronDinero)
- {
- if(!Usuario[playerid][pTieneBolsaDinero])
- {
- if(IsPlayerAttachedObjectSlotUsed(playerid, 9))
- {
- RemovePlayerAttachedObject(playerid, 9);
- }
- SetPlayerAttachedObject(playerid, 9, 1550, 16, 0.092999, 0.128999, -0.232000, -1.200004, -129.899948, -9.800000, 1.000000, 1.000000, 1.000000);
- Usuario[playerid][pTieneBolsaDinero] = 1;
- CogieronDinero = true;
- SendClientMessage(playerid, COLOR_AMARILLO, "Tienes una bosla de dinero puedes poner /sotarbolsa para que tus amigos puedan /cogerparte");
- }
- else SendClientMessageError(playerid, "Ya tienes una bolsa de dinero.");
- }
- }
- return 1;
- }
- stock AparecerTBancaria(playerid, type)
- {
- if(type) // = 1: Aparecer
- {
- for(new i; i < sizeof(TarjetaBancaria); i++)
- {
- TextDrawShowForPlayer(playerid, TarjetaBancaria[i]);
- }
- }
- else // = 0: Desaparecer
- {
- for(new i; i < sizeof(TarjetaBancaria); i++)
- {
- TextDrawHideForPlayer(playerid, TarjetaBancaria[i]);
- }
- }
- }
- stock GetIDVectorOnActor(playerid)
- {
- //Player Values
- new Float: Vectors[3], Float: CameraPos[3], Float: PosI[3];
- GetPlayerCameraPos(playerid, CameraPos[0], CameraPos[1], CameraPos[2]);
- GetPlayerCameraFrontVector(playerid, Vectors[0], Vectors[1], Vectors[2]);
- PosI[0] = CameraPos[0] + floatmul(Vectors[0], 6.0);
- PosI[1] = CameraPos[1] + floatmul(Vectors[1], 6.0);
- PosI[2] = CameraPos[2] + floatmul(Vectors[2], 6.0);
- // Actor Verification
- new Float: Pos[3];
- for(new i; i < MAX_ACTORS; i++)
- {
- if(IsValidActor(i))
- {
- GetActorPos(i, Pos[0], Pos[1], Pos[2]);
- 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)
- {
- return i;
- }
- }
- }
- return -1;
- }
- stock PlaySoundArea(url[], Float: X, Float: Y, Float: Z, Float: Radio = 50.0, vw = 0, interior = 0)
- {
- for(new i; i < GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, Radio, X, Y, Z) && GetPlayerVirtualWorld(i) == vw && GetPlayerInterior(i) == interior)
- {
- PlayAudioStreamForPlayer(i, url);
- }
- }
- }
- }
- stock ActualizarEstadoActor_Banco(tipo[], id, estado[])
- {
- new string[50], color[16];
- if(!strcmp(estado, "Normal", true))
- {
- color = "FFFFFF";
- format(string, sizeof(string), "Estado: {%s} Normal", color);
- }
- else if(!strcmp(estado, "Alerta", true))
- {
- color = "FFFF00";
- format(string, sizeof(string), "Estado: {%s} Alerta", color);
- }
- else if(!strcmp(estado, "Llamando", true))
- {
- color = "FF0000";
- format(string, sizeof(string), "Estado: {%s} Llamando a la policia", color);
- }
- if(!strcmp(tipo, "Atiende", true))
- {
- UpdateDynamic3DTextLabelText(Banco_Atiende_T[id], COLOR_BLANCO, string);
- }
- else if(!strcmp(tipo, "Cliente", true))
- {
- UpdateDynamic3DTextLabelText(Banco_Clientes_T[id], COLOR_BLANCO, string);
- }
- return 0;
- }
- stock IsBancoSalas(playerid)
- {
- //if(IsPlayerInRangeOfPoint(playerid, 11.0, 1168.5181,-1452.6016,1482.5079))
- if(IsPlayerInRange(playerid, 1153.5438, 1172.5536, -1461.2200, -1441.9001, 1480.9443, 1485.1700))
- {
- return 3;
- }
- if(IsPlayerInRange(playerid, 1158.7197, 1187.2930, -1463.2899, -1424.0509))
- {
- return 1;
- }
- else if(IsPlayerInRange(playerid, 1151.6353, 1157.6848, -1456.1252, -1450.8634))
- {
- return 2;
- }
- return 0;
- }
- stock CrearActor(skin, Float: Pos_R[4], bool:inmortal=false, Float: vida = 100.0)
- {
- new id = CreateActor(skin, Pos_R[0], Pos_R[1], Pos_R[2], Pos_R[3]);
- SetActorInvulnerable(id, inmortal);
- SetActorHealth(id, vida);
- return id;
- }
- stock IsPlayerInRange(playerid, Float: xMin, Float: xMax, Float: yMin, Float: yMax, Float: zMin = 0.0, Float:zMax = 0.0)
- {
- new Float: X, Float: Y, Float: Z;
- GetPlayerPos(playerid, X, Y, Z);
- if(zMin != 0.0 && zMax != 0.0)
- {
- if(X >= xMin && X <= xMax && Y >= yMin && Y <= yMax && Z >= zMin && Z <= zMax)
- {
- return 1;
- }
- }
- else
- {
- if(X >= xMin && X <= xMax && Y >= yMin && Y <= yMax)
- {
- return 1;
- }
- }
- return 0;
- }
- // Timer del Banco, uso y_timers de Y_Lees, se ejecuta cada 1 segundo
- timer TiempoServer[1000]()
- {
- if(Banco_Alertas[0] || Banco_Alertas[1])
- {
- new Float: X[2], Float: Y[2], Float: Z[2], va;
- if(!Banco_Alertas[1]) {va = 8;}
- else {va = 10;}
- for(new i; i < va; i++)
- {
- if(!BancoYaRobado)
- {
- if( i < 4 )
- {
- GetActorPos(Banco_Atiende[i], X[1], Y[1], Z[1]);
- }
- else if( i == 4)
- {
- X[1] = 0.0, Y[1] = 0.0, Z[1] = -40.0;
- }
- GetActorPos(Banco_Clientes[i], X[0], Y[0], Z[0]);
- for(new a; a < GetMaxPlayers(); a++)
- {
- if(IsPlayerConnected(a))
- {
- if(IsPlayerInRangeOfPoint(a, 17.0, X[0], Y[0], Z[0]) || IsPlayerInRangeOfPoint(a, 17.0, X[1], Y[1], Z[1]))
- {
- if(GetPlayerWeapon(a) == 0)
- {
- //ClearActorAnimations(Banco_Clientes[i]);
- ActualizarEstadoActor_Banco("Cliente", i, "Llamando");
- Banco_Clientes_Ti[i]++;
- if(i < 4)
- {
- //ClearActorAnimations(Banco_Atiende[i]);
- ActualizarEstadoActor_Banco("Atiende", i, "Llamando");
- Banco_Atiende_Ti[i]++;
- }
- }
- else
- {
- //ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
- ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
- Banco_Clientes_Ti[i] = 0;
- if(i < 4)
- {
- //ApplyActorAnimation(Banco_Atiende[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
- ActualizarEstadoActor_Banco("Atiende", i, "Alerta");
- Banco_Atiende_Ti[i] = 0;
- }
- }
- break;
- }
- else
- {
- //ClearActorAnimations(Banco_Clientes[i]);
- ActualizarEstadoActor_Banco("Cliente", i, "Llamando");
- Banco_Clientes_Ti[i]++;
- if(i < 4)
- {
- //ClearActorAnimations(Banco_Atiende[i]);
- ActualizarEstadoActor_Banco("Atiende", i, "Llamando");
- Banco_Atiende_Ti[i]++;
- }
- break;
- }
- }
- }
- if(Banco_Clientes_Ti[i] >= 500)
- {
- if(!BancoYaRobado)
- {
- BancoYaRobado = true;
- }
- }
- if(i < 4)
- {
- if(Banco_Atiende_Ti[i] >= 500)
- {
- if(!BancoYaRobado)
- {
- BancoYaRobado = true;
- }
- }
- }
- }
- else
- {
- ActualizarEstadoActor_Banco("Cliente", i, "Normal");
- ClearActorAnimations(Banco_Clientes[i]);
- if(i < 4)
- {
- ActualizarEstadoActor_Banco("Atiende", i, "Normal");
- ClearActorAnimations(Banco_Atiende[i]);
- }
- if(i == va-1)
- {
- for(new a; a < GetMaxPlayers(); a++)
- {
- if(IsPlayerConnected(a))
- {
- if(Tiene_Tarjeta_Bancaria[a])
- {
- Tiene_Tarjeta_Bancaria[a] = false;
- AparecerTBancaria(a, 0);
- }
- }
- }
- Banco_Alertas[0] = false;
- Banco_Alertas[1] = false;
- LucesBanco = true;
- SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
- PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
- BancoYaRobado = true;
- }
- }
- }
- }
- for(new i = 0; i < GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i))
- {
- if(!BancoYaRobado)
- {
- if(IsBancoSalas(i) == 3)
- {
- if(LucesBanco)
- {
- SetAnguloCamara(i, CamaraBanco);
- if(GetPVarInt(i, "ViendoCamara"))
- {
- SetPVarInt(i, "TimingCamaraV", GetPVarInt(i, "TimingCamaraV")+1);
- if(GetPVarInt(i, "TimingCamaraV") == 6)
- {
- for(new a; a < 10; a++)
- {
- ActualizarEstadoActor_Banco("Cliente", a, "Normal");
- ClearActorAnimations(Banco_Clientes[a]);
- if(a < 4)
- {
- ActualizarEstadoActor_Banco("Atiende", a, "Normal");
- ClearActorAnimations(Banco_Atiende[a]);
- }
- }
- for(new a; a < GetMaxPlayers(); a++)
- {
- if(IsPlayerConnected(a))
- {
- if(Tiene_Tarjeta_Bancaria[a])
- {
- Tiene_Tarjeta_Bancaria[a] = false;
- AparecerTBancaria(a, 0);
- }
- }
- }
- Banco_Alertas[0] = false;
- Banco_Alertas[1] = false;
- LucesBanco = true;
- SendMSGFaccion(FACCION_LSPD, "Llamada: Están robando el banco porfavor, venid rápido, tu.... -colgaron-", COLOR_RADIO);
- PlaySoundArea("http://www.sonidosmp3gratis.com/sounds/alarma-de-incendios.mp3", 1167.860473, -1442.853759, 1489.038452, .interior = 1);
- BancoYaRobado = true;
- DeletePVar(i, "InBancoZone2");
- DeletePVar(i, "ViendoCamara");
- DeletePVar(i, "TimingCamaraV");
- }
- }
- if(!GetPVarInt(i, "InBancoZone2"))
- {
- GameTextForPlayer(i, "~r~Te esta viendo una ~w~camara~n~~r~Tienes 4 segundos para salir de la zona.", 1500, 3);
- SetPVarInt(i, "InBancoZone2", 1);
- SetPVarInt(i, "ViendoCamara", 1);
- }
- }
- }
- else
- {
- if(GetPVarInt(i, "InBancoZone2"))
- {
- DeletePVar(i, "InBancoZone2");
- DeletePVar(i, "ViendoCamara");
- DeletePVar(i, "TimingCamaraV");
- }
- }
- }
- if(IsPlayerInRangeOfPoint(i, 100.0, 1167.860473, -1442.853759, 1489.038452))
- {
- if(!GetPVarInt(i, "YaEstaEnBanco"))
- {
- if(!LucesBanco)
- {
- SendClientMessage(i, -1, "SE CUMPLIO ##Apagado");
- SetPlayerTime(i, 0, 0);
- //SetPlayerWeather(i, 15);
- }
- else
- {
- SendClientMessage(i, -1, "SE CUMPLIO ##Encendido");
- UbicarClima(i);
- }
- SetPVarInt(i, "YaEstaEnBanco", 1);
- }
- }
- else
- {
- if(GetPVarInt(i, "YaEstaEnBanco"))
- {
- UbicarClima(i);
- DeletePVar(i, "YaEstaEnBanco");
- }
- }
- }
- }
- }
- // Callbacks
- public OnPlayerPickUpDynamicPickup(playerid, pickupid)
- {
- if(pickupid == BancoDineroPickup)
- {
- if(!CogieronDinero)
- {
- ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 10000, 1);
- SetTimerEx("ExplosivoFunction", 10000, false, "ii", 2, playerid);
- return 1;
- }
- }
- return 1;
- }
- // Comandos
- CMD:explosivo(playerid, params[])
- {
- if(Usuario[playerid][pExplosivos] > 0)
- {
- // Comando hecho solo para robar el banco.
- if(IsPlayerInRangeOfPoint(playerid, 3.0, 1167.8254, -1441.1075, 1483.0844))
- {
- if(!YaPuestoC4B)
- {
- YaPuestoC4B = true;
- C4Banco = CreateDynamicObject(1654, 1167.7998, -1441.2834, 1483.2014, 0.0, 0.0, 0.0);
- SetTimerEx("ExplosivoFunction", 10000, false, "ii", 1, -1);
- Usuario[playerid][pExplosivos]--;
- }
- else SendClientMessageError(playerid, "Ya está puesto un explosivo aquí.");
- }
- else SendClientMessageError(playerid, "No estás cerca de la puerta de la caja fuerte del banco para hacer esto");
- }
- else SendClientMessageError(playerid, "No tienes explosivos");
- return 1;
- }
- CMD:lucesbanco(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, 1168.8500, -1447.3810, 1489.9878))
- {
- if(LucesBanco)
- {
- LucesBanco = 0;
- SendClientMessageBien(playerid, "Apagaste la electricidad del banco.");
- }
- else
- {
- LucesBanco = 1;
- SendClientMessageBien(playerid, "Encendiste la electricidad del banco.");
- }
- for(new i; i < GetMaxPlayers(); i++)
- {
- if(IsPlayerConnected(i))
- {
- if(IsPlayerInRangeOfPoint(i, 100.0, 1167.860473, -1442.853759, 1489.038452))
- {
- DeletePVar(i, "YaEstaEnBanco");
- }
- }
- }
- }
- else SendClientMessageError(playerid, "No estás en el lugar indicado.");
- return 1;
- }
- CMD:robarbanco(playerid, params[])
- {
- if(Banco_Alertas[0] || Banco_Alertas[1])
- {
- new c;
- if(isnumeric(params))
- {
- c = strval(params);
- switch(c)
- {
- case 1:
- {
- if(GetPlayerWeapon(playerid) > 1)
- {
- new bool: f, id=GetIDVectorOnActor(playerid);
- if(id != -1)
- {
- for(new i; i < 4; i++)
- {
- if(id == Banco_Atiende[i])
- {
- f = true;
- break;
- }
- }
- if(f)
- {
- OnPlayerText(playerid, "Dame tu tarjeta puta o te mato -mientra tiene un arma en la mano amenzandola-");
- 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);
- cmd_me(playerid, "coge la tarjeta y le escupe.");
- Tiene_Tarjeta_Bancaria[playerid] = true;
- AparecerTBancaria(playerid, 1);
- }
- else SendClientMessage(playerid, COLOR_GRIS, "Necesitas apuntar a alguien que atiende.");
- }
- else SendClientMessage(playerid, COLOR_GRIS, "Necesitas estár apuntando a una de las personas que atienden.");
- }
- else SendClientMessage(playerid, COLOR_GRIS, "Tienes que tener un arma en mano.");
- }
- }
- }
- else
- {
- SendClientMessage(playerid, COLOR_GRIS, "/robarbanco <id de contexto>");
- SendClientMessage(playerid, COLOR_BLANCO, "1 = Dame la tarjeta de la puerta, 2 = Dame el numero de verificacion");
- return 1;
- }
- }
- return 1;
- }
- CMD:soltarbolsa(playerid, params[])
- {
- if(Usuario[playerid][pTieneBolsaDinero])
- {
- new Float: Pos[3];
- GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
- CrearBolsaD(playerid, Pos);
- Usuario[playerid][pTieneBolsaDinero] = 0;
- }
- else SendClientMessageError(playerid, "No tienes una bolsa.");
- return 1;
- }
- zcmd(me, playerid, params[])
- {
- new textAll[200];
- if(isnull(params)) return SendClientMessage(playerid, COLOR_GRIS, "/me [Acción]");
- format(textAll, 150, "[Acción] %s %s", GetPlayerNameEx(playerid), params);
- ProxDetector(playerid, textAll, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, COLOR_ROL_ME, 40.0);
- return 1;
- }
- CMD:cogerparte(playerid, params[])
- {
- new cantidad;
- if(isnumeric(params))
- {
- for(new i; i < MAX_BOLSAS_D; i++)
- {
- if(BolsasD[i][bd_dinero] != 0)
- {
- if(IsPlayerInRangeOfPoint(playerid, 2.0, BolsasD[i][bd_PosX], BolsasD[i][bd_PosY], BolsasD[i][bd_PosZ]))
- {
- cantidad = strval(params);
- if(cantidad <= BolsasD[i][bd_dinero])
- {
- new string[120];
- 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]);
- cmd_me(playerid, string);
- BolsasD[i][bd_dinero] -= cantidad;
- GivePlayerMoney(playerid, cantidad);
- if(BolsasD[i][bd_dinero] <= 0)
- {
- BorrarBolsaD(i);
- }
- else
- {
- 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]);
- UpdateDynamic3DTextLabelText(BolsasD[i][bd_texto3D], COLOR_BLANCO, string);
- }
- }
- else SendClientMessageError(playerid, "No hay suficiente dinero para realizar esto.");
- break;
- }
- }
- }
- }
- else SendClientMessageError(playerid, "USA: /cogerparte <cantidad>");
- return 1;
- }
- public OnGameModeInit()
- {
- // TextDraws
- TarjetaBancaria[0] = TextDrawCreate(466.800018, 319.173309, "box");
- TextDrawLetterSize(TarjetaBancaria[0], 0.000000, 10.639999);
- TextDrawTextSize(TarjetaBancaria[0], 635.599487, 0.000000);
- TextDrawAlignment(TarjetaBancaria[0], 1);
- TextDrawColor(TarjetaBancaria[0], -1);
- TextDrawUseBox(TarjetaBancaria[0], 1);
- TextDrawBoxColor(TarjetaBancaria[0], 255);
- TextDrawSetShadow(TarjetaBancaria[0], 0);
- TextDrawSetOutline(TarjetaBancaria[0], 0);
- TextDrawBackgroundColor(TarjetaBancaria[0], 255);
- TextDrawFont(TarjetaBancaria[0], 1);
- TextDrawSetProportional(TarjetaBancaria[0], 1);
- TextDrawSetShadow(TarjetaBancaria[0], 0);
- TarjetaBancaria[1] = TextDrawCreate(466.800018, 319.173309, "box");
- TextDrawLetterSize(TarjetaBancaria[1], 0.000000, 10.599177);
- TextDrawTextSize(TarjetaBancaria[1], 631.097473, 0.000000);
- TextDrawAlignment(TarjetaBancaria[1], 1);
- TextDrawColor(TarjetaBancaria[1], -1);
- TextDrawUseBox(TarjetaBancaria[1], 1);
- TextDrawBoxColor(TarjetaBancaria[1], -1);
- TextDrawSetShadow(TarjetaBancaria[1], 0);
- TextDrawSetOutline(TarjetaBancaria[1], 0);
- TextDrawBackgroundColor(TarjetaBancaria[1], 255);
- TextDrawFont(TarjetaBancaria[1], 1);
- TextDrawSetProportional(TarjetaBancaria[1], 1);
- TextDrawSetShadow(TarjetaBancaria[1], 0);
- TarjetaBancaria[2] = TextDrawCreate(476.099884, 319.920166, "Tarjeta_de_Banquera");
- TextDrawLetterSize(TarjetaBancaria[2], 0.400000, 1.600000);
- TextDrawAlignment(TarjetaBancaria[2], 1);
- TextDrawColor(TarjetaBancaria[2], -1);
- TextDrawSetShadow(TarjetaBancaria[2], 0);
- TextDrawSetOutline(TarjetaBancaria[2], 2);
- TextDrawBackgroundColor(TarjetaBancaria[2], 255);
- TextDrawFont(TarjetaBancaria[2], 1);
- TextDrawSetProportional(TarjetaBancaria[2], 1);
- TextDrawSetShadow(TarjetaBancaria[2], 0);
- TarjetaBancaria[3] = TextDrawCreate(468.399841, 343.066772, "COn_Esta_tajerta_podras_ing~n~resar_a_culaquier_zona_del~n~banco.~n~Solo_personal_autorizado.");
- TextDrawLetterSize(TarjetaBancaria[3], 0.231200, 0.995200);
- TextDrawAlignment(TarjetaBancaria[3], 1);
- TextDrawColor(TarjetaBancaria[3], -1);
- TextDrawSetShadow(TarjetaBancaria[3], 0);
- TextDrawSetOutline(TarjetaBancaria[3], 1);
- TextDrawBackgroundColor(TarjetaBancaria[3], 255);
- TextDrawFont(TarjetaBancaria[3], 2);
- TextDrawSetProportional(TarjetaBancaria[3], 1);
- TextDrawSetShadow(TarjetaBancaria[3], 0);
- TarjetaBancaria[4] = TextDrawCreate(470.600036, 384.907348, "-__-_--__----_____-----__---______-----__-_----__-_--------__--___--_-~n~---_---_---____---____------_-_-___----__-_--_--_-__---_--_-___-_-_-_-~n~---_--_---___-_--__-__-------------------_--_-_--_-_-__---_-__-__-__--");
- TextDrawLetterSize(TarjetaBancaria[4], 0.231200, 0.995200);
- TextDrawAlignment(TarjetaBancaria[4], 1);
- TextDrawColor(TarjetaBancaria[4], 255);
- TextDrawSetShadow(TarjetaBancaria[4], 0);
- TextDrawSetOutline(TarjetaBancaria[4], -3);
- TextDrawBackgroundColor(TarjetaBancaria[4], 255);
- TextDrawFont(TarjetaBancaria[4], 2);
- TextDrawSetProportional(TarjetaBancaria[4], 1);
- TextDrawSetShadow(TarjetaBancaria[4], 0);
- //Mapeos
- // Interior del Banco-
- CreateDynamicObject(10023, 1137.17383, -1394.12866, 1502.28430, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1182.95068, -1423.61414, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1172.38416, -1426.65784, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1186.02576, -1463.72864, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1187.73083, -1438.02368, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1187.73083, -1465.13721, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1187.73083, -1428.50989, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1158.12219, -1428.36365, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1187.73083, -1447.52600, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1158.12219, -1437.83728, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(10023, 1207.03345, -1394.11121, 1502.28430, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19362, 1167.66003, -1425.13672, 1495.55188, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19362, 1178.21997, -1425.13672, 1495.55188, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1162.90991, -1423.61414, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1173.48718, -1426.65784, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1536, 1174.61890, -1426.68054, 1494.01587, 0.00000, 0.00000, 180.00000);
- CreateDynamicObject(1536, 1171.62561, -1426.71655, 1494.01587, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1158.12219, -1447.28857, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1703, 1159.39954, -1458.99316, 1493.97742, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1703, 1159.59558, -1446.16907, 1493.97742, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2315, 1162.54138, -1459.02405, 1493.97754, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2245, 1162.57202, -1458.77649, 1494.64783, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2852, 1155.78882, -1455.56067, 1494.46765, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2184, 1182.13611, -1454.38892, 1493.97058, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2184, 1182.13611, -1434.53540, 1493.97058, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2184, 1182.13611, -1448.06396, 1493.97058, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2190, 1182.13611, -1443.23401, 1494.74475, 0.00000, 0.00000, 117.00000);
- CreateDynamicObject(2190, 1182.11475, -1436.38696, 1494.74475, 0.00000, 0.00000, 121.00000);
- CreateDynamicObject(2190, 1182.13611, -1456.36694, 1494.74475, 0.00000, 0.00000, 120.00000);
- CreateDynamicObject(2190, 1182.13611, -1450.01929, 1494.74475, 0.00000, 0.00000, 120.00000);
- CreateDynamicObject(1715, 1183.68604, -1456.06116, 1493.97754, 0.00000, 0.00000, -113.00000);
- CreateDynamicObject(1715, 1183.68604, -1435.88074, 1493.97754, 0.00000, 0.00000, -111.00000);
- CreateDynamicObject(1715, 1183.68604, -1442.55493, 1493.97754, 0.00000, 0.00000, -98.00000);
- CreateDynamicObject(1715, 1183.68604, -1449.29126, 1493.97754, 0.00000, 0.00000, -113.00000);
- CreateDynamicObject(2202, 1187.04663, -1431.93774, 1493.97620, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2202, 1187.25183, -1439.93713, 1493.97620, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2202, 1187.33691, -1446.85120, 1493.97620, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2202, 1187.24854, -1453.90698, 1493.97620, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2164, 1187.60779, -1455.29102, 1493.97546, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2164, 1187.56824, -1433.36230, 1493.97546, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2164, 1187.38733, -1441.37024, 1493.97546, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2164, 1187.31543, -1448.25684, 1493.97546, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2163, 1187.40674, -1457.00452, 1493.97534, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2163, 1187.80176, -1436.28259, 1493.97534, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2163, 1187.52051, -1443.64136, 1493.97534, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2163, 1187.43762, -1450.72241, 1493.97534, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1811, 1180.67688, -1455.33801, 1494.57666, 0.00000, 0.00000, 154.00000);
- CreateDynamicObject(2773, 1178.54675, -1457.08203, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1433.78992, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1437.31567, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1440.88477, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1444.05835, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1447.22229, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1450.98889, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2773, 1178.54675, -1453.15869, 1494.48132, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1811, 1180.67688, -1435.60645, 1494.57666, 0.00000, 0.00000, 192.00000);
- CreateDynamicObject(1811, 1180.67688, -1442.32532, 1494.57666, 0.00000, 0.00000, 137.00000);
- CreateDynamicObject(1811, 1180.67688, -1448.97583, 1494.57666, 0.00000, 0.00000, 130.00000);
- CreateDynamicObject(14576, 1167.76624, -1448.98962, 1489.57764, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1158.12219, -1459.09534, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1165.82837, -1463.72864, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1150.75525, -1453.58496, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19454, 1177.01892, -1463.72864, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1187.73083, -1457.08789, 1495.55237, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(19391, 1158.12000, -1453.16919, 1495.53345, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1703, 1165.55164, -1440.00562, 1493.97742, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2315, 1155.73584, -1455.68457, 1493.97754, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2245, 1161.75183, -1444.22681, 1494.66785, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1721, 1158.35083, -1447.38220, 1493.98083, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1721, 1158.35120, -1449.41211, 1493.98083, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1721, 1158.38232, -1448.79114, 1493.98083, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1721, 1158.28845, -1448.10815, 1493.98083, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1893, 1172.34875, -1445.98938, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1171.81250, -1455.38586, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1162.93994, -1436.47839, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1703, 1159.58618, -1442.58167, 1493.97742, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1893, 1162.93994, -1445.98938, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1162.93994, -1455.38586, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1172.34875, -1436.81262, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1180.90344, -1436.44812, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1180.90344, -1445.98938, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1893, 1180.90344, -1455.38586, 1497.56299, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1703, 1159.66858, -1438.03052, 1493.97742, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1703, 1159.72156, -1433.90222, 1493.97742, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2315, 1162.40588, -1436.04346, 1493.97754, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2245, 1162.41809, -1435.89868, 1494.66785, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2852, 1162.35010, -1434.86829, 1494.46765, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1703, 1164.98926, -1434.30017, 1493.97742, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1703, 1165.43152, -1443.85559, 1493.97742, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1516, 1167.13977, -1465.43018, 1493.98645, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(347, 1166.73523, -1465.59424, 1494.51123, 90.00000, 0.00000, 0.00000);
- CreateDynamicObject(371, 1167.04211, -1467.15820, 1494.24438, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2010, 1168.16870, -1462.48352, 1488.78467, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2010, 1170.28333, -1447.83594, 1488.78467, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2010, 1174.98938, -1448.20288, 1488.78467, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2010, 1174.91479, -1462.46570, 1488.78467, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1173.27173, -1458.85669, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1167.06860, -1451.44971, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1167.06860, -1455.42432, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1167.06860, -1458.85669, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1173.27173, -1455.42432, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2172, 1173.27173, -1451.44971, 1488.78259, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1806, 1167.27332, -1452.48926, 1488.78491, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1806, 1173.67053, -1456.44482, 1488.78491, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1806, 1173.72046, -1459.95593, 1488.78491, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1806, 1167.06287, -1460.15088, 1488.78491, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1806, 1166.98657, -1456.63147, 1488.78491, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2191, 1175.25684, -1452.37891, 1488.78320, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2191, 1164.47388, -1453.19727, 1488.78320, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2191, 1164.25098, -1458.62769, 1488.78320, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2191, 1175.33594, -1457.41321, 1488.78320, 0.00000, 0.00000, -90.00000);
- //CreateDynamicObject(1622, 1160.68958, -1445.72546, 1485.43335, 0.00000, 0.00000, 180.00000);
- CamaraBanco = CreateDynamicObject(1622, 1173.60962, -1445.83740, 1485.43335, 0.0000, 0.0000, 33.7200);
- //CreateDynamicObject(1622, 1173.32690, -1455.95862, 1485.43335, 0.00000, 0.00000, 0.00000);
- //CreateDynamicObject(1622, 1160.53760, -1455.86414, 1485.43335, 0.00000, 0.00000, 180.00000);
- PuertaBanco = CreateDynamicObject(2634, 1167.8254, -1441.1075, 1483.0273, 0.0000, 0.0000, 180.0200);
- CreateDynamicObject(1566, 1173.45679, -1466.38342, 1491.02283, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1159.84216, -1463.72864, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1153.34045, -1456.56152, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19454, 1153.43652, -1450.42737, 1495.55237, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(1806, 1155.08179, -1453.12476, 1493.97705, 0.00000, 0.00000, 98.00000);
- CreateDynamicObject(2184, 1182.13611, -1441.31738, 1493.97058, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(2162, 1150.83154, -1454.84583, 1494.00110, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2161, 1150.82214, -1453.12659, 1493.97791, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2161, 1150.82214, -1451.78662, 1493.97791, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2165, 1153.51672, -1452.69897, 1493.97876, 0.00000, 0.00000, -90.00000);
- CreateDynamicObject(1714, 1152.37573, -1452.88306, 1493.97827, 0.00000, 0.00000, 68.00000);
- CreateDynamicObject(2002, 1157.32751, -1451.20935, 1493.97949, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(2315, 1161.78125, -1444.07800, 1493.97754, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(2852, 1161.90540, -1442.74255, 1494.46765, 0.00000, 0.00000, 0.00000);
- CreateDynamicObject(1502, 1158.13855, -1453.91370, 1493.82056, 0.00000, 0.00000, 90.00000);
- CreateDynamicObject(19377, 1163.29382, -1460.10718, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1182.59851, -1428.34766, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1182.57080, -1437.72180, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1182.53284, -1447.15112, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1182.31396, -1456.77747, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1182.13892, -1465.51172, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1173.27686, -1459.14478, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1172.39050, -1449.87146, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1172.35449, -1440.22925, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1172.27844, -1430.74060, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1162.71765, -1428.03564, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1162.39026, -1437.56506, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1162.36414, -1447.20789, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1162.75916, -1456.04346, 1497.31750, 0.00000, 90.00000, 0.00000);
- CreateDynamicObject(19377, 1154.29370, -1454.31641, 1497.31750, 0.00000, 90.00000, 0.00000);
- // Exterior del Banco--
- new tmpobjid5;
- tmpobjid5 = CreateDynamicObjectEx(19454,800.249,-1754.755,12.000,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,795.464,-1759.243,14.149,0.000,0.000,87.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,781.416,-1753.623,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,781.406,-1744.007,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,781.402,-1734.472,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,781.411,-1724.867,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.214,-1718.557,14.199,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,795.484,-1718.551,14.199,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,800.242,-1730.991,12.000,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,783.080,-1753.612,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,800.262,-1758.782,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,800.242,-1745.138,12.000,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,800.245,-1741.050,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,800.242,-1736.584,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,800.220,-1723.307,12.000,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,800.229,-1719.293,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.177,-1758.674,14.149,0.000,0.000,86.099,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,781.405,-1719.270,14.149,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,783.090,-1743.979,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,783.078,-1734.395,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,783.096,-1724.744,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,783.117,-1723.335,15.880,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.598,-1723.330,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.585,-1732.931,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.580,-1742.545,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.598,-1752.177,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,786.589,-1753.808,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,790.066,-1723.294,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.551,-1723.298,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,797.055,-1723.292,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.561,-1723.322,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,790.057,-1732.909,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.537,-1732.918,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,797.043,-1732.907,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.568,-1732.912,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,790.052,-1742.538,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.509,-1742.543,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,796.945,-1742.531,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.559,-1742.541,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,790.090,-1752.179,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.573,-1752.198,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,797.029,-1752.177,15.899,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.551,-1752.167,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,790.055,-1754.062,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.520,-1754.222,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,797.028,-1754.398,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.566,-1754.497,15.890,0.000,90.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,800.242,-1738.943,15.801,90.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1742.104,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1742.107,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,793.336,-1741.965,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1735.024,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1735.024,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.629,-1734.401,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.898,-1735.127,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,793.368,-1735.098,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1735.014,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.254,-1735.744,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1737.311,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1738.892,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.266,-1741.373,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1742.104,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.251,-1739.914,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.880,-1741.990,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.591,-1742.729,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.588,-1741.189,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.638,-1735.860,17.600,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.656,-1736.651,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.636,-1738.213,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.627,-1739.800,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.624,-1741.382,17.600,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1737.311,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.248,-1738.892,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.266,-1741.373,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.251,-1739.914,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.254,-1735.744,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1735.024,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1735.014,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1735.024,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.629,-1734.401,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.898,-1735.127,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.638,-1735.860,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,793.368,-1735.098,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.627,-1739.800,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.635,-1738.213,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.656,-1736.651,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.624,-1741.382,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.880,-1741.990,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.588,-1741.189,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.591,-1742.729,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,793.336,-1741.965,21.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.118,-1742.107,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.564,-1742.104,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,788.008,-1742.104,21.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 896, "underwater", "greyrockbig", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.984,-1740.338,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,787.987,-1736.849,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.583,-1736.848,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.183,-1736.852,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.602,-1740.345,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,791.198,-1740.351,22.899,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.641,-1736.065,22.889,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.636,-1739.565,22.889,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,792.625,-1741.058,22.889,0.000,90.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.112,-1739.286,22.899,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.118,-1737.826,22.899,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.845,-1738.579,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.386,-1738.580,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.680,-1738.574,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.522,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.400,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.299,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.159,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,790.020,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.901,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.802,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.650,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19435,789.502,-1738.565,22.899,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(673,800.820,-1759.219,12.542,0.000,0.000,0.000,300.000,300.000);
- tmpobjid5 = CreateDynamicObjectEx(673,800.629,-1718.629,12.542,0.000,0.000,0.000,300.000,300.000);
- tmpobjid5 = CreateDynamicObjectEx(673,800.785,-1736.612,12.542,0.000,0.000,0.000,300.000,300.000);
- tmpobjid5 = CreateDynamicObjectEx(673,800.874,-1741.204,12.542,0.000,0.000,0.000,300.000,300.000);
- tmpobjid5 = CreateDynamicObjectEx(970,805.020,-1746.913,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.013,-1742.789,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.028,-1751.034,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.027,-1755.145,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.038,-1757.239,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(19121,804.935,-1740.530,13.100,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.039,-1735.120,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.031,-1730.973,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,805.009,-1726.801,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,804.987,-1722.629,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.333,-1716.132,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.330,-1712.017,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.337,-1707.876,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.335,-1687.123,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,791.419,-1684.811,13.100,0.000,0.000,-2.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,795.541,-1684.944,13.100,0.000,0.000,-2.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.335,-1691.256,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(970,800.336,-1695.395,13.100,0.000,0.000,90.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(3578,786.234,-1712.361,11.789,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(3578,786.156,-1705.779,11.789,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(3578,786.284,-1699.960,11.789,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(3578,786.168,-1693.895,11.789,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(3578,786.214,-1688.773,11.789,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 8396, "sphinx01", "luxorceiling01_128", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,793.964,-1754.343,15.880,0.000,90.000,0.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,792.095,-1754.154,15.880,0.000,90.000,0.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,789.014,-1753.960,15.880,0.000,90.000,0.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19454,798.498,-1754.534,15.880,0.000,90.000,0.000);
- SetDynamicObjectMaterial(tmpobjid5, 0, 15046, "svcunthoose", "csGarageTrolley01psd", 0);
- tmpobjid5 = CreateDynamicObjectEx(19482,800.337,-1738.818,15.746,0.000,0.000,0.000,300.000,300.000);
- SetDynamicObjectMaterialText(tmpobjid5, 0, "Banco", 80, "Quartz MS", 50, 0, -3, 0, 1);
- // Textos en 3D
- 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);
- 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);
- // Actors
- new Float:Pos[4];
- Pos = Float: {1183.6508,-1455.3276,1494.9796,91.4246};
- Banco_Atiende[0] = CrearActor(76, Pos, true);
- ApplyActorAnimation(Banco_Atiende[0], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1183.6548,-1448.6482,1494.9796,95.4979};
- Banco_Atiende[1] = CrearActor(76, Pos, true);
- //ApplyActorAnimation(Banco_Atiende[1], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1183.6575,-1441.9720,1494.9854,101.7647};
- Banco_Atiende[2] = CrearActor(76, Pos, true);
- //ApplyActorAnimation(Banco_Atiende[2], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1183.6559,-1435.2528,1494.9854,94.8713};
- Banco_Atiende[3] = CrearActor(76, Pos, true);
- ApplyActorAnimation(Banco_Atiende[3], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- //Banco-Normales
- Pos = Float: {1181.3042,-1436.1581,1494.9854,285.6932};
- Banco_Clientes[0] = CrearActor(124, Pos, true); //hablando
- ApplyActorAnimation(Banco_Clientes[0], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1181.3036,-1455.6843,1494.9796,267.2064};
- Banco_Clientes[1] = CrearActor(101, Pos, true); // hablando
- ApplyActorAnimation(Banco_Clientes[1], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1164.7645,-1440.2540,1494.9796,88.0014};
- Banco_Clientes[2] = CrearActor(98, Pos, true); //sentados
- ApplyActorAnimation(Banco_Clientes[2], "ped","SEAT_down",4.0,0,0,0,1,0);
- Pos = Float: {1160.3619,-1442.3772,1494.9796,274.4364};
- Banco_Clientes[3] = CrearActor(68, Pos, true); //sentados
- ApplyActorAnimation(Banco_Clientes[3], "ped","SEAT_down",4.0,0,0,0,1,0);
- Pos = Float: {1165.7268,-1453.4568,1494.9796,0.2672};
- Banco_Clientes[4] = CrearActor(57, Pos, true); //hablando
- ApplyActorAnimation(Banco_Clientes[4], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1165.7021,-1452.5560,1494.9796,204.2257};
- Banco_Clientes[5] = CrearActor(55, Pos, true); //hablando
- ApplyActorAnimation(Banco_Clientes[5], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1169.8115,-1431.1660,1494.9796,198.2723};
- Banco_Clientes[6] = CrearActor(46, Pos, true); //hablando
- ApplyActorAnimation(Banco_Clientes[6], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1170.0519,-1431.9393,1494.9796,18.2723};
- Banco_Clientes[7] = CrearActor(42, Pos, true); //hablando
- ApplyActorAnimation(Banco_Clientes[7], "PED", "IDLE_chat", 1.1, 1, 0, 0, 1, 1);
- Pos = Float: {1154.3541,-1453.1875,1494.9796,89.2548};
- Banco_Clientes[8] = CrearActor(3, Pos, true); //sentado
- ApplyActorAnimation(Banco_Clientes[8], "MISC","Seat_talk_01",4.0,1,0,0,0,0);
- Pos = Float: {1153.0858,-1453.3292,1494.9796,244.3564};
- Banco_Clientes[9] = CrearActor(17, Pos, true); //sentado
- ApplyActorAnimation(Banco_Clientes[9], "ped","SEAT_down",4.0,0,0,0,1,0);
- for(new i; i < 10; i++)
- {
- if(i < 4)
- {
- GetActorPos(Banco_Atiende[i], Pos[0], Pos[1], Pos[2]);
- Banco_Atiende_T[i] = CreateDynamic3DTextLabel("", COLOR_BLANCO, Pos[0], Pos[1], Pos[2]+0.3, 15.0);
- ActualizarEstadoActor_Banco("Atiende", i, "Normal");
- }
- GetActorPos(Banco_Clientes[i], Pos[0], Pos[1], Pos[2]);
- Banco_Clientes_T[i] = CreateDynamic3DTextLabel("", COLOR_BLANCO, Pos[0], Pos[1], Pos[2]+0.3, 15.0);
- ActualizarEstadoActor_Banco("Cliente", i, "Normal");
- }
- //Puertas que se abren.
- puertaB = CreateDynamicObject(1501, 1170.637817, -1463.692993, 1494.096801, 0.0, 0.0, 0.0);
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys & KEY_SECONDARY_ATTACK)
- {
- if(IsPlayerInRangeOfPoint(playerid, 1.2, 1170.637817, -1463.692993, 1494.096801))
- {
- if(IsPlayerInRange(playerid, 1169.8447, 1172.4893, -1463.5546, -1463.1514))
- {
- if(Tiene_Tarjeta_Bancaria[playerid])
- {
- Tiene_Tarjeta_Bancaria[playerid] = false;
- AparecerTBancaria(playerid, 0);
- MoveDynamicObject(puertaB, 1170.637817-10, -1463.692993, 1494.096801, 0.80);
- SetTimerEx("MoveDynamicObject2", 6500, false, "ifffi", puertaB, 1170.637817, -1463.692993, 1494.096801, 0.80);
- }
- else SendClientMessageError(playerid, "No tienes una tarjeta para ingresar.");
- }
- else
- {
- MoveDynamicObject(puertaB, 1170.637817-10, -1463.692993, 1494.096801, 0.80);
- SetTimerEx("MoveDynamicObject2", 6500, false, "ifffi", puertaB, 1170.637817, -1463.692993, 1494.096801, 0.80);
- }
- }
- }
- if(newkeys & KEY_HANDBRAKE)
- {
- if(!BancoYaRobado)
- {
- if(GetPlayerWeapon(playerid) >= 22 && GetPlayerWeapon(playerid) <= 34)
- {
- if(!Banco_Alertas[0])
- {
- if(IsBancoSalas(playerid) == 1)
- {
- for(new i; i < 8; i++)
- {
- if( i < 4 )
- {
- ClearActorAnimations(Banco_Atiende[i]);
- ApplyActorAnimation(Banco_Atiende[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
- ActualizarEstadoActor_Banco("Atiende", i, "Alerta");
- }
- ClearActorAnimations(Banco_Clientes[i]);
- ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
- ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
- }
- Banco_Alertas[0] = true;
- }
- }
- if(!Banco_Alertas[1])
- {
- if(IsBancoSalas(playerid) == 2)
- {
- for(new i = 8; i < 10; i++)
- {
- ClearActorAnimations(Banco_Clientes[i]);
- ApplyActorAnimation(Banco_Clientes[i], "ped", "cower", 3.0, 1, 0, 0, 0, 0);
- ActualizarEstadoActor_Banco("Cliente", i, "Alerta");
- }
- Banco_Alertas[1] = true;
- }
- }
- }
- }
- }
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- new texto[190], texto2[2][90];
- if(strlen(text) >= 89)
- {
- strmid(texto2[0], text, 0, 88);
- strmid(texto2[1], text, 88, strlen(text));
- format(texto, sizeof(texto), "%s dice: %s...", GetPlayerNameEx(playerid), texto2[0]);
- ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
- format(texto, sizeof(texto), "%s", texto2[1]);
- ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
- SetPlayerChatBubble(playerid,text,-1,15.0,5000);
- }
- else
- {
- format(texto, sizeof(texto), "%s dice: %s", GetPlayerNameEx(playerid), text);
- ProxDetector(playerid, texto, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, COLOR_BLANCO, 40.0);
- SetPlayerChatBubble(playerid, text, -1, 15.0, 5000);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement