Guest User

[FS/MAP] Horror Camp

a guest
Jun 20th, 2010
797
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. //Made by Juriaan (Henkiee on sa-mp forums)
  2.  
  3. #include <a_samp>
  4.  
  5. #define COLOR_YELLOW 0xFFFF00FF
  6. #define COLOR_BLUE 0x2641FEAA
  7. #define COLOR_WHITE 0xFFFFFFFF
  8. #define COLOR_GREEN 0x008000FF
  9.  
  10. new ontvangst; //The house to get your spot and where you pay
  11. new staplaats; //The standing spot
  12. new mist; //The mist
  13.  
  14.  
  15. main()
  16. {
  17. print("\n Henks\n");
  18. print("\n Horror\n");
  19. print("\n Campsite\n");
  20. print("\n Loading...Please wait\n");
  21. print("\n Campsite loaded have fun!\n");
  22. }
  23.  
  24. public OnFilterScriptInit()
  25. {
  26. ontvangst = CreatePickup(1239, 2, -2031.1273193359, -1512.4567871094, 126.078125, -1);
  27. mist = CreatePickup(1254, 2, -1985.3446044922, -1612.7951660156, 140.57995605469, -1);
  28.  
  29. CreateObject(3171, -2022.2153320313, -1532.9779052734, 124.99130249023, 0, 0, 0);
  30. CreateObject(3170, -2016.0356445313, -1552.7243652344, 127.80000305176, 0, 0, 90);
  31. CreateObject(3461, -2023.6940917969, -1529.1948242188, 126.45478820801, 0, 0, 0);
  32. CreateObject(3461, -2023.1737060547, -1552.0805664063, 130.15475463867, 0, 0, 0);
  33. CreateObject(3380, -2024.9249267578, -1456.1627197266, 88.456413269043, 0, 0, 50);
  34. CreateObject(1215, -2009.9323730469, -1513.7038574219, 84.506546020508, 0, 0, 0);
  35. CreateObject(1215, -1986.8619384766, -1473.3055419922, 85.15552520752, 0, 0, 0);
  36. CreateObject(1215, -2023.5979003906, -1457.3514404297, 88.539031982422, 0, 0, 0);
  37. CreateObject(1215, -2052.9333496094, -1412.8778076172, 107.41440582275, 0, 0, 0);
  38. CreateObject(1215, -2044.8549804688, -1461.8941650391, 112.75296020508, 0, 0, 0);
  39. CreateObject(1215, -2049.2136230469, -1498.4603271484, 123.00070953369, 0, 0, 0);
  40. CreateObject(3749, -2046.2729492188, -1493.4888916016, 124, 0, 6, 10);
  41. CreateObject(3461, -2053.4853515625, -1491.9969482422, 129.84754943848, 0, 0, 0);
  42. CreateObject(3461, -2042.4780273438, -1489.3934326172, 128.09832763672, 0, 0, 0);
  43. CreateObject(3414, -1974.7813720703, -1517.3360595703, 127.58106231689, 0, 0, 340);
  44. CreateObject(1681, -1991.8746337891, -1502, 111.52285766602, 10, 40, 130);
  45. CreateObject(2780, -1992.5512695313, -1497.5535888672, 112.87685394287, 0, 0, 0);
  46. CreateObject(1215, -1992.1180419922, -1497.8031005859, 106.07555389404, 0, 0, 0);
  47. CreateObject(1215, -1993.5762939453, -1501.8077392578, 112.51386260986, 0, 0, 0);
  48. CreateObject(3403, -2007.7677001953, -1537.0322265625, 129.16732788086, 0, 0, 0);
  49. CreateObject(14873, -2009.3958740234, -1536.8698730469, 126.79339599609, 0, 0, 0);
  50. CreateObject(18267, -2027.8757324219, -1510.0802001953, 125, 0, 0, 210);
  51. CreateObject(3092, -2042.5200195313, -1489.087890625, 128.08822631836, 0, 0, 0);
  52. CreateObject(3092, -2053.53125, -1491.69140625, 130.41937255859, 0, 0, 0);
  53. CreateObject(911, -2036.5903320313, -1478.9276123047, 119.50814056396, 340, 350, 270);
  54. CreateObject(3010, -2038.2397460938, -1506.1785888672, 124, 90, 0, 0);
  55. CreateObject(3008, -2038.6408691406, -1506.7604980469, 124.12000274658, 0, 0, 0);
  56. CreateObject(3007, -2038.8099365234, -1506.2886962891, 123.90000152588, 0, 0, 0);
  57. CreateObject(2780, -1994.4114990234, -1609.6091308594, 139.50823974609, 0, 0, 0);
  58. CreateObject(2780, -1988.3999023438, -1608.5045166016, 138.82402038574, 0, 0, 0);
  59. CreateObject(2780, -1981.4705810547, -1610.2512207031, 138.66625976563, 0, 0, 0);
  60. CreateObject(2607, -2031.0776367188, -1511.6873779297, 125.30000305176, 7, 5, 0);
  61. }
  62.  
  63. public OnPlayerCommandText(playerid, cmdtext[])
  64. {
  65. if (strcmp("/campinginfo", cmdtext, true, 10) == 0) //The folder
  66. {
  67. SendClientMessage(playerid, COLOR_YELLOW, "Camping Folder");
  68. SendClientMessage(playerid, COLOR_YELLOW, "Beautiful camping with red sundowns ");
  69. SendClientMessage(playerid, COLOR_YELLOW, "Because you know what they say Red sky at morning Sailors warning ");
  70. SendClientMessage(playerid, COLOR_YELLOW, "Red sky at night Sailors Delight! ");
  71. SendClientMessage(playerid, COLOR_YELLOW, "And we got great things to offer you! like: Riding bikes on Mount Chiliad ");
  72. SendClientMessage(playerid, COLOR_YELLOW, "And wonderfull walking paths! ");
  73. SendClientMessage(playerid, COLOR_YELLOW, "So come visit us just walk into the Wooden Cabin and get your spot!! ");
  74. return 1;
  75. }
  76. if (strcmp("/camping", cmdtext, true, 10) == 0) //Just a tele to check it out :P
  77. {
  78. SetPlayerPos(playerid, -1986.8619384766, -1473.3055419922, 85.15552520752);
  79. return 1;
  80. }
  81. return 0;
  82. }
  83.  
  84. public OnPlayerPickUpPickup(playerid, pickupid)
  85. {
  86. if(pickupid == staplaats)
  87. {
  88. SendClientMessage(playerid, COLOR_BLUE, "This is the spot! Stay here maybe you can join us with the walk or riding bikes tommorow ");
  89. }
  90. if(pickupid == mist)
  91. {
  92. SendClientMessage(playerid, COLOR_WHITE, "What did they told you!? Stay out of the mist! Well now you have got eaten by... Well something... ");
  93. SetPlayerHealth(playerid, 0);
  94. }
  95. if(pickupid == ontvangst)
  96. {
  97. SendClientMessage(playerid, COLOR_GREEN, "Old man: Well hello there son");
  98. SendClientMessage(playerid, COLOR_GREEN, "Old man: I See you want to camp?");
  99. SendClientMessage(playerid, COLOR_GREEN, "Old man: Well we still got room...");
  100. SendClientMessage(playerid, COLOR_GREEN, "Old man: Over there at the bushes");
  101. SendClientMessage(playerid, COLOR_GREEN, "Old man: But... Stay out of that mist");
  102. SendClientMessage(playerid, COLOR_GREEN, "Old man: Nobody ever came back and nobody knows whats in it");
  103. SendClientMessage(playerid, COLOR_GREEN, "Go to the White arrow to camp. Camping cost: 25$");//make it as expensive as you want!
  104. GivePlayerMoney(playerid, -25); //But change this to!
  105. staplaats = CreatePickup(1318, 2, -1987.8571777344, -1564.9916992188, 130.31297302246, -1);
  106. DestroyPickup(staplaats);
  107. }
  108. return 1;
  109. }
Advertisement
Add Comment
Please, Sign In to add comment