Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Made by Juriaan (Henkiee on sa-mp forums)
- #include <a_samp>
- #define COLOR_YELLOW 0xFFFF00FF
- #define COLOR_BLUE 0x2641FEAA
- #define COLOR_WHITE 0xFFFFFFFF
- #define COLOR_GREEN 0x008000FF
- new ontvangst; //The house to get your spot and where you pay
- new staplaats; //The standing spot
- new mist; //The mist
- main()
- {
- print("\n Henks\n");
- print("\n Horror\n");
- print("\n Campsite\n");
- print("\n Loading...Please wait\n");
- print("\n Campsite loaded have fun!\n");
- }
- public OnFilterScriptInit()
- {
- ontvangst = CreatePickup(1239, 2, -2031.1273193359, -1512.4567871094, 126.078125, -1);
- mist = CreatePickup(1254, 2, -1985.3446044922, -1612.7951660156, 140.57995605469, -1);
- CreateObject(3171, -2022.2153320313, -1532.9779052734, 124.99130249023, 0, 0, 0);
- CreateObject(3170, -2016.0356445313, -1552.7243652344, 127.80000305176, 0, 0, 90);
- CreateObject(3461, -2023.6940917969, -1529.1948242188, 126.45478820801, 0, 0, 0);
- CreateObject(3461, -2023.1737060547, -1552.0805664063, 130.15475463867, 0, 0, 0);
- CreateObject(3380, -2024.9249267578, -1456.1627197266, 88.456413269043, 0, 0, 50);
- CreateObject(1215, -2009.9323730469, -1513.7038574219, 84.506546020508, 0, 0, 0);
- CreateObject(1215, -1986.8619384766, -1473.3055419922, 85.15552520752, 0, 0, 0);
- CreateObject(1215, -2023.5979003906, -1457.3514404297, 88.539031982422, 0, 0, 0);
- CreateObject(1215, -2052.9333496094, -1412.8778076172, 107.41440582275, 0, 0, 0);
- CreateObject(1215, -2044.8549804688, -1461.8941650391, 112.75296020508, 0, 0, 0);
- CreateObject(1215, -2049.2136230469, -1498.4603271484, 123.00070953369, 0, 0, 0);
- CreateObject(3749, -2046.2729492188, -1493.4888916016, 124, 0, 6, 10);
- CreateObject(3461, -2053.4853515625, -1491.9969482422, 129.84754943848, 0, 0, 0);
- CreateObject(3461, -2042.4780273438, -1489.3934326172, 128.09832763672, 0, 0, 0);
- CreateObject(3414, -1974.7813720703, -1517.3360595703, 127.58106231689, 0, 0, 340);
- CreateObject(1681, -1991.8746337891, -1502, 111.52285766602, 10, 40, 130);
- CreateObject(2780, -1992.5512695313, -1497.5535888672, 112.87685394287, 0, 0, 0);
- CreateObject(1215, -1992.1180419922, -1497.8031005859, 106.07555389404, 0, 0, 0);
- CreateObject(1215, -1993.5762939453, -1501.8077392578, 112.51386260986, 0, 0, 0);
- CreateObject(3403, -2007.7677001953, -1537.0322265625, 129.16732788086, 0, 0, 0);
- CreateObject(14873, -2009.3958740234, -1536.8698730469, 126.79339599609, 0, 0, 0);
- CreateObject(18267, -2027.8757324219, -1510.0802001953, 125, 0, 0, 210);
- CreateObject(3092, -2042.5200195313, -1489.087890625, 128.08822631836, 0, 0, 0);
- CreateObject(3092, -2053.53125, -1491.69140625, 130.41937255859, 0, 0, 0);
- CreateObject(911, -2036.5903320313, -1478.9276123047, 119.50814056396, 340, 350, 270);
- CreateObject(3010, -2038.2397460938, -1506.1785888672, 124, 90, 0, 0);
- CreateObject(3008, -2038.6408691406, -1506.7604980469, 124.12000274658, 0, 0, 0);
- CreateObject(3007, -2038.8099365234, -1506.2886962891, 123.90000152588, 0, 0, 0);
- CreateObject(2780, -1994.4114990234, -1609.6091308594, 139.50823974609, 0, 0, 0);
- CreateObject(2780, -1988.3999023438, -1608.5045166016, 138.82402038574, 0, 0, 0);
- CreateObject(2780, -1981.4705810547, -1610.2512207031, 138.66625976563, 0, 0, 0);
- CreateObject(2607, -2031.0776367188, -1511.6873779297, 125.30000305176, 7, 5, 0);
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/campinginfo", cmdtext, true, 10) == 0) //The folder
- {
- SendClientMessage(playerid, COLOR_YELLOW, "Camping Folder");
- SendClientMessage(playerid, COLOR_YELLOW, "Beautiful camping with red sundowns ");
- SendClientMessage(playerid, COLOR_YELLOW, "Because you know what they say Red sky at morning Sailors warning ");
- SendClientMessage(playerid, COLOR_YELLOW, "Red sky at night Sailors Delight! ");
- SendClientMessage(playerid, COLOR_YELLOW, "And we got great things to offer you! like: Riding bikes on Mount Chiliad ");
- SendClientMessage(playerid, COLOR_YELLOW, "And wonderfull walking paths! ");
- SendClientMessage(playerid, COLOR_YELLOW, "So come visit us just walk into the Wooden Cabin and get your spot!! ");
- return 1;
- }
- if (strcmp("/camping", cmdtext, true, 10) == 0) //Just a tele to check it out :P
- {
- SetPlayerPos(playerid, -1986.8619384766, -1473.3055419922, 85.15552520752);
- return 1;
- }
- return 0;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == staplaats)
- {
- SendClientMessage(playerid, COLOR_BLUE, "This is the spot! Stay here maybe you can join us with the walk or riding bikes tommorow ");
- }
- if(pickupid == mist)
- {
- SendClientMessage(playerid, COLOR_WHITE, "What did they told you!? Stay out of the mist! Well now you have got eaten by... Well something... ");
- SetPlayerHealth(playerid, 0);
- }
- if(pickupid == ontvangst)
- {
- SendClientMessage(playerid, COLOR_GREEN, "Old man: Well hello there son");
- SendClientMessage(playerid, COLOR_GREEN, "Old man: I See you want to camp?");
- SendClientMessage(playerid, COLOR_GREEN, "Old man: Well we still got room...");
- SendClientMessage(playerid, COLOR_GREEN, "Old man: Over there at the bushes");
- SendClientMessage(playerid, COLOR_GREEN, "Old man: But... Stay out of that mist");
- SendClientMessage(playerid, COLOR_GREEN, "Old man: Nobody ever came back and nobody knows whats in it");
- SendClientMessage(playerid, COLOR_GREEN, "Go to the White arrow to camp. Camping cost: 25$");//make it as expensive as you want!
- GivePlayerMoney(playerid, -25); //But change this to!
- staplaats = CreatePickup(1318, 2, -1987.8571777344, -1564.9916992188, 130.31297302246, -1);
- DestroyPickup(staplaats);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment