Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Snickers

By: a guest on Jul 1st, 2009  |  syntax: None  |  size: 7.31 KB  |  views: 426  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <a_samp>
  2. new ufo;
  3.  
  4. #if defined FILTERSCRIPT
  5.  
  6. public OnFilterScriptInit()
  7. {
  8.         print("\n--------------------------------------");
  9.         print(" MoonTravel v0.2");
  10.         print("--------------------------------------\n");
  11.         return 1;
  12. }
  13.  
  14. public OnFilterScriptExit()
  15. {
  16.         return 1;
  17. }
  18.  
  19. #else
  20.  
  21.  
  22. #endif
  23.  
  24. public OnGameModeInit()
  25. {
  26.         CreateObject(3853, -1079.342163, -1003.760620, 132.095886, 0.0000, 0.0000, 0.0000);
  27.         CreateObject(3853, -1079.281982, -1006.155029, 132.098251, 0.0000, 0.0000, 0.0000);
  28.         CreateObject(3853, -1079.296143, -1008.011108, 132.090485, 0.0000, 0.0000, 0.0000);
  29.         CreateObject(1681, -1070.125366, -1013.410950, 253.355652, 0.0000, 0.0000, 0.0000);
  30.         CreateObject(971, -1096.172607, -1005.795349, 128.120667, 0.0000, 0.0000, 90.0000);
  31.         CreateObject(3264, -1077.821289, -1004.899414, 128.218750, 0.0000, 0.0000, 90.0000);
  32.         CreateObject(3265, -1078.006470, -1008.600220, 128.018799, 0.0000, 353.9839, 86.5622);
  33.         CreateObject(13628, -1094.539673, -990.752441, 246.986176, 0.0000, 179.5182, 0.0000);
  34.         CreateObject(16136, -1085.882446, -1007.177734, 128.340668, 0.0000, 0.0000, 90.0000);
  35.         CreateObject(17511, -1095.444824, -1093.963135, 763.856018, 0.0000, 0.0000, 0.0000);
  36.         CreateObject(975, -1080.680298, -1014.993164, 773.123535, 88.5220, 0.0000, 268.2811);
  37.         CreateObject(975, -1080.930298, -1023.493164, 773.123535, 88.5220, 0.0000, 268.2811);
  38.         CreateObject(975, -1079.451538, -1025.562500, 774.079834, 0.0000, 0.0000, 270.0000);
  39.         CreateObject(975, -1079.451538, -1016.062500, 774.079834, 0.0000, 0.0000, 270.0000);
  40.         CreateObject(975, -1082.301880, -1016.062500, 774.079834, 0.0000, 0.0000, 270.0000);
  41.         CreateObject(975, -1082.301880, -1024.786987, 774.079834, 0.0000, 0.0000, 270.0000);
  42.         CreateObject(10828, -1070.537720, -1029.138428, 771.850464, 268.0403, 0.0000, 270.0000);
  43.         CreateObject(10828, -1064.536011, -1032.464478, 772.401001, 268.0403, 0.0000, 247.5000);
  44.         CreateObject(10828, -1096.172607, -1014.501831, 775.058167, 0.0000, 0.0000, 270.0000);
  45.         CreateObject(17033, -1057.403931, -1037.749390, 772.356262, 0.0000, 0.0000, 90.0000);
  46.         CreateObject(17033, -1047.042969, -1050.179321, 772.457458, 0.0000, 0.0000, 78.7500);
  47.         CreateObject(17033, -1038.730957, -1061.157349, 771.667236, 0.0000, 0.0000, 67.5000);
  48.         CreateObject(17033, -1034.093994, -1074.046387, 772.412170, 0.0000, 0.0000, 45.0000);
  49.         CreateObject(17033, -1033.079590, -1086.711304, 772.242432, 0.0000, 0.0000, 45.0000);
  50.         CreateObject(17033, -1032.498169, -1100.112793, 772.976379, 0.0000, 0.0000, 45.0000);
  51.         CreateObject(17033, -1034.902344, -1112.593994, 772.954346, 0.0000, 0.0000, 33.7500);
  52.         CreateObject(17033, -1038.505615, -1125.191040, 773.346497, 0.0000, 0.0000, 33.7500);
  53.         CreateObject(17033, -1046.892578, -1137.141968, 772.570251, 0.0000, 0.0000, 11.2500);
  54.         CreateObject(17033, -1057.472778, -1144.106079, 773.535583, 0.0000, 0.0000, 337.5000);
  55.         CreateObject(17033, -1067.118408, -1150.787720, 774.669495, 0.0000, 0.0000, 337.5000);
  56.         CreateObject(17033, -1080.061279, -1154.804688, 774.823120, 0.0000, 0.0000, 337.5000);
  57.         CreateObject(17033, -1092.379272, -1157.279175, 774.671326, 0.0000, 0.0000, 315.0000);
  58.         CreateObject(17033, -1105.399414, -1154.658325, 775.083740, 0.0000, 0.0000, 292.5000);
  59.         CreateObject(17033, -1119.392700, -1150.319458, 774.393311, 0.0000, 0.0000, 292.5000);
  60.         CreateObject(17033, -1130.670776, -1142.702515, 775.395691, 0.0000, 0.0000, 281.2500);
  61.         CreateObject(17033, -1139.411621, -1133.080933, 775.689209, 0.0000, 0.0000, 270.0000);
  62.         CreateObject(17033, -1145.712646, -1120.105591, 775.447144, 0.0000, 0.0000, 247.5000);
  63.         CreateObject(17033, -1147.142456, -1105.565552, 776.962708, 0.0000, 0.0000, 225.0000);
  64.         CreateObject(17033, -1145.816406, -1092.422729, 777.544189, 0.0000, 0.0000, 225.0000);
  65.         CreateObject(17033, -1142.287842, -1080.824707, 776.943237, 0.0000, 0.0000, 202.5000);
  66.         CreateObject(17033, -1135.704468, -1070.126709, 777.118591, 0.0000, 0.0000, 191.2500);
  67.         CreateObject(17033, -1125.686401, -1059.263184, 777.679688, 0.0000, 0.0000, 180.0000);
  68.         CreateObject(17033, -1120.451538, -1050.561768, 777.083557, 0.0000, 0.0000, 213.7500);
  69.         CreateObject(17033, -1113.140747, -1038.795410, 775.108521, 0.0000, 0.0000, 180.0000);
  70.         CreateObject(17033, -1103.916870, -1029.330566, 774.232483, 0.0000, 0.0000, 157.5000);
  71.         CreateObject(17033, -1092.097900, -1026.394531, 773.172119, 0.0000, 0.0000, 157.5000);
  72.         CreateObject(6295, -1067.288696, -1021.037415, 795.858704, 0.0000, 0.0000, 67.5000);
  73.         CreateObject(3620, -1096.271362, -1106.979004, 792.925354, 0.0000, 0.0000, 0.0000);
  74.         CreateObject(1383, -1077.034790, -1114.379761, 809.220947, 0.0000, 0.0000, 0.0000);
  75.         CreateObject(1384, -1077.063599, -1114.580322, 841.260010, 0.0000, 0.0000, 0.0000);
  76.         CreateObject(934, -1082.374268, -1112.945801, 780.636719, 0.0000, 0.0000, 0.0000);
  77.         CreateObject(929, -1081.885254, -1117.703857, 780.289063, 0.0000, 0.0000, 0.0000);
  78.         CreateObject(3427, -1115.254150, -1091.492920, 779.433228, 0.0000, 0.0000, 0.0000);
  79.         CreateObject(16342, -1093.095337, -1084.071411, 783.286011, 0.0000, 0.0000, 0.0000);
  80.         CreateObject(967, -1082.823242, -1029.996460, 773.370422, 0.0000, 0.0000, 90.0000);
  81.         CreateObject(18274, -1047.893066, -1101.758179, 777.456482, 0.8594, 1.7189, 0.0000);
  82.         CreateObject(18235, -1075.410767, -1088.974365, 779.531250, 357.4217, 0.0000, 258.7500);
  83.         CreateObject(1684, -1115.256714, -1141.756226, 778.417786, 347.1084, 0.0000, 157.5000);
  84.         CreateObject(896, -1078.552124, -1132.820801, 780.159485, 0.0000, 0.0000, 0.0000);
  85.         CreateObject(900, -1108.761108, -1123.656494, 776.084778, 0.0000, 0.0000, 0.0000);
  86.         CreateObject(900, -1074.912598, -1056.849121, 777.248291, 0.0000, 0.0000, 0.0000);
  87.         CreateObject(906, -1100.988159, -1105.213867, 781.344299, 0.0000, 0.0000, 0.0000);
  88.         CreateObject(906, -1060.822144, -1079.467773, 777.962097, 0.0000, 0.0000, 0.0000);
  89.         CreateObject(906, -1101.439209, -1071.256470, 779.372009, 0.0000, 0.0000, 0.0000);
  90.         CreateObject(17511, -1095.444824, -1093.963135, 749.856018, 177.7994, 0.0000, 0.0000);
  91.         CreateObject(10828, -1092.418579, -1020.675049, 769.993652, 0.0000, 0.0000, 180.0000);
  92.         CreateObject(10828, -1092.418579, -1020.675049, 758.493652, 0.0000, 0.0000, 180.0000);
  93.         CreateObject(10828, -1076.189331, -1011.886963, 772.422363, 0.0000, 0.0000, 90.0000);
  94.         CreateObject(10828, -1087.238403, -996.156128, 773.920044, 0.0000, 0.0000, 360.0000);
  95.        
  96.         ufo = CreateObject(18267, -1090.969482, -1011.279175, 128.153824, 0.0000, 0.0000, 0.0000);
  97. }
  98.  
  99.  
  100. public OnPlayerText(playerid, text[])
  101. {
  102.         return 1;
  103. }
  104.  
  105. public OnPlayerPrivmsg(playerid, recieverid, text[])
  106. {
  107.         return 1;
  108. }
  109.  
  110. public OnPlayerCommandText(playerid, cmdtext[])
  111. {
  112.         if (strcmp(cmdtext, "/up", true) == 0)
  113.         {
  114.                 MoveObject(ufo, -1090.969482, -1011.279175, 774.153824, 3);
  115.             SendClientMessage(playerid, 0xDEEE20FF, "To the moon!");
  116.                 return 1;
  117.         }
  118.        
  119.         if (strcmp(cmdtext, "/down", true) == 0)
  120.         {
  121.                 MoveObject(ufo, -1090.969482, -1011.279175, 128.153824, 5);
  122.         SendClientMessage(playerid, 0xDEEE20FF, "Back to Earth!");
  123.                 return 1;
  124.         }
  125.        
  126.         if (strcmp(cmdtext, "/moonhelp", true) == 0)
  127.         {
  128.         SendClientMessage(playerid, 0xDEEE20FF, "[Snickers Moon Travel FS HELP]");
  129.         SendClientMessage(playerid, 0xDEEE20FF, "/up to go to the moon!");
  130.         SendClientMessage(playerid, 0xDEEE20FF, "/down to get back to Earth!");
  131.         SendClientMessage(playerid, 0xDEEE20FF, "Filterscript made by: [M]Snickers");
  132.                 return 1;
  133.         }
  134.         return 0;
  135. }