Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Area 51 Toll
- // Mapped by Lanzmeister
- // Scripted by Tom.1412
- // Don't remove credits
- #include <a_samp>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- #endif
- new Gate;
- new Gatepick;
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Area 51 Toll ");
- print(" Mapped by Lanzmeister ");
- print(" Scripted by Tom.1412 ");
- print(" Don't remove credits ");
- print("--------------------------------------\n");
- CreateObject(3881, -4.00000000, 2070.50000000, 18.29999924, 0.00000000, 0.00000000, 92.00000000);
- CreateObject(1250, -8.50000000, 2067.39990234, 17.50000000, 0.00000000, 0.00000000, 0.00000000);
- CreateObject(1251, -7.90000010, 2064.50000000, 16.60000038, 0.00000000, 0.00000000, 0.00000000);
- CreateObject(1251, -0.80000001, 2064.50000000, 16.60000038, 0.00000000, 0.00000000, 0.00000000);
- CreateObject(4100, -8.69999981, 2080.39990234, 18.20000076, 0.00000000, 0.00000000, 54.00000000);
- CreateObject(4100, -7.30000019, 2053.39990234, 18.20000076, 0.00000000, 0.00000000, 53.99780273);
- CreateObject(4100, -2.70000005, 2041.19995117, 18.39999962, 0.00000000, 0.00000000, 87.99780273);
- CreateObject(4100, -5.09999990, 2091.80004883, 18.39999962, 0.00000000, 0.00000000, 187.99499512);
- CreateObject(2921, -0.89999998, 2068.39990234, 20.00000000, 0.00000000, 0.00000000, 74.00000000);
- CreateObject(3279, -4.30000019, 2081.39990234, 16.79999924, 0.00000000, 0.00000000, 0.00000000);
- CreateObject(4100, -1.20000005, 2060.30004883, 18.20000076, 0.00000000, 0.00000000, 141.99780273);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 270, 90);
- Gatepick = CreatePickup(1318, 14, -12.1928,2063.8916,17.2199, -1);
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == Gatepick) SetTimer("Gateopen1", 0, false);
- return 1;
- }
- forward Gateopen1();
- public Gateopen1()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 290, 90);
- SetTimer("Gateopen2", 500, false);
- return 1;
- }
- forward Gateopen2();
- public Gateopen2()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 305, 90);
- SetTimer("Gateopen3", 500, false);
- return 1;
- }
- forward Gateopen3();
- public Gateopen3()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 315, 90);
- SetTimer("Gateclose1", 3000, false);
- return 1;
- }
- forward Gateclose1();
- public Gateclose1()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 305, 90);
- SetTimer("Gateclose2", 500, false);
- return 1;
- }
- forward Gateclose2();
- public Gateclose2()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 290, 90);
- SetTimer("Gateclose3", 500, false);
- return 1;
- }
- forward Gateclose3();
- public Gateclose3()
- {
- DestroyObject(Gate);
- Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 270, 90);
- Gatepick = CreatePickup(1318, 14, -12.1928,2063.8916,17.2199, -1);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement