Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define FILTERSCRIPT
- #if defined FILTERSCRIPT
- new fsgate;
- new bsgate;
- public OnFilterScriptInit()
- {
- //==============put your cars here, all for you===============CARS==============
- //==============================================================================
- //GATES
- //gate
- fsgate = CreateObject(980, -708.092529, 965.329712, 14.245029, 0.0000, 0.0000, 272.3375, 500);
- bsgate = CreateObject(980, -659.069275, 922.952515, 13.906204, 0.0000, 0.0000, 221.6307, 500);
- //other objects
- CreateObject(8153, -687.353394, 945.943115, 14.572392, 1.7189, 0.0000, 179.5182, 500);
- CreateObject(987, -707.279724, 911.567688, 11.418621, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(987, -695.192627, 911.382813, 11.244030, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(987, -683.468140, 911.242432, 11.110306, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(987, -671.547913, 911.204529, 11.132813, 0.0000, 0.0000, 42.9718, 500);
- CreateObject(987, -654.777222, 926.601685, 11.148870, 0.0000, 0.0000, 55.8634, 500);
- CreateObject(987, -648.148926, 936.211060, 11.128724, 0.0000, 0.0000, 103.1324, 500);
- CreateObject(987, -650.832703, 947.432434, 11.132813, 0.0000, 0.0000, 98.8352, 500);
- CreateObject(987, -652.667664, 958.935120, 11.132813, 0.0000, 0.0000, 120.3212, 500);
- CreateObject(987, -658.513184, 969.174927, 11.132813, 0.0000, 0.0000, 110.7633, 500);
- CreateObject(987, -661.664124, 977.280762, 11.132813, 0.0000, 0.0000, 149.4379, 500);
- CreateObject(3576, -671.886414, 933.030396, 12.625485, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3630, -678.565308, 930.262878, 12.625435, 0.0000, 0.0000, 222.4901, 500);
- CreateObject(3264, -747.137756, 734.902771, 17.221397, 0.0000, 0.0000, 17.1887, 500);
- CreateObject(3264, -759.304077, 735.438354, 17.219738, 0.0000, 0.0000, 278.3535, 500);
- CreateObject(3265, -750.895447, 745.734314, 17.291710, 0.0000, 0.0000, 25.7831, 500);
- CreateObject(3265, -592.670227, 1089.247437, 10.531189, 0.0000, 0.0000, 167.5902, 500);
- CreateObject(3264, -597.658936, 1099.371338, 10.512582, 0.0000, 0.0000, 103.1324, 500);
- CreateObject(1550, -685.606873, 960.494263, 11.526155, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(910, -700.039429, 943.283569, 12.615533, 0.0000, 0.0000, 179.5182, 500);
- CreateObject(3794, -674.666260, 945.379578, 11.732214, 0.0000, 0.0000, 346.2490, 500);
- CreateObject(3797, -674.934692, 942.726563, 13.536524, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(16644, -685.569763, 953.659790, 17.613535, 358.2811, 351.4056, 271.4780, 500);
- CreateObject(16782, -683.905823, 971.709900, 15.175919, 0.0000, 0.0000, 269.7591, 500);
- CreateObject(3393, -683.326782, 971.220154, 11.130594, 0.0000, 0.0000, 87.6625, 500);
- CreateObject(3788, -669.480347, 943.572998, 11.652171, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3789, -672.561646, 943.408936, 11.472484, 347.1084, 0.8594, 8.5944, 500);
- CreateObject(3788, -676.170715, 944.155396, 11.652172, 0.0000, 0.0000, 336.7952, 500);
- CreateObject(3786, -676.244324, 944.104126, 11.840304, 0.0000, 0.0000, 330.7792, 500);
- CreateObject(3795, -670.910645, 945.658630, 11.473818, 0.0000, 0.0000, 337.6546, 500);
- CreateObject(987, -708.324951, 959.553894, 11.231031, 0.0000, 0.0000, 265.4620, 500);
- CreateObject(987, -708.805176, 952.622009, 11.454308, 0.0000, 0.0000, 274.0563, 500);
- CreateObject(3279, -703.510193, 977.188416, 11.485794, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3279, -702.834656, 917.045959, 11.449213, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3279, -679.633301, 855.766052, 10.817993, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3279, -621.145508, 1039.937500, 10.520969, 0.0000, 0.0000, 128.9156, 500);
- CreateObject(3279, -732.684204, 938.880615, 9.168814, 0.0000, 297.2611, 278.3535, 500);
- CreateObject(2567, -673.627625, 961.249634, 13.060413, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3761, -679.417053, 960.978760, 13.131794, 0.0000, 0.0000, 269.7591, 500);
- CreateObject(925, -683.842773, 960.977783, 12.194717, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(925, -683.853943, 960.923279, 14.227420, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(964, -680.674805, 970.645813, 11.132813, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(2004, -681.402039, 971.914063, 13.230916, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(5422, -670.275574, 967.240234, 13.145180, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(11327, -692.478821, 966.158386, 15.569205, 0.0000, 73.0521, 0.0000, 500);
- CreateObject(1671, -683.023682, 969.923462, 11.593027, 0.0000, 0.0000, 171.8874, 500);
- CreateObject(628, -692.005859, 970.558533, 13.219860, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(2647, -681.153503, 970.727966, 12.255087, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(2663, -680.944153, 970.417847, 12.353365, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(3392, -687.057861, 971.299072, 11.171688, 0.0000, 0.0000, 85.9437, 500);
- CreateObject(3461, -688.123596, 931.497986, 11.082871, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(1550, -685.290894, 960.904724, 11.513705, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(1550, -685.950623, 960.500793, 11.492589, 0.0000, 30.9397, 343.6707, 500);
- CreateObject(16782, -686.277344, 971.688843, 15.167252, 0.0000, 0.0000, 270.6186, 500);
- CreateObject(3525, -708.628723, 959.418213, 14.978281, 0.0000, 0.0000, 271.4781, 500);
- CreateObject(3525, -708.522949, 971.401672, 15.927313, 0.0000, 0.0000, 268.8997, 500);
- CreateObject(2028, -683.864014, 935.683533, 14.041124, 0.0000, 0.0000, 269.7591, 500);
- CreateObject(1792, -683.227783, 935.842102, 14.530559, 0.0000, 0.0000, 268.0403, 500);
- CreateObject(1750, -683.060852, 972.189331, 13.395037, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(1750, -686.092041, 971.914063, 13.414321, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(1825, -690.961975, 936.734314, 12.610968, 0.0000, 0.0000, 0.0000, 500);
- CreateObject(2814, -691.094360, 936.548706, 13.487732, 0.0000, 0.0000, 198.5300, 500);
- CreateObject(2769, -691.065491, 936.887207, 13.502193, 0.0000, 0.0000, 0.0000, 500);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- //==============================================================================
- public OnPlayerCommandText(playerid, cmdtext[ ])
- //==================================Front gate==================================
- {
- if (strcmp("/fopen", cmdtext, true, 10) == 0)
- {
- fsgate = MoveObject(fsgate, -708.4445,951.8799,12.4685, 2.000000);
- return 1;
- }
- //close
- {
- if(strcmp(cmdtext,"/fclose", true) == 0)
- {
- fsgate = MoveObject(-708.092529, 965.329712, 14.245029, 2.000000);
- return 1;
- }
- }
- //==========================back gate===========================================
- {//open
- if (strcmp("/bopen", cmdtext, true, 10) == 0)
- {
- bsgate = MoveObject(-670.6251,912.6789,12.1273, 1.500000);
- return 1;
- }
- }
- //close
- {
- if(strcmp(cmdtext,"/bclose", true) == 0)
- {
- bsgate = MoveObject(-659.069275, 922.952515, 13.906204, 1.500000);
- return 1;
- }
- return 0;
- }
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment