OtaconEvil

[FS] Bank vault | By OTACON[

Feb 6th, 2017
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 45.66 KB | None | 0 0
  1. /*
  2.     * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
  3.     *
  4.     * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
  5.     * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
  6.     *
  7.     * Codigo Creado Por OTACON
  8.     *
  9.     * CREDITOS:
  10.     *     OTACON: Realizacion y Idea de creacion del code.
  11.     *     TÙ: Modificacion libremente respetando lo mencionado ;).
  12.     *
  13.     *    NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
  14.     *
  15.     *            Prohibido TOTALMENTE el Robo de Créditos o la
  16.     *              Publicación de este FILTERSCRIPT sin Mi Permiso.
  17. */
  18. /*
  19.     * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
  20.     *
  21.     * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
  22.     * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
  23.     *
  24.     * Code Created By OTACON
  25.     *
  26.     * CREDITS:
  27.     *     OTACON: Idea Making and code creation.
  28.     *     YOUR: Modification freely respecting the above ;).
  29.     *
  30.     *    NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
  31.     *
  32.     *                    FULLY spaces Theft Credit or
  33.     *             Publication of this FILTERSCRIPT without my permission.
  34. */
  35.  
  36. #include <a_samp>
  37. #include <sscanf2>
  38. #include <zcmd>
  39. #include <streamer>
  40.  
  41. #define pressed(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  42. #define released(%0) (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))
  43.  
  44. #define RESET_BOOM (15*1000)
  45. #define BANK_CLOTHING (71)
  46. new
  47.     MoneyBox[MAX_PLAYERS][51],
  48.     SecuritybBox[51],
  49.     Boxs[51],
  50.     Text3D:Label_boxs[4],
  51.     Text3D:Label_box[51],
  52.     Door_b[37],
  53.     Interior_b[32],
  54.     Fun_boxs[5],
  55.     bool:SecuritybBoxOpen[51],
  56.     bool:Door_active,
  57.     bool:Check_e[1],
  58.     KillVerification[MAX_PLAYERS],
  59.     Text:SecuritybBoxTD[5],
  60.     PlayerText:SecuritybBoxTDP[MAX_PLAYERS],
  61.     Float:Check_p = 105.000000,
  62.     SecuritybBoxVisot[2]
  63. ;
  64.  
  65. forward Check_i(playerid);
  66. public Check_i(playerid) {
  67.     TextDrawHideForPlayer(playerid,SecuritybBoxTD[2]);
  68.     TextDrawDestroy(SecuritybBoxTD[2]);
  69.     Check_p+=10.0;
  70.     SecuritybBoxTD[2] = TextDrawCreate(502.000000, Check_p, "_");
  71.     TextDrawBoxColor(SecuritybBoxTD[2], 0x008400FF);
  72.     TextDrawBackgroundColor(SecuritybBoxTD[2], 255);
  73.     TextDrawFont(SecuritybBoxTD[2], 1);
  74.     TextDrawLetterSize(SecuritybBoxTD[2], 0.500000, -0.100000);
  75.     TextDrawColor(SecuritybBoxTD[2], -1);
  76.     TextDrawSetOutline(SecuritybBoxTD[2], 0);
  77.     TextDrawSetProportional(SecuritybBoxTD[2], 1);
  78.     TextDrawSetShadow(SecuritybBoxTD[2], 1);
  79.     TextDrawUseBox(SecuritybBoxTD[2], 1);
  80.     TextDrawTextSize(SecuritybBoxTD[2], 603.000000, 70.000000);
  81.     TextDrawSetSelectable(SecuritybBoxTD[2], 0);
  82.     TextDrawShowForPlayer(playerid,SecuritybBoxTD[2]);
  83.     if(Check_p == 285.000000) {
  84.         if(GetPlayerSkin(playerid)==BANK_CLOTHING) {
  85.             if(!Door_active){
  86.             Door_active=true;
  87.             MoveObject(Door_b[0], -177.15080, 3034.24512, 19.85676, 1.0);
  88.             MoveObject(Door_b[1], -172.95680, 3034.24512, 19.85676, 1.0);
  89.             GameTextForPlayer(playerid, "door open!", 4000, 3);
  90.             SendClientMessage(playerid,-1," INFO: door open!.");
  91.             SendClientMessage(playerid,-1," INFO: authorized access!.");
  92.             Lasers_alert(true);
  93.             PlayerPlaySound(playerid,21000,0,0,0);
  94.             }else{
  95.             Door_active=false;
  96.             MoveObject(Door_b[0], -177.15080, 3034.24512, 24.73270, 1.0);
  97.             MoveObject(Door_b[1], -172.95680, 3034.24512, 24.73270, 1.0);
  98.             GameTextForPlayer(playerid, "door closed!", 4000, 3);
  99.             SendClientMessage(playerid,-1," INFO: door closed!."); }
  100.             Lasers_alert(true);
  101.             PlayerPlaySound(playerid,21000,0,0,0);
  102.             Check_e[0]=false;
  103.             KillTimer(KillVerification[playerid]);
  104.             for(new index=0; index<5; index++) {TextDrawHideForPlayer(playerid,SecuritybBoxTD[index]);}
  105.             PlayerTextDrawHide(playerid,SecuritybBoxTDP[playerid]);
  106.         }else{
  107.             Check_e[0]=false;
  108.             PlayerPlaySound(playerid,14800,0,0,0);
  109.             KillTimer(KillVerification[playerid]);
  110.             GameTextForPlayer(playerid, "denied access!", 4000, 3);
  111.             SendClientMessage(playerid,-1," INFO: denied access!.");
  112.             Lasers_alert(false);
  113.             for(new index=0; index<5; index++) {TextDrawHideForPlayer(playerid,SecuritybBoxTD[index]);}
  114.             PlayerTextDrawHide(playerid,SecuritybBoxTDP[playerid]);
  115.         }
  116.         Check_p=105.000000;
  117.         DestroyObject(SecuritybBoxVisot[0]);
  118.         DestroyObject(SecuritybBoxVisot[1]);
  119.         KillTimer(KillVerification[playerid]);
  120.     }
  121. }
  122.  
  123. forward Explosion_b2();
  124. public Explosion_b2() {
  125. for(new index=27; index<32; index++) {DestroyObject(Interior_b[index]);}
  126. Interior_b[27] = CreateObject(914, -179.79549, 3026.26660, 24.67560,   0.00000, 0.00000, 90.00000);
  127. Interior_b[28] = CreateObject(914, -179.79550, 3026.26660, 26.21460,   0.00000, 0.00000, 90.00000);
  128. Interior_b[29] = CreateObject(19172, -179.77257, 3026.28076, 26.24610,   0.00000, 0.00000, 90.00000);
  129. Interior_b[30] = CreateObject(1721, -179.16556, 3025.75781, 23.15360,   0.00000, 0.00000, -76.00000);
  130. Interior_b[31] = CreateObject(1721, -179.20041, 3027.01660, 23.15360,   0.00000, 0.00000, -98.00000);}
  131.  
  132. forward Explosion_b1();
  133. public Explosion_b1() {
  134. CreateExplosion(-180.6318,3026.3169,24.9242, 12, 1.0);
  135. for(new index=27; index<32; index++) {DestroyObject(Interior_b[index]);}
  136. Interior_b[27] = CreateObject(914, -179.31560, 3026.26660, 23.59560,   124.00000, 0.00000, 90.00000);
  137. Interior_b[28] = CreateObject(914, -179.79550, 3026.26660, 26.21460,   -57.00000, 0.00000, 90.00000);
  138. Interior_b[29] = CreateObject(19172, -179.77260, 3026.28076, 26.24610,   -59.00000, -14.00000, 90.00000);
  139. Interior_b[30] = CreateObject(1721, -177.38582, 3025.78271, 23.72960,   -120.00000, 0.00000, -76.00000);
  140. Interior_b[31] = CreateObject(1721, -177.73260, 3026.48169, 23.58560,   -87.00000, 0.00000, -54.00000);
  141. SetTimer("Explosion_b2", RESET_BOOM, false);}
  142.  
  143. stock Lasers_alert(bool:lasers){
  144.     for(new index=20; index<37; index++){
  145.         new
  146.             Float:pos[3];
  147.         GetObjectPos(Door_b[index], pos[0], pos[1], pos[2]),MoveObject(Door_b[index], pos[0], pos[1], (!lasers) ? (23.88710) : (27.28710), 1.0);
  148.     }
  149. }
  150.  
  151. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) {
  152.     if(pressed(KEY_YES)){
  153.         if(!Check_e[0]){
  154.             if(IsPlayerInRangeOfPoint(playerid, 2.0, -175.0341,3032.9395,24.1552) || IsPlayerInRangeOfPoint(playerid, 2.0, -175.1059,3035.5334,24.1552)){
  155.             if(IsObjectMoving(Door_b[0]) || IsObjectMoving(Door_b[1])){
  156.                 for(new msg=0; msg<32; msg++) {SendClientMessage(playerid,-1," ");}
  157.             }
  158.             Check_e[0]=true;
  159.             KillTimer(KillVerification[playerid]);
  160.             KillVerification[playerid] = SetTimerEx("Check_i", 500, true, "d", playerid);
  161.             GameTextForPlayer(playerid, "Initiating verification!", 4000, 3);
  162.             SendClientMessage(playerid,-1," INFO: Initiating verification!.");
  163.             for(new index=0; index<5; index++) {TextDrawHideForPlayer(playerid,SecuritybBoxTD[index]);}
  164.             PlayerTextDrawHide(playerid,SecuritybBoxTDP[playerid]);
  165.             PlayerTextDrawSetPreviewModel(playerid,SecuritybBoxTDP[playerid], GetPlayerSkin(playerid));
  166.             for(new index=0; index<5; index++) {TextDrawShowForPlayer(playerid,SecuritybBoxTD[index]);}
  167.             PlayerTextDrawShow(playerid,SecuritybBoxTDP[playerid]);
  168.             if(IsPlayerInRangeOfPoint(playerid, 2.0, -175.1059,3035.5334,24.1552)){
  169.             DestroyObject(SecuritybBoxVisot[0]);
  170.             SecuritybBoxVisot[0] = CreateObject(18729, -175.09760, 3034.81030, 23.19070,   0.00000, 0.00000, 0.00000);}
  171.             else if(IsPlayerInRangeOfPoint(playerid, 2.0, -175.0341,3032.9395,24.1552)){
  172.             DestroyObject(SecuritybBoxVisot[1]);
  173.             SecuritybBoxVisot[1] = CreateObject(18729, -175.09760, 3033.55908, 23.19070,   0.00000, 0.00000, 180.00000);} }
  174.         }
  175.     }
  176.     if(released(KEY_YES)){
  177.         if(Check_e[0]){
  178.             Check_p=105.000000;
  179.             Check_e[0]=false;
  180.             KillTimer(KillVerification[playerid]);
  181.             GameTextForPlayer(playerid, "verification canceled!", 4000, 3);
  182.             SendClientMessage(playerid,-1," INFO: verification canceled!.");
  183.             for(new index=0; index<5; index++) {TextDrawHideForPlayer(playerid,SecuritybBoxTD[index]);}
  184.             PlayerTextDrawHide(playerid,SecuritybBoxTDP[playerid]);
  185.             DestroyObject(SecuritybBoxVisot[0]);
  186.             DestroyObject(SecuritybBoxVisot[1]);
  187.         }
  188.     }
  189.     return true;
  190. }
  191.  
  192. public OnPlayerConnect(playerid) {
  193.     //ropa jugador
  194.     SecuritybBoxTDP[playerid] = CreatePlayerTextDraw(playerid,505.000000, 109.000000, "_");
  195.     PlayerTextDrawBackgroundColor(playerid,SecuritybBoxTDP[playerid], 255);
  196.     PlayerTextDrawFont(playerid,SecuritybBoxTDP[playerid], 5);
  197.     PlayerTextDrawLetterSize(playerid,SecuritybBoxTDP[playerid], 0.500000, 1.000000);
  198.     PlayerTextDrawColor(playerid,SecuritybBoxTDP[playerid], -1);
  199.     PlayerTextDrawSetOutline(playerid,SecuritybBoxTDP[playerid], 0);
  200.     PlayerTextDrawSetProportional(playerid,SecuritybBoxTDP[playerid], 1);
  201.     PlayerTextDrawSetShadow(playerid,SecuritybBoxTDP[playerid], 1);
  202.     PlayerTextDrawUseBox(playerid,SecuritybBoxTDP[playerid], 1);
  203.     PlayerTextDrawBoxColor(playerid,SecuritybBoxTDP[playerid], 0x00000055);
  204.     PlayerTextDrawTextSize(playerid,SecuritybBoxTDP[playerid], 82.000000, 84.000000);
  205.     PlayerTextDrawSetPreviewModel(playerid,SecuritybBoxTDP[playerid], 185);
  206.     PlayerTextDrawSetPreviewRot(playerid,SecuritybBoxTDP[playerid], 0, 0, 0, 1.0);
  207.     PlayerTextDrawSetSelectable(playerid,SecuritybBoxTDP[playerid], 0);
  208.     return true;
  209. }
  210.  
  211. public OnPlayerDisconnect(playerid, reason) {
  212.     PlayerTextDrawShow(playerid,SecuritybBoxTDP[playerid]);
  213.     PlayerTextDrawDestroy(playerid,SecuritybBoxTDP[playerid]);
  214.     return true;
  215. }
  216.  
  217. public OnFilterScriptInit() {
  218.     SetWorldTime(12);
  219.     SetWeather(10);
  220.     //AddPlayerClass(300,-172.4864,3026.1553,24.1552,262.0000,0,0,0,0,0,0); //
  221.     AddPlayerClass(300,-178.1903,3040.0010,24.1552,197.7661,0,0,0,0,0,0); //
  222.  
  223.     SecuritybBoxTD[0] = TextDrawCreate(502.000000, 105.000000, "_");
  224.     TextDrawBoxColor(SecuritybBoxTD[0], 892482303);
  225.  
  226.     SecuritybBoxTD[4] = TextDrawCreate(505.000000, 196.000000, "_");
  227.     TextDrawBackgroundColor(SecuritybBoxTD[4], 0x00000055);
  228.     TextDrawFont(SecuritybBoxTD[4], 5);
  229.     TextDrawLetterSize(SecuritybBoxTD[4], 0.500000, 1.000000);
  230.     TextDrawColor(SecuritybBoxTD[4], -1);
  231.     TextDrawSetOutline(SecuritybBoxTD[4], 0);
  232.     TextDrawSetProportional(SecuritybBoxTD[4], 1);
  233.     TextDrawSetShadow(SecuritybBoxTD[4], 1);
  234.     TextDrawUseBox(SecuritybBoxTD[4], 1);
  235.     TextDrawBoxColor(SecuritybBoxTD[4], 255);
  236.     TextDrawTextSize(SecuritybBoxTD[4], 82.000000, 84.000000);
  237.     TextDrawSetPreviewModel(SecuritybBoxTD[4], BANK_CLOTHING);
  238.     TextDrawSetPreviewRot(SecuritybBoxTD[4], 0, 0, 0, 1.0);
  239.     TextDrawSetSelectable(SecuritybBoxTD[4], 0);
  240.  
  241.     SecuritybBoxTD[2] = TextDrawCreate(502.000000, 105.000000, "_");
  242.     TextDrawBoxColor(SecuritybBoxTD[2], 0x008400FF);
  243.  
  244.     SecuritybBoxTD[3] = TextDrawCreate(502.000000, 285.000000, "_");
  245.     TextDrawBoxColor(SecuritybBoxTD[3], 0xA60300FF);
  246.     for(new index=2; index<4; index++) {
  247.         TextDrawBackgroundColor(SecuritybBoxTD[index], 255);
  248.         TextDrawFont(SecuritybBoxTD[index], 1);
  249.         TextDrawLetterSize(SecuritybBoxTD[index], 0.500000, -0.100000);
  250.         TextDrawColor(SecuritybBoxTD[index], -1);
  251.         TextDrawSetOutline(SecuritybBoxTD[index], 0);
  252.         TextDrawSetProportional(SecuritybBoxTD[index], 1);
  253.         TextDrawSetShadow(SecuritybBoxTD[index], 1);
  254.         TextDrawUseBox(SecuritybBoxTD[index], 1);
  255.         TextDrawTextSize(SecuritybBoxTD[index], 603.000000, 70.000000);
  256.         TextDrawSetSelectable(SecuritybBoxTD[index], 0); }
  257.  
  258.     SecuritybBoxTD[1] = TextDrawCreate(594.000000, 105.000000, "_");
  259.     TextDrawBoxColor(SecuritybBoxTD[1], 0x000000FF);
  260.     for(new index=0; index<2; index++) {
  261.         TextDrawBackgroundColor(SecuritybBoxTD[index], 255);
  262.         TextDrawFont(SecuritybBoxTD[index], 1);
  263.         TextDrawLetterSize(SecuritybBoxTD[index], 0.500000, 19.899999);
  264.         TextDrawColor(SecuritybBoxTD[index], -1);
  265.         TextDrawSetOutline(SecuritybBoxTD[index], 0);
  266.         TextDrawSetProportional(SecuritybBoxTD[index], 1);
  267.         TextDrawSetShadow(SecuritybBoxTD[index], 1);
  268.         TextDrawUseBox(SecuritybBoxTD[index], 1);
  269.         TextDrawTextSize(SecuritybBoxTD[index], 603.000000, 70.000000);
  270.         TextDrawSetSelectable(SecuritybBoxTD[index], 0); }
  271.  
  272.     Label_boxs[0] = CreateDynamic3DTextLabel("{3BB1C1}access\n{F4FBF9}Security",-1,-175.0341,3032.9395,24.1552,2);
  273.     Label_boxs[1] = CreateDynamic3DTextLabel("{3BB1C1}access\n{F4FBF9}Security",-1,-175.1059,3035.5334,24.1552,2);
  274.     Label_boxs[2] = CreateDynamic3DTextLabel("{3BB1C1}access\n{F4FBF9}box",-1,-175.6078,3029.9624,24.1552,2);
  275.     Label_boxs[3] = CreateDynamic3DTextLabel("{3BB1C1}access\n{F4FBF9}box",-1,-174.5434,3027.8984,24.1552,2);
  276.  
  277.     Fun_boxs[0] = CreateDynamicCP(-175.0341,3032.9395,24.1552-1, 1.0, -1, -1, -1, 2.0);
  278.     Fun_boxs[1] = CreateDynamicCP(-175.1059,3035.5334,24.1552-1, 1.0, -1, -1, -1, 2.0);
  279.     Fun_boxs[2] = CreateDynamicCP(-175.6078,3029.9624,24.1552-1, 1.0, -1, -1, -1, 2.0);
  280.     Fun_boxs[3] = CreateDynamicCP(-174.5434,3027.8984,24.1552-1, 1.0, -1, -1, -1, 2.0);
  281.     Fun_boxs[4] = CreateDynamicRectangle(-179.4872,3024.3313, -170.6698,3033.3921, -1, -1, -1);
  282.    
  283.     Door_b[0] = CreateObject(19325, -177.15080, 3034.24512, 24.73270,   90.00000, 0.00000, 90.00000);
  284.     Door_b[1] = CreateObject(19325, -172.95680, 3034.24512, 24.73270,   90.00000, 0.00000, 90.00000);
  285.     for(new index=0; index<2; index++) SetObjectMaterial(Door_b[index], 0, 1649, "wglass", "carshowwin2", 0xFF000000);
  286.     Door_b[2] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  287.     Door_b[3] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  288.     Door_b[4] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  289.     Door_b[5] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  290.     Door_b[6] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  291.     Door_b[7] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  292.     Door_b[8] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  293.     Door_b[9] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  294.     Door_b[10] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  295.     Door_b[11] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  296.     Door_b[12] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  297.     Door_b[13] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  298.     Door_b[14] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  299.     Door_b[15] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  300.     Door_b[16] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  301.     Door_b[17] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  302.     Door_b[18] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  303.     Door_b[19] = CreateObject(19084, 0.00000, 0.00000, 0.00000,   0.00000, 0.00000, 0.00000);
  304.     AttachObjectToObject(Door_b[2], Door_b[0], 0.0, 3.3, 0.0, 0.0, 90.0, 0.0, 0);
  305.     AttachObjectToObject(Door_b[3], Door_b[0], 0.0, 3.3, 0.3, 0.0, 90.0, 0.0, 0);
  306.     AttachObjectToObject(Door_b[4], Door_b[0], 0.0, 3.3, 0.6, 0.0, 90.0, 0.0, 0);
  307.     AttachObjectToObject(Door_b[5], Door_b[0], 0.0, 3.3, 0.9, 0.0, 90.0, 0.0, 0);
  308.     AttachObjectToObject(Door_b[6], Door_b[0], 0.0, 3.3, 0.12, 0.0, 90.0, 0.0, 0);
  309.     AttachObjectToObject(Door_b[7], Door_b[0], 0.0, 3.3, -0.3, 0.0, 90.0, 0.0, 0);
  310.     AttachObjectToObject(Door_b[8], Door_b[0], 0.0, 3.3, -0.6, 0.0, 90.0, 0.0, 0);
  311.     AttachObjectToObject(Door_b[9], Door_b[0], 0.0, 3.3, -0.9, 0.0, 90.0, 0.0, 0);
  312.     AttachObjectToObject(Door_b[10], Door_b[0], 0.0, 3.3, -0.12, 0.0, 90.0, 0.0, 0);
  313.     AttachObjectToObject(Door_b[11], Door_b[1], 0.0, 3.3, 0.0, 0.0, 90.0, 0.0, 0);
  314.     AttachObjectToObject(Door_b[12], Door_b[1], 0.0, 3.3, 0.3, 0.0, 90.0, 0.0, 0);
  315.     AttachObjectToObject(Door_b[13], Door_b[1], 0.0, 3.3, 0.6, 0.0, 90.0, 0.0, 0);
  316.     AttachObjectToObject(Door_b[14], Door_b[1], 0.0, 3.3, 0.9, 0.0, 90.0, 0.0, 0);
  317.     AttachObjectToObject(Door_b[15], Door_b[1], 0.0, 3.3, 0.12, 0.0, 90.0, 0.0, 0);
  318.     AttachObjectToObject(Door_b[16], Door_b[1], 0.0, 3.3, -0.3, 0.0, 90.0, 0.0, 0);
  319.     AttachObjectToObject(Door_b[17], Door_b[1], 0.0, 3.3, -0.6, 0.0, 90.0, 0.0, 0);
  320.     AttachObjectToObject(Door_b[18], Door_b[1], 0.0, 3.3, -0.9, 0.0, 90.0, 0.0, 0);
  321.     AttachObjectToObject(Door_b[19], Door_b[1], 0.0, 3.3, -0.12, 0.0, 90.0, 0.0, 0);
  322.  
  323.     Door_b[20] = CreateObject(19083, -179.87109, 3028.73633, 27.28710,   0.00000, 0.00000, 0.00000);
  324.     Door_b[21] = CreateObject(19083, -179.87109, 3029.24634, 27.28710,   0.00000, 0.00000, 0.00000);
  325.     Door_b[22] = CreateObject(19083, -179.87109, 3029.75635, 27.28710,   0.00000, 0.00000, 0.00000);
  326.     Door_b[23] = CreateObject(19083, -179.87109, 3030.26636, 27.28710,   0.00000, 0.00000, 0.00000);
  327.     Door_b[24] = CreateObject(19083, -179.87109, 3028.22632, 27.28710,   0.00000, 0.00000, 0.00000);
  328.     Door_b[25] = CreateObject(19083, -179.87109, 3027.71631, 27.28710,   0.00000, 0.00000, 0.00000);
  329.     Door_b[26] = CreateObject(19083, -179.87109, 3027.20630, 27.28710,   0.00000, 0.00000, 0.00000);
  330.     Door_b[27] = CreateObject(19083, -179.87109, 3026.69629, 27.28710,   0.00000, 0.00000, 0.00000);
  331.     Door_b[28] = CreateObject(19083, -179.87109, 3026.18628, 27.28710,   0.00000, 0.00000, 0.00000);
  332.     Door_b[29] = CreateObject(19083, -179.87109, 3025.67627, 27.28710,   0.00000, 0.00000, 0.00000);
  333.     Door_b[30] = CreateObject(19083, -179.87109, 3025.16626, 27.28710,   0.00000, 0.00000, 0.00000);
  334.     Door_b[31] = CreateObject(19083, -179.87109, 3024.65625, 27.28710,   0.00000, 0.00000, 0.00000);
  335.     Door_b[32] = CreateObject(19083, -179.87109, 3030.86133, 27.28710,   0.00000, 0.00000, 0.00000);
  336.     Door_b[33] = CreateObject(19083, -179.87109, 3031.45630, 27.28710,   0.00000, 0.00000, 0.00000);
  337.     Door_b[34] = CreateObject(19083, -179.87109, 3032.05127, 27.28710,   0.00000, 0.00000, 0.00000);
  338.     Door_b[35] = CreateObject(19083, -179.87109, 3032.64624, 27.28710,   0.00000, 0.00000, 0.00000);
  339.     Door_b[36] = CreateObject(19083, -179.87109, 3033.24121, 27.28710,   0.00000, 0.00000, 0.00000);
  340.  
  341.     SecuritybBox[0] = CreateObject(2004, -171.28244, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  342.     SecuritybBox[1] = CreateObject(2004, -172.16251, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  343.     SecuritybBox[2] = CreateObject(2004, -173.02350, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  344.     SecuritybBox[3] = CreateObject(2004, -173.88341, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  345.     SecuritybBox[4] = CreateObject(2004, -174.74319, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  346.     SecuritybBox[5] = CreateObject(2004, -175.60330, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  347.     SecuritybBox[6] = CreateObject(2004, -176.44200, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  348.     SecuritybBox[7] = CreateObject(2004, -177.30209, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  349.     SecuritybBox[8] = CreateObject(2004, -178.12241, 3024.58887, 24.25520,   0.00000, 0.00000, 180.00000);
  350.     SecuritybBox[9] = CreateObject(2004, -171.28244, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  351.     SecuritybBox[10] = CreateObject(2004, -172.16251, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  352.     SecuritybBox[11] = CreateObject(2004, -173.02350, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  353.     SecuritybBox[12] = CreateObject(2004, -173.88341, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  354.     SecuritybBox[13] = CreateObject(2004, -174.74319, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  355.     SecuritybBox[14] = CreateObject(2004, -175.60330, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  356.     SecuritybBox[15] = CreateObject(2004, -176.44200, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  357.     SecuritybBox[16] = CreateObject(2004, -177.30209, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  358.     SecuritybBox[17] = CreateObject(2004, -178.12241, 3024.58887, 25.19520,   0.00000, 0.00000, 180.00000);
  359.     SecuritybBox[18] = CreateObject(2004, -171.28244, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  360.     SecuritybBox[19] = CreateObject(2004, -172.16251, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  361.     SecuritybBox[20] = CreateObject(2004, -173.02350, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  362.     SecuritybBox[21] = CreateObject(2004, -173.88341, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  363.     SecuritybBox[22] = CreateObject(2004, -174.74319, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  364.     SecuritybBox[23] = CreateObject(2004, -175.60330, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  365.     SecuritybBox[24] = CreateObject(2004, -176.44200, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  366.     SecuritybBox[25] = CreateObject(2004, -177.30209, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  367.     SecuritybBox[26] = CreateObject(2004, -178.12241, 3024.58887, 26.13320,   0.00000, 0.00000, 180.00000);
  368.     SecuritybBox[27] = CreateObject(2004, -170.96690, 3026.47705, 24.25520,   0.00000, 0.00000, -90.00000);
  369.     SecuritybBox[28] = CreateObject(2004, -170.96690, 3027.33618, 24.25520,   0.00000, 0.00000, -90.00000);
  370.     SecuritybBox[29] = CreateObject(2004, -170.96690, 3028.19702, 24.25520,   0.00000, 0.00000, -90.00000);
  371.     SecuritybBox[30] = CreateObject(2004, -170.96690, 3029.05811, 24.25520,   0.00000, 0.00000, -90.00000);
  372.     SecuritybBox[31] = CreateObject(2004, -170.96690, 3026.47705, 25.19520,   0.00000, 0.00000, -90.00000);
  373.     SecuritybBox[32] = CreateObject(2004, -170.96690, 3027.33618, 25.19520,   0.00000, 0.00000, -90.00000);
  374.     SecuritybBox[33] = CreateObject(2004, -170.96690, 3028.19702, 25.19520,   0.00000, 0.00000, -90.00000);
  375.     SecuritybBox[34] = CreateObject(2004, -170.96690, 3029.05811, 25.19520,   0.00000, 0.00000, -90.00000);
  376.     SecuritybBox[35] = CreateObject(2004, -170.96690, 3026.47705, 26.13320,   0.00000, 0.00000, -90.00000);
  377.     SecuritybBox[36] = CreateObject(2004, -170.96690, 3027.33618, 26.13320,   0.00000, 0.00000, -90.00000);
  378.     SecuritybBox[37] = CreateObject(2004, -170.96690, 3028.19702, 26.13320,   0.00000, 0.00000, -90.00000);
  379.     SecuritybBox[38] = CreateObject(2004, -170.96690, 3029.05811, 26.13320,   0.00000, 0.00000, -90.00000);
  380.     SecuritybBox[39] = CreateObject(2004, -179.20401, 3031.03882, 24.25520,   0.00000, 0.00000, 90.00000);
  381.     SecuritybBox[40] = CreateObject(2004, -179.20399, 3030.19800, 24.25520,   0.00000, 0.00000, 90.00000);
  382.     SecuritybBox[41] = CreateObject(2004, -179.20399, 3029.33667, 24.25520,   0.00000, 0.00000, 90.00000);
  383.     SecuritybBox[42] = CreateObject(2004, -179.20399, 3028.49609, 24.25520,   0.00000, 0.00000, 90.00000);
  384.     SecuritybBox[43] = CreateObject(2004, -179.20399, 3031.03882, 25.19520,   0.00000, 0.00000, 90.00000);
  385.     SecuritybBox[44] = CreateObject(2004, -179.20399, 3030.19800, 25.19520,   0.00000, 0.00000, 90.00000);
  386.     SecuritybBox[45] = CreateObject(2004, -179.20399, 3029.33667, 25.19520,   0.00000, 0.00000, 90.00000);
  387.     SecuritybBox[46] = CreateObject(2004, -179.20399, 3028.49609, 25.19520,   0.00000, 0.00000, 90.00000);
  388.     SecuritybBox[47] = CreateObject(2004, -179.20399, 3031.03882, 26.13320,   0.00000, 0.00000, 90.00000);
  389.     SecuritybBox[48] = CreateObject(2004, -179.20399, 3030.19800, 26.13320,   0.00000, 0.00000, 90.00000);
  390.     SecuritybBox[49] = CreateObject(2004, -179.20399, 3029.33667, 26.13320,   0.00000, 0.00000, 90.00000);
  391.     SecuritybBox[50] = CreateObject(2004, -179.20399, 3028.49609, 26.13320,   0.00000, 0.00000, 90.00000);
  392.  
  393.     Boxs[0] = CreateObject(2003, -171.66141, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  394.     Boxs[1] = CreateObject(2003, -172.52110, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  395.     Boxs[2] = CreateObject(2003, -173.38091, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  396.     Boxs[3] = CreateObject(2003, -174.23660, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  397.     Boxs[4] = CreateObject(2003, -175.09760, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  398.     Boxs[5] = CreateObject(2003, -175.94209, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  399.     Boxs[6] = CreateObject(2003, -176.80240, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  400.     Boxs[7] = CreateObject(2003, -177.65970, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  401.     Boxs[8] = CreateObject(2003, -178.51579, 3024.32764, 24.25520,   0.00000, 0.00000, 180.00000);
  402.     Boxs[9] = CreateObject(2003, -171.66141, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  403.     Boxs[10] = CreateObject(2003, -172.52110, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  404.     Boxs[11] = CreateObject(2003, -173.38091, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  405.     Boxs[12] = CreateObject(2003, -174.23660, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  406.     Boxs[13] = CreateObject(2003, -175.09760, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  407.     Boxs[14] = CreateObject(2003, -175.94209, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  408.     Boxs[15] = CreateObject(2003, -176.80240, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  409.     Boxs[16] = CreateObject(2003, -177.65970, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  410.     Boxs[17] = CreateObject(2003, -178.51579, 3024.32764, 25.19520,   0.00000, 0.00000, 180.00000);
  411.     Boxs[18] = CreateObject(2003, -171.66141, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  412.     Boxs[19] = CreateObject(2003, -172.52110, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  413.     Boxs[20] = CreateObject(2003, -173.38091, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  414.     Boxs[21] = CreateObject(2003, -174.23660, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  415.     Boxs[22] = CreateObject(2003, -175.09760, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  416.     Boxs[23] = CreateObject(2003, -175.94209, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  417.     Boxs[24] = CreateObject(2003, -176.80240, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  418.     Boxs[25] = CreateObject(2003, -177.65970, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  419.     Boxs[26] = CreateObject(2003, -178.51579, 3024.32764, 26.13320,   0.00000, 0.00000, 180.00000);
  420.     Boxs[27] = CreateObject(2003, -170.71332, 3026.08521, 24.25520,   0.00000, 0.00000, -90.00000);
  421.     Boxs[28] = CreateObject(2003, -170.71330, 3026.94580, 24.25520,   0.00000, 0.00000, -90.00000);
  422.     Boxs[29] = CreateObject(2003, -170.71330, 3027.80664, 24.25520,   0.00000, 0.00000, -90.00000);
  423.     Boxs[30] = CreateObject(2003, -170.71330, 3028.66724, 24.25520,   0.00000, 0.00000, -90.00000);
  424.     Boxs[31] = CreateObject(2003, -170.71332, 3026.08521, 25.1952,   0.00000, 0.00000, -90.00000);
  425.     Boxs[32] = CreateObject(2003, -170.71330, 3026.94580, 25.1952,   0.00000, 0.00000, -90.00000);
  426.     Boxs[33] = CreateObject(2003, -170.71330, 3027.80664, 25.1952,   0.00000, 0.00000, -90.00000);
  427.     Boxs[34] = CreateObject(2003, -170.71330, 3028.66724, 25.1952,   0.00000, 0.00000, -90.00000);
  428.     Boxs[35] = CreateObject(2003, -170.71332, 3026.08521, 26.1332,   0.00000, 0.00000, -90.00000);
  429.     Boxs[36] = CreateObject(2003, -170.71330, 3026.94580, 26.1332,   0.00000, 0.00000, -90.00000);
  430.     Boxs[37] = CreateObject(2003, -170.71330, 3027.80664, 26.1332,   0.00000, 0.00000, -90.00000);
  431.     Boxs[38] = CreateObject(2003, -170.71330, 3028.66724, 26.1332,   0.00000, 0.00000, -90.00000);
  432.     Boxs[39] = CreateObject(2003, -179.46220, 3031.45215, 24.25520,   0.00000, 0.00000, 90.00000);
  433.     Boxs[40] = CreateObject(2003, -179.46220, 3030.58667, 24.25520,   0.00000, 0.00000, 90.00000);
  434.     Boxs[41] = CreateObject(2003, -179.46220, 3029.72583, 24.25520,   0.00000, 0.00000, 90.00000);
  435.     Boxs[42] = CreateObject(2003, -179.46220, 3028.86548, 24.25520,   0.00000, 0.00000, 90.00000);
  436.     Boxs[43] = CreateObject(2003, -179.46220, 3031.45215, 25.1952,   0.00000, 0.00000, 90.00000);
  437.     Boxs[44] = CreateObject(2003, -179.46220, 3030.58667, 25.1952,   0.00000, 0.00000, 90.00000);
  438.     Boxs[45] = CreateObject(2003, -179.46220, 3029.72583, 25.1952,   0.00000, 0.00000, 90.00000);
  439.     Boxs[46] = CreateObject(2003, -179.46220, 3028.86548, 25.1952,   0.00000, 0.00000, 90.00000);
  440.     Boxs[47] = CreateObject(2003, -179.46220, 3031.45215, 26.1332,   0.00000, 0.00000, 90.00000);
  441.     Boxs[48] = CreateObject(2003, -179.46220, 3030.58667, 26.1332,   0.00000, 0.00000, 90.00000);
  442.     Boxs[49] = CreateObject(2003, -179.46220, 3029.72583, 26.1332,   0.00000, 0.00000, 90.00000);
  443.     Boxs[50] = CreateObject(2003, -179.46220, 3028.86548, 26.1332,   0.00000, 0.00000, 90.00000);
  444.  
  445.     for(new boxID=0; boxID<51; boxID++){
  446.         new
  447.             Float:pos[3],
  448.             data[100];
  449.         GetObjectPos(Boxs[boxID], pos[0], pos[1], pos[2]);
  450.         Label_box[boxID] = CreateDynamic3DTextLabel("_",-1,pos[0], pos[1], pos[2],5);
  451.         format(data,sizeof(data),"{3BB1C1}Box:{F4FBF9}%d",boxID);
  452.         UpdateDynamic3DTextLabelText(Label_box[boxID],-1,data);
  453.     }
  454.  
  455.     Interior_b[1] = CreateObject(1535, -176.59750, 3043.46265, 23.15200,   0.00000, 0.00000, 0.00000);
  456.     Interior_b[2] = CreateObject(1535, -173.58678, 3043.50269, 23.15200,   0.00000, 0.00000, 180.00000);
  457.     for(new index=1; index<3; index++) SetObjectMaterial(Interior_b[index], 0, -1, "none", "none", 0);
  458.  
  459.     Interior_b[3] = CreateObject(18765, -175.09758, 3028.73633, 20.65520,   0.00000, 0.00000, 0.00000);
  460.     SetObjectMaterial(Interior_b[3], 0, 14422, "dr_gsnew", "mp_marble", 0);
  461.     Interior_b[4] = CreateObject(18765, -175.09760, 3038.75391, 20.65520,   0.00000, 0.00000, 0.00000);
  462.     SetObjectMaterial(Interior_b[4], 0, 14422, "dr_gsnew", "mp_gs_carpet", 0);
  463.     Interior_b[5] = CreateObject(18766, -184.84700, 3026.27734, 23.42420,   90.00000, 0.00000, 0.00000);
  464.     SetObjectMaterial(Interior_b[5], 0, 14422, "dr_gsnew", "mp_gs_carpet", 0);
  465.  
  466.     Interior_b[6] = CreateObject(18765, -175.09758, 3028.73633, 30.48520,   0.00000, 0.00000, 0.00000);
  467.     Interior_b[7] = CreateObject(18765, -175.09760, 3038.75391, 30.48520,   0.00000, 0.00000, 0.00000);
  468.     Interior_b[8] = CreateObject(18765, -184.84700, 3026.23340, 30.48520,   0.00000, 0.00000, 0.00000);
  469.     for(new index=6; index<9; index++) SetObjectMaterial(Interior_b[index], 0, 14422, "dr_gsnew", "concretenewb256", 0);
  470.  
  471.     Interior_b[9] = CreateObject(18766, -175.09760, 3023.48022, 25.55420,   0.00000, 0.00000, 0.00000);
  472.     Interior_b[10] = CreateObject(18766, -180.34520, 3031.89038, 25.55420,   0.00000, 0.00000, 90.00000);
  473.     Interior_b[11] = CreateObject(18766, -169.81430, 3028.73633, 25.55420,   0.00000, 0.00000, 90.00000);
  474.     Interior_b[12] = CreateObject(18766, -180.33720, 3038.75391, 25.55420,   0.00000, 0.00000, 90.00000);
  475.     Interior_b[13] = CreateObject(18766, -169.81430, 3038.75391, 25.55420,   0.00000, 0.00000, 90.00000);
  476.     Interior_b[14] = CreateObject(18766, -175.09760, 3043.96558, 25.55420,   0.00000, 0.00000, 0.00000);
  477.     Interior_b[15] = CreateObject(18766, -180.33720, 3020.69580, 25.55420,   0.00000, 0.00000, 90.00000);
  478.     Interior_b[16] = CreateObject(18766, -180.34720, 3027.25220, 29.48320,   0.00000, 0.00000, 90.00000);
  479.     Interior_b[17] = CreateObject(18766, -184.84700, 3029.14307, 25.55420,   0.00000, 0.00000, 0.00000);
  480.     Interior_b[18] = CreateObject(18766, -184.84700, 3023.40283, 25.55420,   0.00000, 0.00000, 0.00000);
  481.     Interior_b[19] = CreateObject(18766, -190.21198, 3026.42944, 25.55420,   0.00000, 0.00000, 90.00000);
  482.     for(new index=9; index<20; index++) SetObjectMaterial(Interior_b[index], 0, 14422, "dr_gsnew", "concpanel_la", 0);
  483.  
  484.     Interior_b[20] = CreateObject(18762, -179.35834, 3034.24512, 25.55420,   0.00000, 0.00000, 0.00000);
  485.     Interior_b[21] = CreateObject(18762, -170.80811, 3034.24512, 25.55420,   0.00000, 0.00000, 0.00000);
  486.     Interior_b[22] = CreateObject(18762, -175.09760, 3034.24512, 25.55420,   0.00000, 0.00000, 0.00000);
  487.     Interior_b[23] = CreateObject(18762, -170.56940, 3027.36621, 23.27900,   0.00000, 90.00000, 90.00000);
  488.     Interior_b[24] = CreateObject(18762, -179.62811, 3030.19653, 23.27900,   0.00000, 90.00000, 90.00000);
  489.     Interior_b[25] = CreateObject(18762, -172.78214, 3024.37891, 23.27900,   0.00000, 90.00000, 0.00000);
  490.     Interior_b[26] = CreateObject(18762, -177.78439, 3024.37891, 23.27900,   0.00000, 90.00000, 0.00000);
  491.     for(new index=20; index<27; index++) SetObjectMaterial(Interior_b[index], 0, 14422, "dr_gsnew", "concretenewb256", 0);
  492.  
  493.     Interior_b[27] = CreateObject(914, -179.79549, 3026.26660, 24.67560,   0.00000, 0.00000, 90.00000);
  494.     Interior_b[28] = CreateObject(914, -179.79550, 3026.26660, 26.21460,   0.00000, 0.00000, 90.00000);
  495.     Interior_b[29] = CreateObject(19172, -179.77257, 3026.28076, 26.24610,   0.00000, 0.00000, 90.00000);
  496.     Interior_b[30] = CreateObject(1721, -179.16556, 3025.75781, 23.15360,   0.00000, 0.00000, -76.00000);
  497.     Interior_b[31] = CreateObject(1721, -179.20041, 3027.01660, 23.15360,   0.00000, 0.00000, -98.00000);
  498.  
  499.     CreateObject(362, -176.53220, 3039.46558, 27.95840,   -1.00000, 42.00000, -88.00000);
  500.     CreateObject(362, -173.68410, 3039.46558, 27.95840,   -1.00000, 42.00000, -88.00000);
  501.  
  502.     CreateObject(1893, -172.59480, 3038.75391, 28.16810,   0.00000, 0.00000, 90.00000);
  503.     CreateObject(1893, -177.50290, 3038.75391, 28.16810,   0.00000, 0.00000, 90.00000);
  504.     CreateObject(1893, -187.00980, 3025.83472, 28.19590,   0.00000, 0.00000, 90.00000);
  505.     CreateObject(1893, -183.49001, 3025.83472, 28.19590,   0.00000, 0.00000, 90.00000);
  506.     CreateObject(366, -171.82906, 3043.33325, 25.06610,   0.00000, 42.00000, 0.00000);
  507.     CreateObject(1721, -170.85078, 3032.12036, 23.15360,   0.00000, 0.00000, 100.00000);
  508.     CreateObject(1721, -170.84355, 3030.84155, 23.15360,   0.00000, 0.00000, 69.00000);
  509.     CreateObject(1999, -174.56013, 3029.44800, 23.16320,   0.00000, 0.00000, 180.00000);
  510.     CreateObject(1999, -175.56546, 3028.41284, 23.16320,   0.00000, 0.00000, 0.00000);
  511.     CreateObject(1550, -173.92149, 3028.61670, 23.52780,   0.00000, 0.00000, 0.00000);
  512.     CreateObject(1550, -173.92149, 3028.13599, 23.52780,   0.00000, 0.00000, 0.00000);
  513.     CreateObject(1550, -173.92149, 3029.09692, 23.52780,   0.00000, 0.00000, 0.00000);
  514.     CreateObject(1550, -173.92149, 3029.57642, 23.52780,   0.00000, 0.00000, 0.00000);
  515.     CreateObject(1550, -176.19830, 3029.57642, 23.52780,   0.00000, 0.00000, 0.00000);
  516.     CreateObject(1550, -176.19830, 3029.09692, 23.52780,   0.00000, 0.00000, 0.00000);
  517.     CreateObject(1550, -176.19830, 3028.61670, 23.52780,   0.00000, 0.00000, 0.00000);
  518.     CreateObject(1550, -176.19830, 3028.13599, 23.52780,   0.00000, 0.00000, 0.00000);
  519.     CreateObject(19172, -170.31851, 3031.45605, 26.35320,   0.00000, 0.00000, -90.00000);
  520.     CreateObject(2001, -179.38306, 3033.20410, 23.16320,   0.00000, 0.00000, 180.00000);
  521.     CreateObject(2001, -170.81670, 3033.20410, 23.16320,   0.00000, 0.00000, 180.00000);
  522.     CreateObject(3387, -174.55679, 3038.75391, 23.17780,   0.00000, 0.00000, 180.00000);
  523.     CreateObject(3389, -175.58740, 3038.75391, 23.17780,   0.00000, 0.00000, 0.00000);
  524.     CreateObject(3386, -175.58740, 3037.73364, 23.17780,   0.00000, 0.00000, 0.00000);
  525.     CreateObject(3386, -175.58740, 3039.77393, 23.17780,   0.00000, 0.00000, 0.00000);
  526.     CreateObject(3386, -174.55679, 3037.73364, 23.17780,   0.00000, 0.00000, 180.00000);
  527.     CreateObject(3386, -174.55679, 3039.77393, 23.17780,   0.00000, 0.00000, 180.00000);
  528.     CreateObject(3388, -169.97749, 3037.73364, 23.17780,   0.00000, 0.00000, 0.00000);
  529.     CreateObject(3386, -169.97749, 3038.75391, 23.17780,   0.00000, 0.00000, 0.00000);
  530.     CreateObject(3388, -169.97749, 3039.77393, 23.17780,   0.00000, 0.00000, 0.00000);
  531.     CreateObject(3386, -169.97749, 3036.73267, 23.17780,   0.00000, 0.00000, 0.00000);
  532.     CreateObject(3386, -169.97749, 3040.77661, 23.17780,   0.00000, 0.00000, 0.00000);
  533.     CreateObject(3388, -169.97749, 3041.77637, 23.17780,   0.00000, 0.00000, 0.00000);
  534.     CreateObject(3388, -169.97749, 3035.71069, 23.17780,   0.00000, 0.00000, 0.00000);
  535.     CreateObject(3386, -169.97749, 3042.79565, 23.17780,   0.00000, 0.00000, 0.00000);
  536.     CreateObject(3388, -180.17799, 3035.71069, 23.17780,   0.00000, 0.00000, 180.00000);
  537.     CreateObject(3386, -180.17799, 3036.73267, 23.17780,   0.00000, 0.00000, 180.00000);
  538.     CreateObject(3388, -180.17799, 3037.73364, 23.17780,   0.00000, 0.00000, 180.00000);
  539.     CreateObject(3386, -180.17799, 3038.75391, 23.17780,   0.00000, 0.00000, 180.00000);
  540.     CreateObject(3388, -180.17799, 3039.77393, 23.17780,   0.00000, 0.00000, 180.00000);
  541.     CreateObject(3386, -180.17799, 3040.77661, 23.17780,   0.00000, 0.00000, 180.00000);
  542.     CreateObject(3388, -180.17799, 3041.77637, 23.17780,   0.00000, 0.00000, 180.00000);
  543.     CreateObject(3386, -180.17799, 3042.79565, 23.17780,   0.00000, 0.00000, 180.00000);
  544.     CreateObject(1721, -175.57487, 3037.10986, 23.15360,   0.00000, 0.00000, 180.00000);
  545.     CreateObject(1721, -174.61505, 3037.08252, 23.15360,   0.00000, 0.00000, 180.00000);
  546.     CreateObject(19273, -175.09760, 3034.75146, 24.72470,   0.00000, 0.00000, 180.00000);
  547.     CreateObject(19273, -175.09760, 3033.73608, 24.72470,   0.00000, 0.00000, 0.00000);
  548.     CreateObject(16780, -175.09760, 3028.73633, 27.97430,   0.00000, 0.00000, 0.00000);
  549.     CreateObject(1893, -172.59480, 3028.27515, 28.16810,   0.00000, 0.00000, 90.00000);
  550.     CreateObject(1893, -177.50290, 3028.27515, 28.16810,   0.00000, 0.00000, 90.00000);
  551.     CreateObject(2707, -170.34261, 3042.79565, 26.63980,   0.00000, 90.00000, 0.00000);
  552.     CreateObject(2707, -170.34261, 3041.77637, 26.63980,   0.00000, 90.00000, 0.00000);
  553.     CreateObject(2707, -170.34261, 3040.77661, 26.63980,   0.00000, 90.00000, 0.00000);
  554.     CreateObject(2707, -170.34261, 3039.77393, 26.63980,   0.00000, 90.00000, 0.00000);
  555.     CreateObject(2707, -170.34261, 3038.75391, 26.63980,   0.00000, 90.00000, 0.00000);
  556.     CreateObject(2707, -170.34261, 3037.73364, 26.63980,   0.00000, 90.00000, 0.00000);
  557.     CreateObject(2707, -170.34261, 3036.73267, 26.63980,   0.00000, 90.00000, 0.00000);
  558.     CreateObject(2707, -170.34261, 3035.71069, 26.63980,   0.00000, 90.00000, 0.00000);
  559.     CreateObject(2707, -179.81010, 3042.79565, 26.63980,   0.00000, 90.00000, 180.00000);
  560.     CreateObject(2707, -179.81010, 3041.77637, 26.63980,   0.00000, 90.00000, 180.00000);
  561.     CreateObject(2707, -179.81010, 3040.77661, 26.63980,   0.00000, 90.00000, 180.00000);
  562.     CreateObject(2707, -179.81010, 3039.77393, 26.63980,   0.00000, 90.00000, 180.00000);
  563.     CreateObject(2707, -179.81010, 3038.75391, 26.63980,   0.00000, 90.00000, 180.00000);
  564.     CreateObject(2707, -179.81010, 3037.73364, 26.63980,   0.00000, 90.00000, 180.00000);
  565.     CreateObject(2707, -179.81010, 3036.73267, 26.63980,   0.00000, 90.00000, 180.00000);
  566.     CreateObject(2707, -179.81010, 3035.71069, 26.63980,   0.00000, 90.00000, 180.00000);
  567.     CreateObject(2894, -174.66341, 3029.54688, 23.97800,   0.00000, 0.00000, 0.00000);
  568.     CreateObject(2833, -177.78619, 3032.51050, 23.14580,   0.00000, 0.00000, 0.00000);
  569.     CreateObject(2833, -173.42461, 3032.51050, 23.14580,   0.00000, 0.00000, 0.00000);
  570.     CreateObject(2707, -177.23260, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  571.     CreateObject(2707, -176.67261, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  572.     CreateObject(2707, -176.09230, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  573.     CreateObject(2707, -177.81270, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  574.     CreateObject(2707, -178.39330, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  575.     CreateObject(2707, -172.95010, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  576.     CreateObject(2707, -172.35001, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  577.     CreateObject(2707, -171.73000, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  578.     CreateObject(2707, -173.55051, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  579.     CreateObject(2707, -174.15050, 3033.97339, 23.19370,   0.00000, 180.00000, 0.00000);
  580.  
  581.     CreateObject(2005, -171.66141, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  582.     CreateObject(2005, -172.52110, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  583.     CreateObject(2005, -173.38091, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  584.     CreateObject(2005, -174.23660, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  585.     CreateObject(2005, -175.09760, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  586.     CreateObject(2005, -175.94209, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  587.     CreateObject(2005, -176.80240, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  588.     CreateObject(2005, -177.65970, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  589.     CreateObject(2005, -178.51579, 3024.32764, 24.17120,   0.00000, 0.00000, 180.00000);
  590.     CreateObject(2005, -171.66141, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  591.     CreateObject(2005, -172.52110, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  592.     CreateObject(2005, -173.38091, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  593.     CreateObject(2005, -174.23660, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  594.     CreateObject(2005, -175.09760, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  595.     CreateObject(2005, -175.94209, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  596.     CreateObject(2005, -176.80240, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  597.     CreateObject(2005, -177.65970, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  598.     CreateObject(2005, -178.51579, 3024.32764, 25.11120,   0.00000, 0.00000, 180.00000);
  599.     CreateObject(2005, -171.66141, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  600.     CreateObject(2005, -172.52110, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  601.     CreateObject(2005, -173.38091, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  602.     CreateObject(2005, -174.23660, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  603.     CreateObject(2005, -175.09760, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  604.     CreateObject(2005, -175.94209, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  605.     CreateObject(2005, -176.80240, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  606.     CreateObject(2005, -177.65970, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  607.     CreateObject(2005, -178.51579, 3024.32764, 26.04920,   0.00000, 0.00000, 180.00000);
  608.     CreateObject(2005, -170.71330, 3026.08521, 24.17120,   0.00000, 0.00000, -90.00000);
  609.     CreateObject(2005, -170.71330, 3026.94580, 24.17120,   0.00000, 0.00000, -90.00000);
  610.     CreateObject(2005, -170.71330, 3027.80664, 24.17120,   0.00000, 0.00000, -90.00000);
  611.     CreateObject(2005, -170.71330, 3028.66724, 24.17120,   0.00000, 0.00000, -90.00000);
  612.     CreateObject(2005, -170.71330, 3026.08521, 25.11120,   0.00000, 0.00000, -90.00000);
  613.     CreateObject(2005, -170.71330, 3026.94580, 25.11120,   0.00000, 0.00000, -90.00000);
  614.     CreateObject(2005, -170.71330, 3027.80664, 25.11120,   0.00000, 0.00000, -90.00000);
  615.     CreateObject(2005, -170.71330, 3028.66724, 25.11120,   0.00000, 0.00000, -90.00000);
  616.     CreateObject(2005, -170.71330, 3026.08521, 26.04920,   0.00000, 0.00000, -90.00000);
  617.     CreateObject(2005, -170.71330, 3026.94580, 26.04920,   0.00000, 0.00000, -90.00000);
  618.     CreateObject(2005, -170.71330, 3027.80664, 26.04920,   0.00000, 0.00000, -90.00000);
  619.     CreateObject(2005, -170.71330, 3028.66724, 26.04920,   0.00000, 0.00000, -90.00000);
  620.     CreateObject(2005, -179.46220, 3031.45215, 24.17120,   0.00000, 0.00000, 90.00000);
  621.     CreateObject(2005, -179.46220, 3030.58667, 24.17120,   0.00000, 0.00000, 90.00000);
  622.     CreateObject(2005, -179.46220, 3029.72583, 24.17120,   0.00000, 0.00000, 90.00000);
  623.     CreateObject(2005, -179.46220, 3028.86548, 24.17120,   0.00000, 0.00000, 90.00000);
  624.     CreateObject(2005, -179.46220, 3031.45215, 25.11120,   0.00000, 0.00000, 90.00000);
  625.     CreateObject(2005, -179.46220, 3030.58667, 25.11120,   0.00000, 0.00000, 90.00000);
  626.     CreateObject(2005, -179.46220, 3029.72583, 25.11120,   0.00000, 0.00000, 90.00000);
  627.     CreateObject(2005, -179.46220, 3028.86548, 25.11120,   0.00000, 0.00000, 90.00000);
  628.     CreateObject(2005, -179.46220, 3031.45215, 26.04920,   0.00000, 0.00000, 90.00000);
  629.     CreateObject(2005, -179.46220, 3030.58667, 26.04920,   0.00000, 0.00000, 90.00000);
  630.     CreateObject(2005, -179.46220, 3029.72583, 26.04920,   0.00000, 0.00000, 90.00000);
  631.     CreateObject(2005, -179.46220, 3028.86548, 26.04920,   0.00000, 0.00000, 90.00000);
  632.     CreateObject(914, -189.62141, 3025.02368, 25.99560,   0.00000, 0.00000, 90.00000);
  633.     CreateObject(914, -189.62140, 3025.02368, 25.99560,   0.00000, 180.00000, 90.00000);
  634.     CreateObject(919, -189.17059, 3024.63623, 24.27960,   0.00000, 0.00000, 90.00000);
  635.     CreateObject(919, -189.17462, 3025.51660, 24.27960,   0.00000, 0.00000, 90.00000);
  636.     CreateObject(927, -189.60060, 3026.73193, 24.93960,   0.00000, 0.00000, 90.00000);
  637.     return true;
  638. }
  639.  
  640. COMMAND:money(playerid, params[]){
  641.     new money,
  642.         boxID,
  643.         data[100];
  644.        
  645.     if(!sscanf(params,"dd",boxID,money)){
  646.         if(SecuritybBoxOpen[boxID]){
  647.             MoneyBox[playerid][boxID] = money;
  648.             format(data,sizeof(data),"{3BB1C1}Box:{F4FBF9}%d\n{F4FBF9}[%d]",boxID, MoneyBox[playerid][boxID]);
  649.             UpdateDynamic3DTextLabelText(Label_box[boxID],-1,data);
  650.             PlayerPlaySound(playerid,21000,0,0,0);
  651.         }else GameTextForPlayer(playerid, "box closed!", 4000, 3);
  652.     }else SendClientMessage(playerid,-1," INFO: /money [ box id (0-50) ] [ money ]");
  653.     return true;
  654. }
  655.  
  656. COMMAND:box(playerid, params[]){
  657.     new boxID,
  658.         data[100],
  659.         Float:pos[6];
  660.        
  661.     if(!sscanf(params,"d",boxID)){
  662.         GetObjectPos(SecuritybBox[boxID], pos[0], pos[1], pos[2]);
  663.         GetObjectRot(SecuritybBox[boxID], pos[3], pos[4], pos[5]);
  664.         switch(boxID){
  665.             case 0..26: MoveObject(SecuritybBox[boxID], pos[0], pos[1], (!SecuritybBoxOpen[boxID]) ? (pos[2]+0.0001) : (pos[2]-0.0001), 0.0001, pos[3], pos[4], (!SecuritybBoxOpen[boxID]) ? (105.0000) : (180.0000));
  666.             case 27..38: MoveObject(SecuritybBox[boxID], pos[0], pos[1], (!SecuritybBoxOpen[boxID]) ? (pos[2]+0.0001) : (pos[2]-0.0001), 0.0001, pos[3], pos[4], (!SecuritybBoxOpen[boxID]) ? (-154.0000) : (-90.0000));
  667.             case 39..50: MoveObject(SecuritybBox[boxID], pos[0], pos[1], (!SecuritybBoxOpen[boxID]) ? (pos[2]+0.0001) : (pos[2]-0.0001), 0.0001, pos[3], pos[4], (!SecuritybBoxOpen[boxID]) ? (23.0000) : (90.0000));
  668.         }
  669.         SecuritybBoxOpen[boxID] = (!SecuritybBoxOpen[boxID]) ? (true) : (false);
  670.         if(SecuritybBoxOpen[boxID]) format(data,sizeof(data),"{3BB1C1}Box:{F4FBF9}%d\n{009600}$$$:\n{F4FBF9}[%d]",boxID, MoneyBox[playerid][boxID]);
  671.         else format(data,sizeof(data),"{3BB1C1}Box:{F4FBF9}%d",boxID);
  672.         UpdateDynamic3DTextLabelText(Label_box[boxID],-1,data);
  673.         PlayerPlaySound(playerid,21000,0,0,0);
  674.     }else SendClientMessage(playerid,-1," INFO: /box [ box id (0-50) ]");
  675.     return true;
  676. }
  677.  
  678. COMMAND:test(playerid, params[]){
  679.     if(GetPlayerSkin(playerid)==BANK_CLOTHING) SetPlayerSkin(playerid,random(300));
  680.     else SetPlayerSkin(playerid,BANK_CLOTHING);
  681.     return true;
  682. }
  683.  
  684. COMMAND:boom(playerid, params[]){
  685.     Explosion_b1();
  686.     GameTextForPlayer(playerid, "Boom!", 4000, 3);
  687.     return true;
  688. }
Add Comment
Please, Sign In to add comment