Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,021
» Latest member: geppetog
» Forum threads: 2,349
» Forum posts: 12,234
Full Statistics
|
Online Users |
There are currently 323 online users. » 0 Member(s) | 318 Guest(s) Bing, Yandex, Google, Applebot, DuckDuckGo
|
|
|
SAMP - Eiffel Tower |
Posted by: alexsusco360 - 2023-07-06, 11:11 AM - Forum: Maps
- Replies (3)
|
 |
![[Image: 1685305005_1685304796_Z.jpg]](https://www.gtainside.com/downloads/picr/2023-05/1685305005_1685304796_Z.jpg)
![[Image: 1685305005_1685304796_X.jpg]](https://www.gtainside.com/downloads/picr/2023-05/1685305005_1685304796_X.jpg)
![[Image: 1685305005_1685304796_TTT.jpg]](https://www.gtainside.com/downloads/picr/2023-05/1685305005_1685304796_TTT.jpg)
Code: new objme;
CreateDynamicObject(3867, 975.336609, 2421.952637, 40.932564, 269.863190, 0.000000, 89.140503,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(974, 948.788574, 2439.683350, 9.874555, 90.240898, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 937.190552, 2446.233887, 40.757469, 269.863190, 0.000000, 0.618600,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 996.003296, 2407.567139, 9.430106, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 983.139526, 2418.655518, 9.543270, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 967.989563, 2424.140869, 83.613358, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 988.146240, 2416.878906, 27.576044, 324.763092, 0.000000, 0.515300,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 940.293091, 2441.247070, 83.640892, 0.000000, 0.000000, 90.136803,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 917.880005, 2457.949951, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 963.331848, 2429.113525, 81.166695, 268.144196, 0.000000, 180.377594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 988.600342, 2418.670898, 9.543266, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 926.582336, 2456.189697, 24.916952, 0.000000, 42.112400, 90.000099,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 937.836975, 2450.026367, 51.757515, 352.265106, 0.000000, 269.759094,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(5268, 956.958069, 2440.472900, 42.678028, 0.000000, 0.000000, 315.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 944.957642, 2443.193115, 81.024948, 268.144196, 0.000000, 90.033897,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 995.982910, 2414.877686, 9.543262, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 984.270020, 2425.000000, 19.799999, -18.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 946.815063, 2441.250977, 90.603653, 356.562286, 0.000000, 268.658813,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 939.865845, 2449.963623, 66.731956, 352.265106, 0.000000, 269.759094,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 922.500000, 2463.709961, 16.360001, 35.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 921.878113, 2464.467773, 10.343254, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 975.789062, 2431.929443, 52.223862, 352.265106, 0.000000, 89.277397,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 919.107178, 2467.859863, 10.368250, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 973.729797, 2431.894531, 67.098709, 352.265106, 0.000000, 89.277397,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 973.200562, 2429.137451, 81.192711, 268.144196, 0.000000, 180.377594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 993.349121, 2418.636475, 9.543262, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 938.023682, 2459.497803, 40.707497, 269.863190, 0.000000, 269.518311,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 927.075989, 2465.752441, 26.882545, 324.763092, 0.000000, 180.377808,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(974, 957.160950, 2442.099365, 81.161102, 90.240898, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 929.591248, 2464.418701, 10.393261, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 973.297424, 2429.914795, 83.647369, 0.000000, 0.000000, 271.477997,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 940.273804, 2452.750488, 83.626900, 0.000000, 0.000000, 90.136803,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 940.291809, 2453.484619, 80.989571, 269.863098, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 988.360962, 2426.930664, 24.041962, 0.000000, 42.112400, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 968.929138, 2436.432373, 80.949799, 268.144196, 0.000000, 270.515015,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 947.965637, 2441.133789, 112.988747, 357.421692, 0.000000, 268.658813,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 926.170288, 2471.437500, 19.107576, 324.763092, 0.000000, 270.515411,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 935.080017, 2466.949951, 13.000000, 55.000000, 0.000000, 269.579987,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 976.793579, 2440.270264, 40.932434, 269.863190, 0.000000, 0.618600,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 934.491272, 2467.151367, 10.368254, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 927.043884, 2471.512939, 18.990957, 324.763092, 0.000000, 180.377808,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 995.059998, 2425.830078, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(988, 957.172058, 2448.808594, 81.170280, 90.240898, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 919.141113, 2475.783691, 10.393257, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 952.099182, 2453.702637, 80.990746, 268.144196, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 968.769836, 2442.450684, 80.969124, 268.144196, 0.000000, 270.515015,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 966.899109, 2441.500244, 90.848755, 356.562286, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 931.615967, 2472.038574, 26.864754, 324.763092, 0.000000, 270.515411,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 945.971558, 2458.799561, 83.616440, 0.000000, 0.000000, 182.955902,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 956.799805, 2459.238281, 40.707481, 269.863190, 0.000000, 269.518311,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 973.092102, 2441.333496, 83.720924, 0.000000, 0.000000, 271.477997,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(988, 957.221069, 2453.531982, 81.198914, 90.240898, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(969, 947.909790, 2433.261719, 148.061752, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 934.484253, 2473.342529, 10.402966, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 924.323120, 2478.454590, 10.368265, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 987.515442, 2439.906250, 37.829773, 87.662498, 0.000000, 90.377800,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 995.239990, 2433.739990, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 987.919128, 2439.932617, 39.567459, 43.075600, 0.859400, 270.756104,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 948.993408, 2441.093018, 135.551880, 357.421692, 0.000000, 268.658813,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 961.331177, 2453.806152, 80.948456, 268.144196, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 975.515869, 2449.270752, 52.207176, 352.265106, 0.000000, 92.715202,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 943.382568, 2471.436279, 24.366926, 0.000000, 42.112400, 180.000107,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 973.424927, 2449.354980, 67.160767, 352.265106, 0.000000, 92.715202,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 965.573730, 2441.611328, 113.156052, 356.562286, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 931.752197, 2478.487305, 10.368235, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 956.930298, 2458.847168, 83.619026, 0.000000, 0.000000, 176.939896,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(969, 956.050415, 2433.237305, 148.062988, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 968.623657, 2454.367432, 81.033592, 268.144196, 0.000000, 270.515015,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 971.572327, 2459.034668, 40.932556, 269.863190, 0.000000, 269.518311,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 954.415588, 2470.654053, 39.484459, 38.778400, 0.859400, 0.893600,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 995.349976, 2441.709961, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 972.758240, 2452.827881, 83.703903, 0.000000, 0.000000, 271.477997,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 956.232178, 2471.191162, 37.771400, 87.662498, 0.000000, 180.481796,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 942.460022, 2478.989990, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 959.664001, 2437.355713, 148.318634, 270.618591, 0.000000, 181.237106,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 967.719421, 2458.616943, 83.619743, 0.000000, 0.000000, 176.939896,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 964.290039, 2441.697266, 135.584045, 356.562286, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 948.330566, 2445.965820, 147.909348, 270.618591, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 949.734497, 2441.001465, 158.148132, 358.281097, 0.000000, 268.658813,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 964.737366, 2437.804932, 148.280762, 270.618591, 0.000000, 181.237106,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 949.190002, 2479.580078, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 953.411621, 2446.156250, 147.897415, 270.618591, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(969, 948.678467, 2449.586914, 148.254944, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 994.799988, 2449.959961, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 988.478760, 2456.491455, 24.041924, 0.000000, 42.112400, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 956.099976, 2480.189941, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(969, 956.192871, 2449.603516, 148.275024, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 971.866760, 2471.346680, 24.441921, 0.000000, 42.112400, 360.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 984.119995, 2464.050049, 15.430000, 40.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 963.031921, 2441.751709, 158.026031, 358.281097, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 984.309265, 2464.896240, 9.869881, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 994.780029, 2457.719971, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 981.262695, 2468.907715, 9.868273, 0.000000, 0.000000, 269.140594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 963.960022, 2480.520020, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 982.882202, 2470.489502, 26.655558, 324.763092, 0.000000, 90.515297,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 988.573242, 2466.478027, 26.189369, 324.763092, 0.000000, 180.515305,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 950.059387, 2431.529785, 193.008820, 270.618591, 1.718900, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 990.729065, 2464.797607, 9.848877, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 950.484070, 2441.131836, 180.693573, 358.281097, 0.000000, 268.658813,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 949.373352, 2429.265381, 199.531784, 0.000000, 0.000000, 337.500000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 946.923401, 2431.208740, 199.443054, 0.000000, 0.000000, 45.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 980.340027, 2475.300049, 13.050000, 55.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 972.059998, 2480.870117, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 952.373413, 2428.994385, 199.443054, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(19076, 995.270020, 2317.560059, 9.930000, 0.000000, 0.000000, 270.790009,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(19076, 990.020020, 2335.120117, 10.210000, 0.000000, 0.000000, 256.760010,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(19076, 995.650024, 2320.370117, 9.930000, 0.000000, 0.000000, 265.980011,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(19076, 995.960022, 2323.120117, 9.930000, 0.000000, 0.000000, 273.570007,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(869, 992.530029, 2338.090088, 10.520000, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(869, 992.780029, 2343.000000, 10.560000, 0.000000, 0.000000, 319.540009,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 981.281433, 2475.758057, 9.793262, 0.000000, 0.000000, 269.140594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 988.956177, 2471.005859, 18.604671, 324.763092, 0.000000, 90.515297,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 988.362122, 2471.628418, 18.615652, 324.763092, 0.000000, 180.515305,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 995.810730, 2467.576904, 9.868238, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 986.554382, 2478.502686, 9.793251, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 944.526428, 2436.616211, 199.465561, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 949.940002, 2439.568115, 192.900803, 270.618591, 1.718900, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 962.142700, 2441.802490, 180.393463, 358.281097, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 995.812561, 2475.080566, 9.818239, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(984, 956.340088, 2429.054688, 199.396179, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18284, 956.483154, 2433.049561, 195.806381, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 993.096436, 2478.549316, 9.818274, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 957.052979, 2429.477051, 199.531784, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18284, 948.674500, 2441.038330, 195.828888, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(984, 944.545288, 2441.406250, 199.418686, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 962.241882, 2434.153320, 192.764267, 270.618591, 1.718900, 183.574402,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 953.135986, 2435.739014, 199.418961, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 961.161865, 2429.023682, 199.443054, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 956.730957, 2435.394531, 199.418961, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 944.610901, 2444.971924, 199.465561, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 963.665527, 2429.462158, 199.531784, 0.000000, 0.000000, 33.750000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(5130, 948.550171, 2440.897705, 201.771179, 0.000000, 0.000000, 135.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 950.967834, 2448.631836, 192.768051, 270.618591, 1.718900, 0.618600,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 960.393433, 2435.573975, 199.423370, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 962.378052, 2440.927002, 192.735809, 86.803101, 0.000000, 88.281097,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 962.851929, 2440.912354, 192.783585, 270.618591, 359.140594, 269.140594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 966.216675, 2431.398438, 199.397476, 0.000000, 0.000000, 315.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 947.051697, 2450.374023, 199.471832, 0.000000, 0.000000, 315.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18284, 964.394287, 2441.031738, 195.810791, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(10009, 952.381409, 2438.278809, 209.249130, 0.000000, 0.000000, 45.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18284, 956.553955, 2448.816162, 195.810165, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 953.036072, 2448.121582, 199.422745, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 968.483459, 2436.804199, 199.397476, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 949.800293, 2452.664551, 199.535568, 0.000000, 0.000000, 247.500000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(988, 956.489075, 2442.407959, 204.734039, 91.100304, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 956.785034, 2447.784424, 199.422745, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(5130, 964.276489, 2440.939453, 201.753082, 0.000000, 0.000000, 315.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 952.492554, 2452.906982, 199.471832, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(984, 968.432739, 2440.828125, 199.350601, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 960.277161, 2448.006348, 199.423370, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 955.594238, 2452.767822, 199.535568, 0.000000, 0.000000, 168.749893,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 954.949890, 2439.312744, 213.240158, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(984, 956.153381, 2452.895508, 199.424957, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 956.494568, 2438.688965, 213.140839, 0.000000, 354.843414, 224.449799,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3398, 953.353088, 2445.269775, 210.395447, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 968.436157, 2445.150391, 199.397476, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(10009, 960.047485, 2442.276855, 209.262634, 0.000000, 0.000000, 225.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1256, 955.652771, 2441.795410, 213.127335, 0.000000, 354.843414, 45.687099,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3877, 956.331055, 2440.444336, 213.974014, 0.000000, 0.000000, 45.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3398, 953.059753, 2445.159912, 212.970428, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 960.623413, 2452.902588, 199.471832, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 957.456787, 2441.478271, 213.801025, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3398, 952.921631, 2445.471436, 214.044495, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(2600, 965.860718, 2450.530029, 199.536194, 0.000000, 0.000000, 135.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(983, 966.103394, 2450.615967, 199.471832, 0.000000, 0.000000, 45.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1229, 1011.154907, 2521.444092, 11.221322, 0.000000, 0.000000, 153.700012,-1,-1,-1, 1000.0, 800.0);
objme = CreateDynamicObject(19866, 984.379700, 2563.028320, 27.425400, 45.000000, 0.000000, -29.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,14533, "none" , "none" , 0xffffff);
objme = CreateDynamicObject(19866, 984.379700, 2563.028320, 27.425440, 0.000000, 0.000000, -29.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,14533, "none" , "none" , 0xffffff);
objme = CreateDynamicObject(19866, 984.553711, 2563.357422, 27.567499, 90.000000, 0.000000, -29.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,14533, "none" , "none" , 0xffffff);
objme = CreateDynamicObject(19866, 984.573425, 2563.366943, 27.987499, 139.000000, 0.000000, -29.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,14533, "none" , "none" , 0xffffff);
CreateDynamicObject(19076, 994.710022, 2314.370117, 10.010000, 0.000000, 0.000000, 270.570007,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(19076, 995.460022, 2304.830078, 9.920000, 0.000000, 0.000000, 181.020004,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1460, 976.880005, 2278.870117, 10.800000, 0.000000, 0.000000, 83.760002,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3461, 985.710022, 2279.370117, 11.060000, 0.000000, 0.000000, 357.600006,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 921.569641, 2403.516113, 9.418249, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
objme = CreateDynamicObject(18765, 1021.559631, 2329.000244, 7.317057, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,7458, "vgwestland" , "greyground256128" , 0x0);
CreateDynamicObject(3571, 929.053650, 2403.494629, 9.393242, 0.000000, 0.000000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 918.849426, 2408.968018, 9.568258, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
objme = CreateDynamicObject(18765, 1018.629578, 2338.999756, 7.317057, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
SetDynamicObjectMaterial(objme,0,7458, "vgwestland" , "greyground256128" , 0x0);
CreateDynamicObject(3867, 926.147400, 2410.083496, 17.897787, 324.763092, 0.000000, 0.377700,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 933.678345, 2406.230469, 9.418261, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 925.532593, 2411.148193, 18.325811, 324.763092, 0.000000, 271.237213,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 942.190002, 2402.800049, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 937.070007, 2406.350098, 18.639999, 18.000000, 0.000000, 271.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 918.827820, 2414.511230, 9.568254, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 932.124512, 2411.487549, 27.528757, 324.763092, 0.000000, 270.377686,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 926.190918, 2416.475586, 27.407587, 324.763092, 0.000000, 0.377700,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 921.610657, 2418.150635, 9.515579, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 949.479980, 2403.360107, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 923.479248, 2418.038330, 9.468271, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 933.644531, 2413.965332, 9.393253, 0.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 943.391785, 2410.422852, 23.966925, 0.000000, 39.534000, 180.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 930.930664, 2418.049316, 9.468241, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 918.750000, 2425.030029, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 931.080017, 2419.000000, 15.970000, 37.000000, 0.000000, 359.040009,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 957.309998, 2403.719971, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 926.471558, 2426.708252, 24.991936, 0.000000, 42.112400, 270.000305,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 964.669983, 2403.659912, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 918.450012, 2431.870117, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 956.764648, 2410.783447, 39.046227, 316.272491, 0.000000, 359.277710,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 957.178772, 2411.087891, 36.971237, 87.662498, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 937.487793, 2423.780518, 40.832390, 269.863190, 0.000000, 0.618600,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 971.880005, 2403.620117, 15.610000, 0.000000, 0.000000, 271.649994,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 918.359985, 2439.909912, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(17310, 971.293701, 2410.315430, 23.341942, 0.000000, 42.112400, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 952.834595, 2422.242188, 40.857597, 269.863190, 0.000000, 89.140503,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1426, 980.691162, 2404.256348, 11.059425, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 983.203491, 2403.590332, 9.518263, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 925.607727, 2439.663086, 38.622269, 36.200100, 0.859400, 90.170502,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 944.752258, 2424.198486, 80.701927, 268.144196, 0.000000, 90.033897,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 937.509888, 2433.095947, 51.763512, 352.265106, 0.000000, 268.040314,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1426, 982.928040, 2404.298096, 11.059425, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 980.384888, 2406.863525, 9.518242, 0.000000, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 945.241089, 2424.181152, 83.600334, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(8210, 926.912170, 2440.612549, 37.821289, 87.662498, 0.000000, 270.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1426, 986.246216, 2404.309570, 11.059425, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 939.498596, 2432.599365, 66.738205, 352.265106, 0.000000, 268.040314,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 940.316467, 2429.730225, 83.623619, 0.000000, 0.000000, 90.136803,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 951.304260, 2425.125732, 80.977051, 271.477997, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1426, 989.551636, 2404.378906, 11.059429, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 982.081665, 2411.476562, 28.363184, 324.763092, 0.000000, 90.377701,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 991.157166, 2403.592041, 9.493286, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1472, 957.268066, 2428.739990, 42.644863, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(18102, 978.260010, 2414.860107, 15.530000, 40.000000, 0.000000, 90.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3437, 918.469971, 2448.969971, 15.610000, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 944.825012, 2431.169189, 80.892303, 268.144196, 0.000000, 90.033897,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 993.285400, 2403.578369, 9.390604, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1473, 957.266541, 2429.704590, 43.276825, 358.281097, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3571, 980.380493, 2414.019775, 9.550068, 0.000000, 0.000000, 270.240906,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(1426, 992.840637, 2404.400146, 11.059437, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(980, 956.703979, 2424.219727, 83.546295, 0.000000, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(987, 951.380310, 2429.035889, 81.129440, 268.144196, 0.000000, 180.377594,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 988.325684, 2410.387939, 18.345530, 324.763092, 0.000000, 0.515300,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(974, 957.282593, 2432.806641, 42.432281, 90.240898, 0.000000, 0.000000,-1,-1,-1, 1000.0, 800.0);
CreateDynamicObject(3867, 989.527222, 2411.315918, 18.079905, 324.763092, 0.000000, 89.518303,-1,-1,-1, 1000.0, 800.0);
|
|
|
AC Black Diamond |
Posted by: alexsusco360 - 2023-07-06, 10:55 AM - Forum: Filterscripts
- Replies (28)
|
 |
Download: https://github.com/asm360/AC_Black_Diamond/releases/tag/release
Anti-cheats for SAMP supports updated versions
You load the filterscript, and you add the following code to your gamemode and can use the new functions Note that you have a public that checks an unsupported version in anticheat, it is recommended to block them and inform them that they need to update their SAMP version
no open source why? to protect against bypass attempts, afraid of malicious code? This is an amx file, its compiler is not complicated, you can throw the file in hexeditor and see all the functions I use and also the strings (at the end of the file) At the beginning of his the functions
Code: //----------------------------------------------------------
#define KickEx(%0) SetTimerEx("KickP2", 6000, false, "d", %0)
forward KickP2(playerid);
public KickP2(playerid) return Kick(playerid);
#define BanEx(%0) SetTimerEx("BanP2", 6000, false, "d", %0)
forward BanP2(playerid);
public BanP2(playerid) return Ban(playerid);
//Old version anticheat does not support, it is recommended to kick and ask to update the SAMP version
forward OnDetectedOldversion(playerid);
public OnDetectedOldversion(playerid)
{
printf("oldversion detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Update your version and return to the server www.sa-mp.com");
GameTextForPlayer(playerid, "~r~oldversion", 5000, 3);
KickEx(playerid);
return 1;
}
//A cheat similar to autocbug allows you to shoot at a very high speed https://www.blast.hk/threads/20266/
forward OnDetectedImprovedDeagle(playerid);
public OnDetectedImprovedDeagle(playerid)
{
printf("ImprovedDeagle detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [ImprovedDeagle.asi] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
//It helps you in the bug to be more accurate, and also makes an infinite zoom in the sniper
forward OnDetectedExtraWS(playerid);
public OnDetectedExtraWS(playerid)
{
printf("ExtraWS detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [ExtraWS.asi] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
//It is recommended to block players using this
forward OnDetecteds0beit(playerid);
public OnDetecteds0beit(playerid)
{
printf("sobeit detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [s0beit/cheats] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
BanEx(playerid);
return 1;
}
//use sampfuncs for get api sampinfo cheats..
forward OnDetectedSAMPFUNCS(playerid);
public OnDetectedSAMPFUNCS(playerid)
{
printf("sampfuncs detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [SAMPFUNCS.asi] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
//use SprintHook.asi auto run fast cheat https://www.blast.hk/threads/20161/
forward OnDetectedSprintHook(playerid);
public OnDetectedSprintHook(playerid)
{
printf("SprintHook detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [SprintHook.asi] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
//CLEO,modloader,modloader..etc
forward OnDetectedMods(playerid);
public OnDetectedMods(playerid)
{
printf("mods detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [cleo.asi/modloader.asi] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
//test bypass anticheat 100% need ban
forward OnDetectedbypass(playerid);
public OnDetectedbypass(playerid)
{
printf("testbypass detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
BanEx(playerid);
return 1;
}
//Not wrong at all, very useful for advanced types of silent aim
forward OnDetectedSilentaim(playerid);
public OnDetectedSilentaim(playerid)
{
printf("silentaim detected %d", playerid);
SendClientMessage(playerid, 0xFFFF0000, "Use cheats [silentaim] out!");
GameTextForPlayer(playerid, "~r~Use cheats out!", 5000, 3);
KickEx(playerid);
return 1;
}
|
|
|
I want to using fastman92limitadjuster to SAMP |
Posted by: tanloc18323 - 2023-07-05, 08:03 AM - Forum: Support
- No Replies
|
 |
sorry if i was wrong content . i already hosting a server samp in VietNam, Grand Theft Auto series is almost favorite here but it so old and fastman92limitadjuster is a way to make it cool. So i want everyone can connect to a server with fastman92limiteadjuster.
|
|
|
Liberty City map |
Posted by: Nobody5842 - 2023-07-03, 10:55 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Is it possible to use 0.3.dl liberty city map in open.mp? If so, is it better optimized now and can anybody direct me with some useful links?
|
|
|
West Coast Roleplay |
Posted by: Levi_McPersus - 2023-06-29, 10:35 PM - Forum: Advertisements
- No Replies
|
 |
HostName: [0.3.DL] West Coast Roleplay
Address: 51.68.148.175:7777
Mode: WCRP 1.0.5
Language: English
Discord server: https://discord.gg/dYcZ9QwKsa
Showcase:
https://youtu.be/vhyR-mPkaLs
https://youtu.be/iu3SvsJx9-M
https://youtu.be/pGJBWr8_9D4
A living, breathing economy, fueled by YOU!
Every purchase you make in any of the hundreds of stores, restaurants, car dealers, weapon dealers, or furniture stores go into the store vault, to be collected by the owner. 20% of every purchase goes to the Government Treasury as tax. If the government owns the store, 100% of it's profits go to the Government Treasury. From this Treasury, our hard-working Emergency Services and Government Officials are paid their wage! Non-Government factions can also assign wage to it's members, but they will have to fund their faction bank themselves, which can be done by, amongst many other ways, offering protection to local businesses.
Fully developed Inventory System!
Gather your belongings, be it legal or illegal, and carry them on your person, in a backpack, store them in your vehicle or your house! Every original GTA:SA item has been converted to a custom item model, displayed in a clean, custom inventory UI. Regardless if you're roleplaying a government official, or a fugitive gangster, your items are always on-hand and can be found and taken by the police.
100% Dynamic Furniture System!
The American Dream, buying a house in Los Santos is a dream for many, and here, we take it one step further! You bought your house, but you really wish that second bedroom had a TV on the wall, and maybe a fridge next to the wardrobe? Say no more, and head over to one of the many Furniture Stores, buy anything your heart pleases, and place it down dynamically in (or around) your home! We've even custom-mapped a series of completely unfurnished homes for those of us who secretly like The Sims more than SA:MP.
|
|
|
Why random spawn doesnot want to work? |
Posted by: abdr37888 - 2023-06-25, 02:49 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Code:
new Float:RandomSpawnGrove[4][4] = {
{2225.7131,-1149.6176,1025.7969,95.7851},
{2246.0417,-1190.8867,1029.7969,25.5977},
{2191.7427,-1189.8916,1029.7969,261.2032},
{2193.6560,-1142.0361,1029.7969,178.7957}
};
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerColor(playerid) == COLOR_GREEN)
{
new rand = random(sizeof(RandomSpawnGrove));
AddPlayerClass(106,RandomSpawnGrove[rand][0],RandomSpawnGrove[rand][1],RandomSpawnGrove[rand][2],RandomSpawnGrove[rand][3],0,0,0,0,0,0);
}
return 1;
}
I didnot get any error when compile when i died and my color green it didnot spawn in the random spawn.
Whats wrong?
Plzz anyone help me.
|
|
|
how to save last player position and load it |
Posted by: abdr37888 - 2023-06-24, 05:05 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
This is my code
#include <a_samp>
#include <YSI\y_ini>
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
#define PATH "/Users/%s.ini"
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COLOR_GREEN 0x00FF00AA // Bright Green
#define COLOR_PURBLE 0xFF00FFAA // Bright Purple
#define COLOR_RED 0xFF0000AA // Bright Red
#define COLOR_YELLOW 0xFFFF00AA // Bright Yellow
#define COLOR_WHITE 0xFFFFFFAA // Bright White
#define COLOR_BLUE 0x0000FFAA // Bright Blue
#define COLOR_YELLOW12 0xFFCC00AA // Bright1 Yellow
#define COLOR_RED12 0x993333AA // Dark Red
enum pInfo
{
pPass,
pCash,
pAdmin,
pKills,
pDeaths,
pBanned,
pScore,
pSkin
}
new PlayerInfo[MAX_PLAYERS][pInfo];
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
INI_Int("Password",PlayerInfo[playerid][pPass]);
INI_Int("Cash",PlayerInfo[playerid][pCash]);
INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
INI_Int("Kills",PlayerInfo[playerid][pKills]);
INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
INI_Int("Banned",PlayerInfo[playerid][pBanned]);
INI_Int("Score",PlayerInfo[playerid][pScore]);
INI_Int("Skin",PlayerInfo[playerid][pSkin]);
return 1;
}
stock UserPath(playerid)
{
new string[128],playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string,sizeof(string),PATH,playername);
return string;
}
/*Credits to Dracoblue*/
stock udb_hash(buf[]) {
new length=strlen(buf);
new s1 = 1;
new s2 = 0;
new n;
for (n=0; n<length; n++)
{
s1 = (s1 + buf[n]) % 65521;
s2 = (s2 + s1) % 65521;
}
return (s2 << 16) + s1;
}
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
new MyPickup;
new mpickup;
new Ypickup;
new Ppickup;
new gangzone;
new Pickup;
new pmpickup;
new Ywpickup;
new Pwpickup;
public OnGameModeInit()
{
SetGameModeText("Arab Server RolePlay");
AddStaticVehicle(602,171.3684,-1341.5986,69.4603,181.6194,16,16);
AddStaticVehicle(602,171.3651,-1341.4718,69.4798,181.6953,16,16);
AddStaticVehicle(412,2485.1729,-1682.8943,13.1706,268.5867,16,16);
AddStaticVehicle(412,2475.4126,-1654.2457,13.2342,89.3399,16,16);
AddStaticVehicle(412,2504.4441,-1679.4713,13.2944,314.2906,16,16);
AddStaticVehicle(567,2501.0874,-1655.9918,13.2977,76.7459,16,16);
AddStaticVehicle(492,2508.8794,-1668.1731,13.2151,359.3311,59,49);
AddStaticVehicle(492,2494.3245,-1683.0123,13.1699,270.8655,16,1);
AddStaticVehicle(600,2473.3772,-1700.0703,13.2396,0.4215,84,84);
AddStaticVehicle(466,2052.7014,-1694.6176,13.2965,270.1249,2,1);
AddStaticVehicle(429,2040.0538,1341.7698,10.3531,177.8749,2,1);
AddStaticVehicle(468,2060.4963,-1697.7598,13.2156,267.8487,6,6);
AddStaticVehicle(436,2095.9963,-1793.6426,13.1579,269.1816,109,1);
AddStaticVehicle(410,2095.5249,-1813.4596,13.0381,270.9669,36,1);
AddStaticVehicle(401,2095.3914,-1820.5477,13.1623,270.2890,87,87);
AddStaticVehicle(566,2096.0100,-1800.9500,13.1646,268.6882,83,1);
AddStaticVehicle(419,2096.0693,-1797.1627,13.1833,269.6762,54,75);
AddStaticVehicle(404,2095.7263,-1816.6825,13.1161,270.8902,101,101);
AddStaticVehicle(448,2107.2617,-1823.7445,13.1430,86.6142,3,6);
AddStaticVehicle(448,2107.3750,-1825.5007,13.1519,89.1904,3,6);
AddStaticVehicle(448,2107.5576,-1827.4673,13.1579,89.2251,3,6);
AddStaticVehicle(448,2107.4771,-1829.3331,13.1525,90.5329,3,6);
AddStaticVehicle(448,2110.7417,-1823.8430,13.1537,91.9498,3,6);
AddStaticVehicle(439,2120.7925,-1781.2820,13.2848,177.9601,57,8);
AddStaticVehicle(422,2114.8726,-1781.2991,13.3746,180.4383,67,59);
AddStaticVehicle(418,2109.2576,-1781.2383,13.4816,180.6470,117,227);
AddStaticVehicle(600,2103.5266,-1781.2870,13.1049,183.4780,8,90);
AddStaticVehicle(565,1561.0614,-2263.8835,13.1695,268.6060,42,42);
AddStaticVehicle(547,1560.7764,-2257.5784,13.2828,269.8505,24,1);
AddStaticVehicle(540,1560.4236,-2247.6511,13.4079,271.1082,7,7);
AddStaticVehicle(529,1560.3702,-2237.8745,13.1794,270.4413,7,7);
AddStaticVehicle(527,1560.2473,-2234.5615,13.2621,268.7422,76,1);
AddStaticVehicle(491,1560.7667,-2322.1882,13.3052,269.5280,64,72);
AddStaticVehicle(480,1560.4482,-2325.4277,13.3214,271.3584,4,4);
AddStaticVehicle(479,1560.8082,-2328.6448,13.3425,269.4208,54,31);
AddStaticVehicle(477,1560.7823,-2331.8130,13.3033,270.4435,121,1);
AddStaticVehicle(415,1515.0814,-2361.1309,13.3230,0.3779,92,1);
AddStaticVehicle(412,1508.8453,-2360.7954,13.3888,1.4082,37,8);
AddStaticVehicle(587,1536.4629,-2212.1897,13.2809,179.6536,95,1);
AddStaticVehicle(580,1529.9949,-2211.7971,13.3508,178.5321,51,51);
AddStaticVehicle(579,1526.2854,-2212.3406,13.4898,179.7526,11,11);
AddStaticVehicle(576,1521.6539,-2212.0552,13.1645,180.8194,76,8);
AddStaticVehicle(565,1508.7373,-2211.1763,13.1762,180.4353,10,10);
AddStaticVehicle(562,1505.8075,-2211.3591,13.2127,180.4333,113,1);
AddStaticVehicle(561,1502.4153,-2212.0520,13.3630,181.2458,67,8);
AddStaticVehicle(558,1492.6235,-2211.9351,13.1769,179.1212,35,1);
AddStaticVehicle(596,1602.4037,-1630.6444,13.2149,88.1971,0,1);
AddStaticVehicle(596,1602.3654,-1626.6801,13.2130,88.6134,0,1);
AddStaticVehicle(596,1602.3800,-1622.4067,13.2124,89.5686,0,1);
AddStaticVehicle(596,1602.1331,-1614.6514,13.2085,92.0910,0,1);
AddStaticVehicle(596,1602.1903,-1610.6451,13.2097,90.4010,0,1);
AddStaticVehicle(596,1602.0605,-1606.0662,13.2064,90.8565,0,1);
AddStaticVehicle(601,1544.8877,-1651.1127,5.6494,270.4674,1,1);
AddStaticVehicle(601,1545.4059,-1659.1665,5.6494,267.6780,1,1);
AddStaticVehicle(427,1591.0256,-1710.8715,6.0224,179.3453,0,1);
AddStaticVehicle(427,1587.7485,-1711.0900,6.0225,180.8540,0,1);
AddStaticVehicle(490,1529.2888,-1684.0226,6.0194,267.8174,0,0);
AddStaticVehicle(490,1544.4529,-1667.7072,6.0198,271.0140,0,0);
AddStaticVehicle(490,1544.6797,-1675.9882,6.0182,269.9643,0,0);
AddStaticVehicle(490,1545.0664,-1684.6477,6.0201,270.7689,0,0);
AddStaticVehicle(528,1538.7209,-1645.5785,5.9355,180.8854,0,0);
AddStaticVehicle(528,1530.5789,-1645.4294,5.9343,179.9176,0,0);
AddStaticVehicle(596,1601.5591,-1684.0519,5.6123,89.5858,0,1);
AddStaticVehicle(596,1601.5209,-1688.3495,5.6117,90.1611,0,1);
AddStaticVehicle(596,1601.6317,-1695.9609,5.6115,89.7080,0,1);
AddStaticVehicle(596,1585.5900,-1667.6532,5.6132,270.8575,0,1);
AddStaticVehicle(427,1578.9691,-1711.2435,6.0226,180.4949,0,1);
AddStaticVehicle(427,1570.1755,-1711.4225,6.0225,182.1094,0,1);
AddStaticVehicle(427,1562.6941,-1710.8721,6.0225,181.0773,0,1);
AddStaticVehicle(523,1592.7800,-1605.5839,12.9531,181.2934,0,0);
AddStaticVehicle(523,1589.8721,-1605.8724,12.9553,177.3770,0,0);
AddStaticVehicle(523,1587.3577,-1605.9468,12.9542,177.5560,0,0);
AddStaticVehicle(523,1585.0715,-1606.0339,12.9551,178.8215,0,0);
AddStaticVehicle(412,2217.8711,-1157.5225,25.5641,271.5001,16,16);
AddStaticVehicle(492,2217.9231,-1162.2678,25.5083,267.1677,16,1);
AddStaticVehicle(492,2217.1863,-1170.3641,25.5082,271.2394,16,1);
AddStaticVehicle(567,2217.0396,-1165.9182,25.5952,273.4421,16,16);
AddStaticVehicle(492,2205.9509,-1157.2190,25.5173,87.5250,16,1);
AddStaticVehicle(492,2206.4526,-1173.3522,25.5082,89.2638,16,1);
AddStaticVehicle(474,2334.3105,-1159.2070,26.6788,264.8321,6,6);
AddStaticVehicle(467,2342.6963,-1158.7308,26.8469,270.9521,6,6);
AddStaticVehicle(467,2365.9050,-1166.8635,27.2509,177.0255,6,6);
AddStaticVehicle(474,2356.0049,-1159.3859,27.1763,269.7199,6,6);
AddStaticVehicle(517,1943.6993,-1130.9857,25.3424,94.8128,126,1);
AddStaticVehicle(517,1922.0658,-1130.4795,24.7992,93.0231,126,1);
AddStaticVehicle(566,1932.5033,-1130.4945,24.9852,92.5352,126,126);
AddStaticVehicle(566,1889.1613,-1131.4417,23.8983,85.9013,126,126);
AddStaticVehicle(566,1908.0199,-1130.5533,24.3764,92.1271,126,126);
AddStaticVehicle(567,2493.6123,-1753.0233,13.3537,1.1509,16,16);
AddStaticVehicle(492,2501.3708,-1752.9397,13.2024,359.6364,16,1);
AddStaticVehicle(492,2477.0398,-1751.1873,13.3287,359.6566,16,1);
AddStaticVehicle(458,2483.5359,-1751.8325,13.4253,358.3758,84,84);
AddStaticVehicle(502,2657.5845,-1697.0990,9.2086,271.2960,75,61);
AddStaticVehicle(503,2658.3401,-1706.6307,9.2155,269.1581,117,116);
AddStaticVehicle(494,2658.2307,-1701.7738,9.2155,267.7059,54,36);
AddStaticVehicle(495,2657.8330,-1692.0654,9.6624,270.2106,123,124);
AddStaticVehicle(495,2658.2783,-1711.7072,9.6706,269.6668,114,108);
AddStaticVehicle(556,2676.5583,-1672.4496,9.7722,179.4838,1,1);
AddStaticVehicle(557,2681.7646,-1672.8662,9.7979,179.5465,1,1);
AddStaticVehicle(556,2686.5015,-1672.6355,9.8191,178.7388,1,1);
AddStaticVehicle(556,2697.1199,-1672.7297,9.8626,181.7495,1,1);
AddStaticVehicle(557,2691.7493,-1671.9313,9.8397,179.9664,1,1);
CreateActor(102,1941.1543,-1117.9009,26.4455,180.4904);
CreateActor(103,1938.1199,-1117.5718,26.4455,177.0437);
CreateActor(107,2521.0461,-1680.7599,14.8811,84.8293);
CreateActor(105,2519.7476,-1677.2390,14.5793,87.9393);
CreateActor(280,1578.7549,-1634.1285,13.5624,355.0591);
CreateActor(280,1580.6666,-1634.1276,13.5622,355.0591);
CreateActor(106,2450.3164,-1998.7609,13.5469,180.8690);
CreateActor(107,2456.5471,-1999.3121,13.5469,172.4089);
CreateActor(6,2440.9526,-1962.9823,13.5469,174.6162);
MyPickup = CreatePickup(1314,23,2503.8677,-1685.4696,13,-1);
mpickup = CreatePickup(1314,23,1933.3479,-1119.0906,26,-1);
Ypickup = CreatePickup(1314,23,2351.7708,-1165.2024,27,-1);
Ppickup = CreatePickup(1314,23,239.0411,75.8130,1005,-1);
gangzone = GangZoneCreate(2517.5217, -1661.9059, 2339.8516, -1729.4061);
Pickup = CreatePickup(348,2,2508.4104,-1684.2233,13,-1);
Pickup = CreatePickup(352,2,2510.6182,-1682.1265,13,-1);
Pickup = CreatePickup(356,2,2512.4165,-1679.9208,13,-1);
pmpickup = CreatePickup(348,2,1944.2538,-1118.6057,26,-1);
pmpickup = CreatePickup(352,2,1943.9448,-1120.4343,26,-1);
pmpickup = CreatePickup(356,2,1943.6592,-1122.4967,26,-1);
Ywpickup = CreatePickup(348,2,2363.4873,-1164.7046,27,-1);
Ywpickup = CreatePickup(352,2,2363.2622,-1166.7206,27,-1);
Ywpickup = CreatePickup(356,2,2363.6135,-1169.6571,27,-1);
Pwpickup = CreatePickup(346,2,1544.3092,-1631.8982,13,-1);
Pwpickup = CreatePickup(346,2,218.7476,81.0516,1005,-1);
Pwpickup = CreatePickup(334,2,218.2496,78.3512,1005,-1);
Pwpickup = CreatePickup(1242,2,253.0681,80.1647,1003,-1);
Pwpickup = CreatePickup(321,2,261.5091,70.9910,1003,-1);
SetTimer("Time", 3600000, true);
UsePlayerPedAnims();
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
}
new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s has joined the server", pname);
SendClientMessageToAll(0xAAAAAAAA, string);
SetPlayerMapIcon(playerid, 12, 2503.4673,-1685.1571,13.5469, 62, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 13, 1933.3635,-1119.1494,26.4531, 59, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 14, 2351.7708,-1165.2024,27.4378, 60, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 15, 1685.7391,-2244.6516,13.5469, 5, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 16, 1929.8866,-1776.8219,13.5469, 55, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 17, 2102.7031,-1806.7620,13.5547, 29, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 19, 2131.6760,-1150.7050,24.1264, 55, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 20, 2062.5820,-1831.8528,13.5469, 63, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 21, 2072.8892,-1794.0254,13.5469, 7, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 22, 2070.5742,-1779.5708,13.5587, 39, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 23, 2244.8904,-1663.4241,15.4766, 45, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 24, 2228.6997,-1722.4965,13.5552, 54, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 25, 1553.1901,-1674.7737,16.1953, 30, 0, MAPICON_GLOBAL);
GivePlayerMoney(playerid,1000);
SetPlayerMapIcon(playerid, 26, 1365.3500,-1279.0601,13.5469, 6, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 33, 2033.3813,-1404.0724,17.2686, 22, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 34, 1174.5277,-1324.0151,14.7891, 22, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 35, 1756.3395,-1464.2751,13.5469, 20, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 36, 2404.5330,-1905.7328,13.5469, 14, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 37, 2419.8440,-1500.4395,24.0000, 14, 0, MAPICON_LOCAL);
SetPlayerMapIcon(playerid, 39, 2308.1980,-1645.9747,14.8270, 49, 0, MAPICON_LOCAL);
GangZoneShowForAll(gangzone,COLOR_GREEN);
if(PlayerInfo[playerid][pAdmin] > 6)
{
SendClientMessageToAll(COLOR_RED, "Owner has joined the server");
AddPlayerClass(165,1685.5206,-2242.7856,13.5469,172.8506,0,0,0,0,0,0);
SetPlayerColor(playerid,COLOR_RED12);
SendClientMessage(playerid, COLOR_YELLOW, "Welcome to your server master :D");
}
else
{
if(PlayerInfo[playerid][pAdmin] < 0)
AddPlayerClass(2,1685.5206,-2242.7856,13.5469,172.8506,0,0,0,0,0,0);
SetPlayerColor(playerid,COLOR_WHITE);
}
SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
INI_WriteInt(File,"Score",GetPlayerScore(playerid));
INI_WriteInt(File,"Banned",PlayerInfo[playerid][pBanned]);
INI_WriteInt(File,"Skin",GetPlayerSkin(playerid));
INI_Close(File);
new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
switch(reason)
{
case 0: format(string, sizeof(string), "%s has left the server. (Lost Connection)", pname);
case 1: format(string, sizeof(string), "%s has left the server. (Leaving)", pname);
case 2: format(string, sizeof(string), "%s has left the server. (Kicked)", pname);
}
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerSpawn(playerid)
{
SendClientMessage(playerid, COLOR_RED, "You have got $1000 from the server have fun :D");
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
PlayerInfo[killerid][pScore]++;
SendDeathMessage(killerid, playerid, reason); // Shows the kill in the killfeed
GivePlayerMoney(killerid, 1000);
SendClientMessage(killerid, COLOR_RED, "You have been awarded $1000 for the kill.");
if(killerid != INVALID_PLAYER_ID)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
}
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_RED, "Hello Player!");
SendClientMessage(playerid, COLOR_RED, "<<<<<<<<<<<Jobs>>>>>>>>>>>");
SendClientMessage(playerid, COLOR_RED, "1- Go to Gangs icons in the map to join the Gang!");
SendClientMessage(playerid, COLOR_RED, "2- Go to the Police icon in map to be Police Officer!");
SendClientMessage(playerid, COLOR_RED, "<<<<<<<<<<<Commands>>>>>>>>>>>");
SendClientMessage(playerid, COLOR_RED, "1- Type /Score to see your Score!");
SendClientMessage(playerid, COLOR_RED, "2- Type /Heal to Heal yourself(Owner only who can use this command)!");
SendClientMessage(playerid, COLOR_RED, "3- Type /Armour to Armour yourself(Owner only who can use this command)!");
SendClientMessage(playerid, COLOR_RED, "4- Type /Giveall to Give all the players and admins money(Owner only who can use this command)!");
return 1;
}
if(!strcmp(cmdtext,"/score",true))
{
new string[128];
format(string, sizeof(string), "Score: %i",GetPlayerScore(playerid));
SendClientMessage(playerid, COLOR_YELLOW, string);
return 1;
}
if (strcmp("/heal", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] > 6)
{
SendClientMessage(playerid, COLOR_RED, "You have been healed");
SetPlayerHealth(playerid,100);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You arenot owner");
}
}
if (strcmp("/armour", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] > 6)
{
SendClientMessage(playerid, COLOR_RED, "You have been Armoured");
SetPlayerArmour(playerid,100);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You arenot owner");
}
}
if (strcmp("/giveall", cmdtext, true, 10) == 0)
{
if(PlayerInfo[playerid][pAdmin] > 6)
{
SendClientMessageToAll(COLOR_GREEN, "The owner gave you all the money");
GivePlayerMoney(playerid,10000);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You arenot owner");
}
}
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch( dialogid )
{
case DIALOG_REGISTER:
{
if (!response) return Kick(playerid);
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering...",""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Password",udb_hash(inputtext));
INI_WriteInt(File,"Cash",0);
INI_WriteInt(File,"Admin",0);
INI_WriteInt(File,"Kills",0);
INI_WriteInt(File,"Deaths",0);
INI_Close(File);
SetSpawnInfo(playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
ShowPlayerDialog(playerid, DIALOG_SUCCESS_1, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"Great! Your Y_INI system works perfectly. Relog to save your stats!","Ok","");
}
}
case DIALOG_LOGIN:
{
if ( !response ) return Kick ( playerid );
if( response )
{
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
ShowPlayerDialog(playerid, DIALOG_SUCCESS_2, DIALOG_STYLE_MSGBOX,""COL_WHITE"Success!",""COL_GREEN"You have successfully logged in!","Ok","");
}
else
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_RED"You have entered an incorrect password.\n"COL_WHITE"Type your password below to login.","Login","Quit");
}
return 1;
}
}
}
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
forward PingCheckTimer(playerid);
public PingCheckTimer(playerid)
{
// Kick players with a high ping
if(GetPlayerPing(playerid) > 1000) Kick(playerid);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == MyPickup){
SendClientMessage(playerid, COLOR_GREEN, "You in Grove Street now!");
SendClientMessage(playerid, COLOR_RED, "Kill the other Gangs and take Zones from them!");
SetPlayerColor(playerid, COLOR_GREEN);
SetPlayerSkin(playerid,106);
SetPlayerMapIcon(playerid, 18, 2231.0247,-1159.5146,25.8290, 23, 0, MAPICON_GLOBAL);
SendClientMessage(playerid, COLOR_RED, "You can go to your Gang Base and do Missions now and you can go to take Weapons from Emmet!");
SetPlayerMapIcon(playerid, 27, 2451.3232,-1972.7374,13.5539, 18, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 28, 2522.8523,-1679.1565,15.4970, 38, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 29, 2459.6348,-1691.6274,13.5431, 34, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 30, 2072.7100,-1703.2107,13.5547, 8, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,31);
RemovePlayerMapIcon(playerid,32);
RemovePlayerMapIcon(playerid,38);
RemovePlayerMapIcon(playerid,40);
}
if(pickupid == mpickup){
SendClientMessage(playerid, COLOR_PURBLE, "You in Ballas now!");
SendClientMessage(playerid, COLOR_RED, "Kill the other Gangs and take Zones from them!");
SendClientMessage(playerid, COLOR_RED, "You can go to your Gang Base and do Missions now!");
SetPlayerColor(playerid, COLOR_PURBLE);
SetPlayerSkin(playerid,102);
RemovePlayerMapIcon(playerid,18);
RemovePlayerMapIcon(playerid,27);
RemovePlayerMapIcon(playerid,28);
RemovePlayerMapIcon(playerid,29);
SetPlayerMapIcon(playerid, 29, 2459.6348,-1691.6274,13.5431, 34, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,30);
SetPlayerMapIcon(playerid, 30, 2072.7100,-1703.2107,13.5547, 8, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 31, 2167.5359,-1672.8494,15.0810, 23, 0, MAPICON_GLOBAL);
SetPlayerMapIcon(playerid, 32, 2521.1733,-1272.7887,34.8918, 23, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,38);
SetPlayerMapIcon(playerid, 40, 1611.9530,-1891.9105,13.5469, 23, 0, MAPICON_GLOBAL);
}
if(pickupid == Ypickup){
SendClientMessage(playerid, COLOR_YELLOW, "You in Vagos now!");
SendClientMessage(playerid, COLOR_RED, "Kill the other Gangs and take Zones from them!");
SendClientMessage(playerid, COLOR_RED, "You can go to your Gang Base!");
SetPlayerColor(playerid, COLOR_YELLOW);
SetPlayerSkin(playerid,110);
RemovePlayerMapIcon(playerid,18);
RemovePlayerMapIcon(playerid,27);
RemovePlayerMapIcon(playerid,28);
RemovePlayerMapIcon(playerid,29);
RemovePlayerMapIcon(playerid,30);
RemovePlayerMapIcon(playerid,31);
RemovePlayerMapIcon(playerid,32);
SetPlayerMapIcon(playerid, 38, 2520.2327,-1272.9634,34.8837, 23, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,40);
}
if(pickupid == Ppickup){
SendClientMessage(playerid, COLOR_BLUE, "You in Police now!");
SendClientMessage(playerid, COLOR_RED, "Arrest the criminals and gangsters who have stars as you can be a corrupt cop by doing missions Tenpenny or Big Smoke or Ryder !");
SetPlayerColor(playerid, COLOR_BLUE);
SetPlayerSkin(playerid,284);
RemovePlayerMapIcon(playerid,18);
RemovePlayerMapIcon(playerid,27);
RemovePlayerMapIcon(playerid,28);
RemovePlayerMapIcon(playerid,29);
SetPlayerMapIcon(playerid, 29, 2459.6348,-1691.6274,13.5431, 34, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,30);
SetPlayerMapIcon(playerid, 30, 2072.7100,-1703.2107,13.5547, 8, 0, MAPICON_GLOBAL);
RemovePlayerMapIcon(playerid,31);
RemovePlayerMapIcon(playerid,32);
RemovePlayerMapIcon(playerid,38);
RemovePlayerMapIcon(playerid,40);
}
if(pickupid == Pickup){
GivePlayerWeapon(playerid,348,500);
GivePlayerWeapon(playerid,352,500);
GivePlayerWeapon(playerid,356,500);
SendClientMessage(playerid, COLOR_GREEN, "The Weapons will respawn after 30 Sec!");
}
if(pickupid == pmpickup){
GivePlayerWeapon(playerid,348,500);
GivePlayerWeapon(playerid,352,500);
GivePlayerWeapon(playerid,356,500);
SendClientMessage(playerid, COLOR_PURBLE, "The Weapons will respawn after 30 Sec!");
}
if(pickupid == Ywpickup){
GivePlayerWeapon(playerid,348,500);
GivePlayerWeapon(playerid,352,500);
GivePlayerWeapon(playerid,356,500);
SendClientMessage(playerid, COLOR_YELLOW, "The Weapons will respawn after 30 Sec!");
}
if(pickupid == Pwpickup){
GivePlayerWeapon(playerid,346,500);
GivePlayerWeapon(playerid,346,500);
GivePlayerWeapon(playerid,321,1);
GivePlayerWeapon(playerid,334,1);
SetPlayerArmour(playerid,100);
SendClientMessage(playerid, COLOR_BLUE, "The Weapons will respawn after 30 Sec!");
}
return 1;
}
forward Time();
public Time()
{
new h;
gettime(h);
if(h == 18 || h == 19) // here we check if it is 19h or 18h if it is we will set the world time to current time plus 5 hours so it will be night and so we are goin on with this below
{
SetWorldTime(h+5);
}
else if(h == 20 || h == 21)
{
SetWorldTime(h+4);
}
else if(h == 22 || h == 23)
{
SetWorldTime(h+2);
}
else // here we check if current time is not 18,19,20,21,22,23 (everything that we haven't specified before) and if time is like 9h AM it will set your world time to 9
{
SetWorldTime(h);
}
}
|
|
|
Error 029 plzz help |
Posted by: abdr37888 - 2023-06-23, 07:40 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(237) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(237 -- 238) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(267) : error 029: invalid expression, assumed zero
D:\Abdrahman's Folder\Map\Scripts\samp037_svr_R2-1-1_win32\gamemodes\Tutori.pwn(267 -- 268) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
The wrong here:
if(PlayerInfo[playerid][pAdmin]) = 7
{
SetPlayerColor(playerid,COLOR_RED);
}
How to solve it plzzz help
|
|
|
???? in server chat |
Posted by: xqtOr - 2023-06-23, 04:05 AM - Forum: Support
- Replies (1)
|
 |
When I use Cyrillic anywhere in game mode, whether it's the output of messages to the chat via SendClientMessage, etc. then I get instead of Russian text - ???? And also, after compiling the mod with Cyrillic in qawno, and opening the file again, the Cyrillic in the file itself also changes to ???
|
|
|
|