Guest User

Sayaron

a guest
Oct 4th, 2009
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.91 KB | None | 0 0
  1.                          ////////////////////////////
  2.                         //Bank Interior by Sayaron//
  3.                        ////////////////////////////
  4.  
  5.  
  6.  
  7. #include <a_samp>
  8. #define FILTERSCRIPT
  9. #if defined FILTERSCRIPT
  10.  
  11. public OnFilterScriptInit()
  12. {
  13.     print("==============================");
  14.     print("== Bank Interior by Sayaron ==");
  15.     print("==============================");
  16.     return 1;
  17. }
  18.  
  19. public OnFilterScriptExit()
  20. {
  21.     print("==============================");
  22.     print("== Bank Interior by Sayaron ==");
  23.     print("==============================");
  24.     return 1;
  25. }
  26.  
  27. #else
  28.  
  29. main()
  30. {
  31.     print("==============================");
  32.     print("== Bank Interior by Sayaron ==");
  33.     print("==============================");
  34. }
  35.  
  36. #endif
  37.  
  38. public OnGameModeInit()
  39. {
  40.     CreateObject(14576, -482.16369628906, -198.66093444824, 980.00079345703, 0, 0, 0.75);
  41.     CreateObject(2946, -466.86309814453, -198.2001953125, 984.35827636719, 0, 0, 357.31604003906);
  42.     CreateObject(2946, -466.7080078125, -195.02656555176, 984.36566162109, 0, 0, 177.65991210938);
  43.     CreateObject(1491, -479.08612060547, -213.3388671875, 986.75866699219, 0, 0, 0);
  44.     CreateObject(13007, -475.021484375, -203.4521484375, 986.16741943359, 0, 0, 267.73681640625);
  45.     CreateObject(14577, -421.435546875, -217.5068359375, 985.12335205078, 0, 0, 180.00549316406);
  46.     CreateObject(3089, -478.60537719727, -213.35453796387, 981.51635742188, 0, 0, 0.75);
  47.     CreateObject(3089, -476.23828125, -214.39562988281, 981.53961181641, 0, 0, 26.25);
  48.     CreateObject(3089, -457.58416748047, -198.49922180176, 979.54022216797, 0, 0, 342.47839355469);
  49.     CreateObject(3089, -465.66537475586, -214.6498260498, 979.54180908203, 0, 0, 27.75);
  50.     CreateObject(2262, -453.39953613281, -211.38711547852, 980.78424072266, 0, 0, 272.05102539063);
  51.     CreateObject(2261, -463.9052734375, -221.849609375, 980.90454101563, 0, 0, 179.60961914063);
  52.     CreateObject(16378, -454.80169677734, -211.66088867188, 978.96862792969, 0, 0, 89.846801757813);
  53.     CreateObject(9362, -463.28314208984, -220.99801635742, 978.958984375, 0, 0, 180.50543212891);
  54.     CreateObject(2162, -464.16430664063, -209.51202392578, 978.20550537109, 0, 0, 0);
  55.     CreateObject(2161, -462.39245605469, -209.4859161377, 978.20013427734, 0, 0, 0);
  56.     CreateObject(2164, -453.00692749023, -217.82246398926, 978.20037841797, 0, 0, 271.17260742188);
  57.     CreateObject(2163, -453.00524902344, -216.08598327637, 978.20025634766, 0, 0, 270.42254638672);
  58.     CreateObject(2167, -460.3274230957, -216.3990020752, 0.00537109375, 0, 0, 0);
  59.     CreateObject(2167, -452.93060302734, -219.87733459473, 978.20098876953, 0, 0, 271.17272949219);
  60.     CreateObject(1491, -479.08972167969, -213.34439086914, 984.33569335938, 0, 0, 0);
  61.     CreateObject(3055, -466.69039916992, -197.12467956543, 986.57647705078, 0, 0, 268.58288574219);
  62.     CreateObject(17946, -418.92733764648, -251.23831176758, 981.21447753906, 0, 0, 359.5810546875);
  63.     CreateObject(3117, -432.66442871094, -229.69778442383, 977.97943115234, 0, 0, 0);
  64.     CreateObject(3029, -450.6220703125, -223.7509765625, 978.20330810547, 0, 0, 270.48901367188);
  65.     CreateObject(3029, -450.66290283203, -208.84590148926, 978.13427734375, 0, 0, 309.208984375);
  66.     CreateObject(1753, -472.98281860352, -195.55270385742, 984.3857421875, 0, 0, 0);
  67.     CreateObject(1713, -470.11312866211, -199.85711669922, 978.19982910156, 0, 0, 90.327392578125);
  68.     CreateObject(1713, -469.24130249023, -197.3401184082, 978.19818115234, 0, 0, 0);
  69.     CreateObject(1775, -470.26870727539, -207.56434631348, 979.29846191406, 0, 0, 89.987609863281);
  70.     CreateObject(3051, -430.06097412109, -198.73989868164, 979.57147216797, 0, 0, 46.5);
  71.     CreateObject(3051, -430.04107666016, -199.87196350098, 979.57147216797, 0, 0, 48);
  72.     return 1;
  73. }
  74.  
  75.  
  76. public OnPlayerCommandText(playerid, cmdtext[])
  77. {
  78.     // Uncomment this with removing the /* and */ if you wanna use the teleport command
  79.     /*if(strcmp("/bank", cmdtext, true, 10) == 0)
  80.     {
  81.         SetPlayerPos(playerid, -467.1987,-196.4525,985.3784);
  82.         SetPlayerInterior(playerid,3);
  83.         return 1;
  84.     }*/
  85.     return 0;
  86. }
  87.  
Advertisement
Add Comment
Please, Sign In to add comment