Guest User

LS Admin base

a guest
Mar 6th, 2010
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. new LSABgate;
  4.  
  5. public OnFilterScriptInit()
  6. {
  7. print("\n--------------------------------------");
  8. print("Los Santos Admin Base");
  9. print("--------------------------------------\n");
  10.  
  11. CreateObject(5147, 1992.180176, -2798.047607, 11.501095, 0.000000, 0.000000, 89.999981276); //
  12. CreateObject(5147, 1992.180176, -3021.426025, 11.498608, 0.000000, 0.000000, -89.999981276); //
  13. CreateObject(5184, 1938.247192, -3119.852783, 20.587984, 0.000000, 0.000000, -180.000019848); //
  14. CreateObject(5184, 1938.368652, -3144.697510, 20.590483, 0.000000, 0.000000, -359.999925104); //
  15. CreateObject(5184, 1938.368652, -3211.750244, 20.587984, 0.000000, 0.000000, -359.999925104); //
  16. CreateObject(5184, 1938.193481, -3188.006104, 20.562984, 0.000000, 0.000000, -539.99983036); //
  17. CreateObject(6286, 1899.694702, -3109.528076, 6.829236, 0.000000, 0.000000, 0.000000); //
  18. CreateObject(6921, 1932.715576, -3108.084229, 3.511579, 0.000000, 0.000000, 0.000000); //
  19. CreateObject(7287, 1962.590698, -3113.897705, 5.759590, 0.000000, 0.000000, -89.999981276); //
  20. CreateObject(7533, 1981.613770, -3206.176758, 4.840764, 0.000000, 0.000000, 44.999990638); //
  21. CreateObject(7885, 1915.296753, -3208.904297, 1.528287, 0.000000, 0.000000, -89.999981276); //
  22. CreateObject(7940, 1889.540771, -3145.578857, 4.488554, 0.000000, 0.000000, 89.999981276); //
  23. CreateObject(8437, 1882.226440, -3176.685059, 7.526424, 0.000000, 0.000000, -89.999981276); //
  24. CreateObject(8493, 2057.190186, -3177.838379, 13.737560, 0.000000, 0.000000, 44.999990638); //
  25. CreateObject(9623, 1992.728027, -3109.736572, 4.451958, 0.000000, 0.000000, 0.000000); //
  26. CreateObject(3472, 1938.086304, -3166.439209, 1.901832, 0.000000, 0.000000, 0.000000); //
  27. CreateObject(3472, 1960.336670, -3198.389893, 1.949331, 0.000000, 0.000000, 0.000000); //
  28. CreateObject(3472, 1909.864258, -3165.108398, 1.951830, 0.000000, 0.000000, 0.000000); //
  29. CreateObject(3472, 1976.637207, -3160.726807, 1.876828, 0.000000, 0.000000, 0.000000); //
  30. CreateObject(3749, 1992.223267, -2911.519043, 19.224209, 0.000000, 0.000000, 0.000000); //
  31. LSABgate = CreateObject(16775, 1992.507080, -2911.203125, 17.534981, 0.000000, 0.000000, -180.000019848); //
  32.  
  33. return 1;
  34. }
  35. public OnPlayerCommandText(playerid, cmdtext[])
  36. {
  37. if(strcmp(cmdtext, "/lsabo", true) == 0)
  38. {
  39. MoveObject(LSABgate, 1992.507080, -2911.203125, 22.409960, 3);
  40. SendClientMessage(playerid, 0xE50000FF, "Gate opened");
  41. return 1;
  42. }
  43.  
  44. if(strcmp(cmdtext, "/lsabc", true ) == 0 )
  45. {
  46. MoveObject(LSABgate, 1992.507080, -2911.203125, 17.534981, 3);
  47. SendClientMessage(playerid, 0xE50000FF, "Gate closed");
  48. return 1;
  49. }
  50. return 0;
  51. }
  52.  
  53. public OnFilterScriptExit()
  54. {
  55. return 1;
  56. }
Advertisement
Add Comment
Please, Sign In to add comment