Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- new LSABgate;
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print("Los Santos Admin Base");
- print("--------------------------------------\n");
- CreateObject(5147, 1992.180176, -2798.047607, 11.501095, 0.000000, 0.000000, 89.999981276); //
- CreateObject(5147, 1992.180176, -3021.426025, 11.498608, 0.000000, 0.000000, -89.999981276); //
- CreateObject(5184, 1938.247192, -3119.852783, 20.587984, 0.000000, 0.000000, -180.000019848); //
- CreateObject(5184, 1938.368652, -3144.697510, 20.590483, 0.000000, 0.000000, -359.999925104); //
- CreateObject(5184, 1938.368652, -3211.750244, 20.587984, 0.000000, 0.000000, -359.999925104); //
- CreateObject(5184, 1938.193481, -3188.006104, 20.562984, 0.000000, 0.000000, -539.99983036); //
- CreateObject(6286, 1899.694702, -3109.528076, 6.829236, 0.000000, 0.000000, 0.000000); //
- CreateObject(6921, 1932.715576, -3108.084229, 3.511579, 0.000000, 0.000000, 0.000000); //
- CreateObject(7287, 1962.590698, -3113.897705, 5.759590, 0.000000, 0.000000, -89.999981276); //
- CreateObject(7533, 1981.613770, -3206.176758, 4.840764, 0.000000, 0.000000, 44.999990638); //
- CreateObject(7885, 1915.296753, -3208.904297, 1.528287, 0.000000, 0.000000, -89.999981276); //
- CreateObject(7940, 1889.540771, -3145.578857, 4.488554, 0.000000, 0.000000, 89.999981276); //
- CreateObject(8437, 1882.226440, -3176.685059, 7.526424, 0.000000, 0.000000, -89.999981276); //
- CreateObject(8493, 2057.190186, -3177.838379, 13.737560, 0.000000, 0.000000, 44.999990638); //
- CreateObject(9623, 1992.728027, -3109.736572, 4.451958, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 1938.086304, -3166.439209, 1.901832, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 1960.336670, -3198.389893, 1.949331, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 1909.864258, -3165.108398, 1.951830, 0.000000, 0.000000, 0.000000); //
- CreateObject(3472, 1976.637207, -3160.726807, 1.876828, 0.000000, 0.000000, 0.000000); //
- CreateObject(3749, 1992.223267, -2911.519043, 19.224209, 0.000000, 0.000000, 0.000000); //
- LSABgate = CreateObject(16775, 1992.507080, -2911.203125, 17.534981, 0.000000, 0.000000, -180.000019848); //
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/lsabo", true) == 0)
- {
- MoveObject(LSABgate, 1992.507080, -2911.203125, 22.409960, 3);
- SendClientMessage(playerid, 0xE50000FF, "Gate opened");
- return 1;
- }
- if(strcmp(cmdtext, "/lsabc", true ) == 0 )
- {
- MoveObject(LSABgate, 1992.507080, -2911.203125, 17.534981, 3);
- SendClientMessage(playerid, 0xE50000FF, "Gate closed");
- return 1;
- }
- return 0;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment