#include <a_samp>#define COLOR_RED 0xAA3333AA#define COLOR_GREEN 0x33AA33AApublic OnGameModeInit(){SetGameModeText(\"Blank Script\");AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);return 1;}public OnPlayerRequestClass(playerid, classid){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/búza\", cmdtext, true, 5) == 0){BuzaNoveszt();SendClientMessage(playerid, COLOR_RED, \"Megnövesztetted a búzát!\");return 1;}return 0;}forward BuzaNoveszt();public BuzaNoveszt() // 239 object{ CreateObject(855, 27.40, 60.73, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.15, 62.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.15, 62.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.35, 60.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 35.12, 58.10, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.52, 55.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.20, 53.70, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.76, 51.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.40, 48.51, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.87, 45.76, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.09, 43.15, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.44, 40.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.38, 38.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.99, 34.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.57, 32.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.81, 30.72, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.08, 27.84, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 78.39, 25.45, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.28, 24.94, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.43, 22.92, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.43, 22.92, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.30, 27.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.35, 31.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.57, 33.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.63, 36.29, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 47.78, 43.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.16, 46.60, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.48, 49.05, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.50, 52.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.96, 54.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 30.43, 55.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 26.36, 56.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 22.65, 58.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.33, 60.27, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.84, 57.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.28, 55.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.45, 53.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.02, 52.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.34, 51.48, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.35, 49.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.11, 46.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.27, 43.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.55, 40.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.54, 36.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.79, 35.32, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.21, 31.95, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.06, 30.33, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.03, 27.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.72, 25.25, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.52, 23.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.21, 21.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 78.13, 19.63, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.86, 19.09, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.79, 16.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.46, 13.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.54, 9.52, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.58, 4.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.65, 0.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.61, 12.16, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.61, 16.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.90, 18.18, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.42, 13.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.43, 11.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.45, 9.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.92, 7.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.93, 5.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 76.14, -3.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.84, 3.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.48, 5.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.49, 8.24, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.48, 10.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 59.70, 19.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.70, 15.00, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.16, 12.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.73, 28.26, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.95, 29.80, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.02, 26.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.16, 21.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.07, 18.18, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.17, 16.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.20, 15.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.77, 14.36, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.25, 19.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.45, 21.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.78, 21.71, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.19, 23.55, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.94, 19.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.94, 19.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.06, 29.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.13, 23.29, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.13, 27.54, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 32.71, 29.49, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.16, 26.26, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.18, 30.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.57, 34.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.57, 34.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.74, 31.46, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.73, 27.72, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.75, 27.71, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.82, 18.55, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.88, 19.88, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.70, 22.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.69, 24.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.38, 25.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.49, 37.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.91, 33.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.49, 37.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.49, 37.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.07, 26.75, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.20, 40.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.20, 40.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.12, 27.54, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.99, 27.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.93, 41.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.89, 36.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.89, 36.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.59, 45.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.39, 41.77, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.82, 36.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 24.77, 32.48, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 24.08, 28.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.14, 30.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 16.23, 33.23, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 12.47, 35.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 12.46, 41.62, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.46, 53.59, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.47, 48.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.47, 48.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.83, 50.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 19.51, 44.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.10, 39.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.18, 36.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.60, 42.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.04, 45.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.76, 34.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.76, 34.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.65, 0.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.72, -8.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.58, -13.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 73.68, -18.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 72.77, -23.19, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.24, -28.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 70.10, -32.74, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.97, -35.25, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.99, -41.80, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.33, -29.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 67.71, -24.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.12, -19.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 70.06, -14.33, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.28, -9.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.85, -4.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 72.52, 0.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 67.99, -1.97, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.04, -7.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.48, -12.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.67, -18.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.95, -23.01, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.14, -28.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.70, -27.76, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.79, -22.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.44, -18.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.66, -24.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.46, -19.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.02, -14.69, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.46, -10.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.54, -4.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.08, -0.46, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.36, 1.78, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 59.23, 4.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.77, -4.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.84, -0.87, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.75, -8.59, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.37, -5.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.75, -13.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.15, -18.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.06, -21.35, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.32, -17.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.94, -13.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.47, -9.09, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.22, 8.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.78, 9.94, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.15, 3.00, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.45, -2.35, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.07, -7.78, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.10, -6.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.67, -1.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.01, 5.49, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.15, 5.04, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.15, 5.04, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.61, -0.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.02, -5.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.97, -12.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.02, -8.70, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.19, -5.31, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.19, -5.31, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.10, -2.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.70, 1.24, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.34, 5.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.44, 2.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.07, -0.19, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.60, 4.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.12, 7.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.04, 9.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.45, 13.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.82, 10.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.17, 8.63, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 47.40, 12.14, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.80, 14.01, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.26, 15.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.24, 17.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.50, 13.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.13, 8.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.18, 4.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 30.66, 7.43, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 32.06, 11.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.28, 16.32, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.88, 21.15, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.59, 23.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.60, 18.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.04, 14.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.20, 11.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.99, 14.95, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.96, 18.74, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.72, 22.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.82, 25.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.14, 25.83, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.51, 21.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 22.06, 17.73, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 21.53, 26.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 19.49, 22.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.57, 25.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.63, 29.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.63, 29.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.60, -37.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 14.45, 45.42, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.21, 47.98, -0.50, 0.00, 0.00, 0.00); return 1;}new Aratott[MAX_PLAYERS];forward BuzaVag(playerid);public BuzaVag(playerid){ new S[128]; new Float:x, Float:y, Float:z; new vehicleid = GetPlayerVehicleID(playerid);if(GetVehicleModel(vehicleid) == 532) { if(IsPlayerInRangeOfPoint(playerid, 150.0, 42.5371,25.1573,2.5907)) { for(new o; o < MAX_OBJECTS; o++) { GetObjectPos(o, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z)) { DestroyObject(o); Aratott[playerid]++; } } } else { SendClientMessage(playerid, COLOR_RED, \"Ne vidd el a kombájnt!\"); } }new BuzaTimer[MAX_PLAYERS]; if(Aratott[playerid] == 239) { KillTimer(BuzaTimer[playerid]); format(S, sizeof(S), \"Learattál %d négyzetméter búzát! Fizetésed: %d$\", Aratott[playerid], Aratott[playerid] * 1); SendClientMessage(playerid, COLOR_GREEN, S); Aratott[playerid] = 0; } return 1;}
for(new i; i < MAX_OBJECTS; i++)if(GetObjectModel(i)== búzamodellid){new Float:x, Float:y, Float:z;GetObjectPos(i, x, y, z);if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z)){DestroyObject(i);Aratott[playerid]++;}}
#include <a_samp>#include <GetObjectModel>#define COLOR_RED 0xAA3333AA#define COLOR_GREEN 0x33AA33AApublic OnGameModeInit(){SetGameModeText(\"Blank Script\");AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);return 1;}public OnPlayerRequestClass(playerid, classid){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/búza\", cmdtext, true, 5) == 0){BuzaNoveszt();SendClientMessage(playerid, COLOR_RED, \"Megnövesztetted a búzát!\");return 1;}return 0;}forward BuzaNoveszt();public BuzaNoveszt() // 239 object{ CreateObject(855, 27.40, 60.73, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.15, 62.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.15, 62.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.35, 60.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 35.12, 58.10, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.52, 55.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.20, 53.70, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.76, 51.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.40, 48.51, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.87, 45.76, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.09, 43.15, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.44, 40.37, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.38, 38.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.99, 34.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.57, 32.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.81, 30.72, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.08, 27.84, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 78.39, 25.45, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.28, 24.94, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.43, 22.92, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.43, 22.92, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.30, 27.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.35, 31.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.57, 33.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.63, 36.29, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 47.78, 43.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.16, 46.60, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.48, 49.05, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.50, 52.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.96, 54.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 30.43, 55.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 26.36, 56.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 22.65, 58.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.33, 60.27, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.84, 57.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.28, 55.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.45, 53.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.02, 52.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.34, 51.48, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.35, 49.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.11, 46.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.27, 43.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.55, 40.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.54, 36.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.79, 35.32, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.21, 31.95, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.06, 30.33, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.03, 27.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.36, 36.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.72, 25.25, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.52, 23.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.21, 21.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 78.13, 19.63, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.86, 19.09, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.79, 16.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.46, 13.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.54, 9.52, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.58, 4.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.65, 0.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.61, 12.16, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.61, 16.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.90, 18.18, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.42, 13.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.43, 11.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 68.45, 9.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.92, 7.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 74.93, 5.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 76.14, -3.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.84, 3.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.48, 5.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.49, 8.24, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.48, 10.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 59.70, 19.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.70, 15.00, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.16, 12.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.73, 28.26, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.95, 29.80, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.02, 26.08, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.16, 21.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.07, 18.18, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.17, 16.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.20, 15.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.77, 14.36, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.25, 19.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.45, 21.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.78, 21.71, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.19, 23.55, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.94, 19.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 50.94, 19.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.06, 29.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.13, 23.29, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.13, 27.54, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 32.71, 29.49, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.16, 26.26, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.18, 30.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.57, 34.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.57, 34.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.74, 31.46, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.73, 27.72, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.75, 27.71, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.82, 18.55, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.88, 19.88, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.70, 22.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.69, 24.56, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.38, 25.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.49, 37.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 37.91, 33.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.49, 37.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.49, 37.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.07, 26.75, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.20, 40.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.20, 40.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.12, 27.54, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.99, 27.44, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.93, 41.28, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.89, 36.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.89, 36.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.59, 45.38, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.39, 41.77, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.82, 36.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 24.77, 32.48, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 24.08, 28.98, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.14, 30.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 16.23, 33.23, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 12.47, 35.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 12.46, 41.62, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.46, 53.59, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.47, 48.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 15.47, 48.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.83, 50.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 19.51, 44.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.10, 39.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.18, 36.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.60, 42.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.04, 45.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.76, 34.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 20.76, 34.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 77.65, 0.79, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.72, -8.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 75.58, -13.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 73.68, -18.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 72.77, -23.19, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.24, -28.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 70.10, -32.74, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.97, -35.25, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.99, -41.80, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.33, -29.93, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 67.71, -24.86, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 69.12, -19.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 70.06, -14.33, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.28, -9.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.85, -4.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 72.52, 0.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 67.99, -1.97, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 66.04, -7.81, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 64.48, -12.64, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.67, -18.53, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.95, -23.01, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.14, -28.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.70, -27.76, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.79, -22.82, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.44, -18.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.66, -24.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.46, -19.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.02, -14.69, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 61.46, -10.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 63.54, -4.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 65.08, -0.46, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 62.36, 1.78, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 59.23, 4.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 60.77, -4.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.84, -0.87, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 58.75, -8.59, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.37, -5.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 56.75, -13.39, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.15, -18.13, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.06, -21.35, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.32, -17.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.94, -13.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 54.47, -9.09, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 57.22, 8.58, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.78, 9.94, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 55.15, 3.00, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 53.45, -2.35, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 51.07, -7.78, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.10, -6.02, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.67, -1.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 49.01, 5.49, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.15, 5.04, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 52.15, 5.04, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.61, -0.89, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.02, -5.34, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 48.97, -12.85, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 45.02, -8.70, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.19, -5.31, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.19, -5.31, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.10, -2.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.70, 1.24, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.34, 5.65, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.44, 2.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.07, -0.19, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.60, 4.07, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 42.12, 7.06, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 39.04, 9.57, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 40.45, 13.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 43.82, 10.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 46.17, 8.63, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 47.40, 12.14, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 44.80, 14.01, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 41.26, 15.66, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 38.24, 17.40, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 36.50, 13.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.13, 8.50, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.18, 4.99, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 30.66, 7.43, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 32.06, 11.91, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 33.28, 16.32, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 34.88, 21.15, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 31.59, 23.12, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 29.60, 18.61, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.04, 14.67, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.20, 11.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.99, 14.95, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.96, 18.74, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 27.72, 22.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 28.82, 25.11, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 25.14, 25.83, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 23.51, 21.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 22.06, 17.73, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 21.53, 26.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 19.49, 22.22, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 17.57, 25.90, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.63, 29.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.63, 29.47, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 71.60, -37.41, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 14.45, 45.42, -0.50, 0.00, 0.00, 0.00); CreateObject(855, 18.21, 47.98, -0.50, 0.00, 0.00, 0.00); return 1;}new Aratott[MAX_PLAYERS];forward BuzaVag(playerid);public BuzaVag(playerid){ new S[128]; new Float:x, Float:y, Float:z; new vehicleid = GetPlayerVehicleID(playerid);if(GetVehicleModel(vehicleid) == 532) { if(IsPlayerInRangeOfPoint(playerid, 150.0, 42.5371,25.1573,2.5907)) { for(new i; i < MAX_OBJECTS; i++) if(GetObjectModel(i)== 855) { GetObjectPos(i, x, y, z); if(IsPlayerInRangeOfPoint(playerid, 7.0, x, y, z)) { DestroyObject(i); Aratott[playerid]++; } } } else { SendClientMessage(playerid, COLOR_RED, \"Ne vidd el a kombájnt!\"); } }new BuzaTimer[MAX_PLAYERS]; if(Aratott[playerid] == 239) { KillTimer(BuzaTimer[playerid]); format(S, sizeof(S), \"Learattál %d négyzetméter búzát! Fizetésed: %d$\", Aratott[playerid], Aratott[playerid] * 1); SendClientMessage(playerid, COLOR_GREEN, S); Aratott[playerid] = 0; } return 1;}