Advertisement
Guest User

SWKOTOR

a guest
Mar 24th, 2009
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3.  
  4.  
  5. new fbi1;
  6. new fbi2;
  7.  
  8. #define FILTERSCRIPT
  9. #define COLOR_GREEN 0xA1FFB9FF
  10. #define COLOR_WHITE 0xFFFFFFFF
  11. #define COLOR_GOLD 0xD3A400FF
  12. #define COLOR_RED 0xFFFF00AA
  13.  
  14. forward timer();
  15.  
  16. public OnPlayerConnect(playerid)
  17. {
  18. SendClientMessage(playerid,COLOR_GREEN, "FBI BASE");
  19. }
  20.  
  21.  
  22. public OnFilterScriptInit()
  23. {
  24.  
  25. CreateObject(972, 1577.355347, -1756.571167, 3.167892, 0.0000, 0.0000, 0.0000);
  26. CreateObject(972, 1746.405640, -1797.352539, 2.906256, 0.0000, 0.0000, 348.7500);
  27.  
  28. CreateObject(8172, 1628.719482, -1763.779297, 11.892164, 0.0000, 0.0000, 258.7500);
  29. CreateObject(9241, 1661.606445, -1772.609741, 13.585443, 0.0000, 0.0000, 258.7500);
  30. CreateObject(972, 1576.661865, -1760.162720, 12.535290, 0.0000, 0.0000, 0.0000);
  31. CreateObject(973, 1580.176392, -1768.434448, 13.133118, 0.0000, 0.0000, 90.0000);
  32.  
  33.  
  34. CreateObject(1455, 1682.330322, -1784.119263, 12.618564, 0.0000, 0.0000, 0.0000);
  35. CreateObject(1486, 1678.939209, -1782.646240, 13.611809, 0.0000, 0.0000, 0.0000);
  36. CreateObject(643, 1621.802246, -1769.684814, 3.430156, 0.0000, 0.0000, 0.0000);
  37. CreateObject(1256, 1629.423462, -1772.506958, 3.619141, 0.0000, 0.0000, 258.7500);
  38. CreateObject(1256, 1613.467285, -1769.041626, 3.612581, 0.0000, 0.0000, 258.7500);
  39. CreateObject(1281, 1638.188843, -1762.651367, 3.753507, 0.0000, 0.0000, 0.0000);
  40. CreateObject(1726, 1604.713135, -1753.349976, 2.952099, 0.0000, 0.0000, 348.7500);
  41. CreateObject(1726, 1607.836792, -1753.990356, 2.952099, 0.0000, 0.0000, 348.7500);
  42. CreateObject(1726, 1603.686890, -1755.893433, 2.945540, 0.0000, 0.0000, 78.7500);
  43. CreateObject(1726, 1610.072021, -1755.237549, 2.952099, 0.0000, 0.0000, 258.7500);
  44. CreateObject(1727, 1605.688965, -1758.160034, 2.945553, 0.0000, 0.0000, 168.7500);
  45. CreateObject(1727, 1608.000977, -1758.740356, 2.945553, 0.0000, 0.0000, 168.7501);
  46. CreateObject(1848, 1591.138306, -1762.880981, 2.951671, 0.0000, 0.0000, 168.7500);
  47. CreateObject(3391, 1655.001831, -1765.167236, 2.962083, 0.0000, 0.0000, 78.7500);
  48. CreateObject(3392, 1658.394409, -1766.604248, 2.963739, 0.0000, 0.0000, 56.2500);
  49. CreateObject(3393, 1651.392822, -1765.890625, 2.954986, 0.0000, 0.0000, 123.7500);
  50. CreateObject(2780, 1618.303101, -1723.127686, 1.558439, 0.0000, 0.0000, 0.0000);
  51. CreateObject(1663, 1657.555908, -1767.327148, 3.418924, 0.0000, 0.0000, 146.2500);
  52. CreateObject(1663, 1652.292847, -1767.246094, 3.417638, 0.0000, 0.0000, 213.7500);
  53. CreateObject(1663, 1654.612549, -1766.609619, 3.418205, 0.0000, 0.0000, 168.7501);
  54. return 1;
  55. }
  56.  
  57.  
  58. public OnFilterScriptExit()
  59. {
  60. return 1;
  61. }
  62.  
  63.  
  64.  
  65. main()
  66. {
  67. print(" ^^");
  68. }
  69.  
  70.  
  71.  
  72. public OnGameModeInit()
  73. {
  74. fbi1 = CreateObject(980, 1618.643433, -1724.737671, 5.644395, 0.0000, 0.0000, 0.0000);
  75. fbi2 = CreateObject(974, 1678.955078, -1788.072876, 15.327768, 0.0000, 0.0000, 270.0000);
  76. }
  77.  
  78.  
  79. public OnPlayerCommandText(playerid, cmdtext[])
  80. {
  81. if(strcmp(cmdtext, "/fbiopen", true) == 0)
  82. {
  83.  
  84. MoveObject(fbi1,1618.643433, -1724.737671, -3.243238, 5.00);
  85. SetTimer("timer", 5000, 0);
  86.  
  87. SendClientMessage(playerid,COLOR_GREEN, "**Das FBI-Tor �ffnet sich.");
  88. return 1;
  89. }
  90.  
  91. if(strcmp(cmdtext, "/fbihopen", true) == 0)
  92. {
  93. MoveObject(fbi2,1678.955078, -1788.072876, 88.7209, 2.00);
  94. SendClientMessage(playerid, COLOR_GREEN, "**Das FBI-Helitor �ffnet sich.");
  95. SetTimer("timer", 5000, 0);
  96. return 1;
  97. }
  98.  
  99. return 0;
  100. }
  101.  
  102.  
  103. public timer()
  104. {
  105. MoveObject (fbi1,1618.643433, -1724.737671, 5.644395,5.00);
  106. MoveObject (fbi2,1678.955078, -1788.072876, 15.327768,5.00);
  107. return 1;
  108.  
  109. }
  110.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement