Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- >>>>>>>>>>>>>>>>>>>>>>> [FS] Vodopadi srece by Miki, v1.0 >>>>>>>>>>>>>>>>>>>>>>
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<< OSTAVITE CREDITS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- */
- // INCLUDE //
- #include <a_samp>
- // FORWARD //
- forward VodopadRadosti(playerid);
- // DEFINE //
- #define MAX_NOVAC 12000//(Ovdje stavite svotu novca koju vi zelite da server daje, ovo je maximalni iznos i davace random pa moze 12k i manje
- #define CRVENA 0xFF0000FF
- #define SCM SendClientMessage
- #define SCMTA SendClientMessageToAll
- // NEW //
- new RandomNovac;
- // POCETAK //
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" FS Vodopadi srece v1.0 by: Miki ");
- print(" FS ");
- print("--------------------------------------\n");
- // TIMERI //
- SetTimer("VodopadRadosti",90000*30,1);
- // REMOVE OBJEKTI // ( Ovo ubacite u vas mod nisam define nista od toga )
- /*RemoveBuildingForPlayer(playerid, 3685, 1249.5547, -905.4609, 45.0313, 0.25);
- RemoveBuildingForPlayer(playerid, 3685, 1287.6875, -900.4609, 45.0625, 0.25);
- RemoveBuildingForPlayer(playerid, 3685, 1284.2031, -871.2969, 45.2734, 0.25);
- RemoveBuildingForPlayer(playerid, 3685, 1245.4609, -874.7031, 45.0703, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1235.8281, -917.5234, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1231.4141, -886.9297, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1241.1953, -886.8438, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1227.6094, -870.8047, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 1294, 1246.4531, -924.3047, 46.2969, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 1294, 1297.4375, -918.6328, 43.5703, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1266.4219, -913.1797, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1308, 1280.2422, -912.5234, 41.3047, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1272.3516, -912.4531, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 3684, 1249.5547, -905.4609, 45.0313, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1263.8828, -894.3516, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1270.9609, -896.6172, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1265.0313, -897.3516, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1271.8672, -892.3672, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1299.5000, -909.1406, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 3684, 1287.6875, -900.4609, 45.0625, 0.25);
- RemoveBuildingForPlayer(playerid, 5847, 1295.8594, -895.0938, 41.7109, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1252.2578, -885.8750, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1262.9844, -882.2188, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 617, 1271.2031, -882.3984, 41.8750, 0.25);
- RemoveBuildingForPlayer(playerid, 1232, 1285.6484, -881.3125, 44.3594, 0.25);
- RemoveBuildingForPlayer(playerid, 3684, 1245.4609, -874.7031, 45.0703, 0.25);
- RemoveBuildingForPlayer(playerid, 3684, 1284.2031, -871.2969, 45.2734, 0.25);*/
- // OBJEKTI //
- CreateObject(7916, 1248.08838, -857.54773, 66.96918, 0.00000, 0.00000, 0.00000);
- CreateObject(8483, 1247.03296, -909.94312, 47.50089, 0.00000, 0.00000, 270.00000);
- CreateObject(8483, 1290.00610, -902.85248, 47.50089, 0.00000, 0.00000, 270.00000);
- CreateObject(7916, 1253.51501, -858.45447, 59.21590, 0.00000, 0.00000, 0.00000);
- CreateObject(7916, 1253.51501, -858.45447, 60.89894, 0.00000, 0.00000, 0.00000);
- CreateObject(7916, 1253.51501, -858.45447, 52.69496, 0.00000, 0.00000, 0.00000);
- CreateObject(9833, 1266.27124, -887.73615, 44.75004, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1229.04370, -867.38440, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1233.81970, -866.53424, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1238.28784, -865.61115, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1230.05383, -871.28973, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1234.43652, -870.63116, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1239.21875, -869.39911, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1243.15796, -864.83667, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1243.48364, -868.07294, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1247.82324, -863.29321, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1248.10498, -866.76678, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1252.25537, -862.30182, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1252.86633, -865.94110, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1257.13379, -861.11731, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1257.61475, -864.39752, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1230.24487, -875.17175, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1230.80847, -878.35266, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1231.15906, -881.11389, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1231.64355, -884.15015, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1235.99170, -883.54883, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1235.40344, -879.87823, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1234.70850, -876.66968, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1234.27380, -873.26904, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1238.45142, -872.56793, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1242.89709, -871.54834, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1247.45813, -870.63989, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1252.21802, -869.70135, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1257.33569, -868.31683, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1258.00879, -871.90778, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1258.01550, -875.08002, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1258.96216, -878.99615, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1253.76062, -872.76532, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1249.31140, -873.82520, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1250.14966, -877.14966, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1250.73975, -880.77380, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1244.75037, -875.05658, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1245.21692, -878.48907, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1246.04810, -881.65259, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1239.66333, -876.08185, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1240.57324, -879.73340, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1241.39490, -883.23724, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1254.13074, -876.37000, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(869, 1254.62671, -880.14655, 42.28136, 0.00000, 0.00000, 0.00000);
- CreateObject(896, 1290.33423, -850.39142, 46.79693, 0.00000, 0.00000, 0.00000);
- CreateObject(751, 1290.48376, -868.23926, 50.21722, 0.00000, 0.00000, 0.00000);
- CreateObject(751, 1272.64221, -868.93481, 50.21722, 0.00000, 0.00000, 0.00000);
- CreateObject(751, 1277.93848, -871.68103, 50.21722, 0.00000, 0.00000, 0.00000);
- CreateObject(880, 1271.30176, -875.54047, 42.18048, 0.00000, 0.00000, 0.00000);
- CreateObject(880, 1289.76025, -867.51605, 42.18048, 0.00000, 0.00000, 0.00000);
- CreateObject(879, 1287.29553, -871.72736, 42.18050, 0.00000, 0.00000, 0.00000);
- CreateObject(879, 1277.27051, -866.57092, 42.18050, 0.00000, 0.00000, 0.00000);
- CreateObject(900, 1242.04199, -854.93579, 42.18050, 0.00000, 0.00000, 0.00000);
- CreateObject(1211, 1271.57385, -905.39008, 42.39844, 356.85840, 0.00000, 3.14159);
- CreateObject(19054, 1267.03198, -866.97131, 42.50000, 9.96000, -40.19999, 0.00000);
- CreateObject(19055, 1284.28406, -858.69342, 42.50000, 85.86000, -133.86000, 0.00000);
- CreateObject(19056, 1273.35840, -858.04498, 43.07180, 0.00000, 0.00000, 0.00000);
- CreateObject(19056, 1265.99609, -860.36060, 43.07180, -7.08000, 22.62000, 146.70000);
- CreateObject(19057, 1280.13940, -869.48187, 43.07180, -250.31996, 45.60000, 0.00000);
- CreateObject(19054, 1271.16614, -856.70129, 52.34388, 9.96000, -40.19999, 0.00000);
- CreateObject(19055, 1257.44958, -861.52228, 61.17740, 9.96000, -40.20000, 0.00000);
- CreateObject(19056, 1240.80933, -863.65448, 61.17740, 9.96000, -40.20000, 0.00000);
- CreateObject(19057, 1253.07849, -855.71179, 61.17740, 32.70000, -146.94000, 51.12000);
- CreateObject(19941, 1260.91711, -853.86346, 66.35549, 0.00000, 0.00000, 0.00000);
- CreateObject(19941, 1252.68408, -861.57184, 66.35549, 0.00000, 0.00000, 0.00000);
- CreateObject(19941, 1245.90625, -859.73132, 66.35549, 0.00000, 0.00000, 0.00000);
- CreateObject(19941, 1251.32739, -863.98364, 66.35549, 0.00000, 0.00000, 0.00000);
- CreateObject(19941, 1263.25134, -859.02277, 66.35549, 0.00000, 0.00000, 0.00000);
- CreateObject(698, 1290.11877, -901.62048, 47.44410, 0.00000, 0.00000, 0.00000);
- CreateObject(698, 1245.30115, -907.70905, 47.44410, 0.00000, 0.00000, 0.00000);
- return 1;
- }
- public VodopadRadosti(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 10, 1144.0874, -929.6754, 43.1901))
- {
- RandomNovac = random(MAX_NOVAC);
- GivePlayerMoney(playerid,RandomNovac);
- SCM(playerid, CRVENA, "Cestitamo!Dobili ste novac od Vodopada Srece!!!.");
- SCMTA(CRVENA,"VODOPADI SRECE SU SE AKTIVIRALI I DAJU NOVAC IGRACIMA OKO SEBE!!!.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment