29.10.2016, 17:22
The error:
My OnGameModeInIt:
Quote:
Script[gamemodes\ServerProject.amx]: During execution of Itter_OnGameModeInIt(): Script[gamemodes\ServerProject.amx]: Run time error 4: "Array index out of bound Additional information: Array max index is 4999 but accesing an element at 65535 |
Quote:
public OnGameModeInit() { new S[512]; AntiDeAMX(); ExtiBetolt(); IntiBetolt(); RendorSzefBetolt(); SzereloSzefBetolt(); MentosSzefBetolt(); AdosSzefBetolt(); TuzoltoSzefBetolt(); MaffiaSzefBetolt(); SurenyosSzefBetolt(); OOC = false; //ShowNameTags(false); DisableInteriorEnterExits(); EnableStuntBonusForAll(0); ShowPlayerMarkers(false); ManualVehicleEngineAndLights(); SetGameModeText("DEFENSIVE 1.0"); SendRconCommand("mapname |-Eq-Lp-|"); ido = SetTimer("reklam",190000*1,true); SetTimer("NevTimer", 1000, 1); SetTimer("ArmorFrissit", 1000, 1); SetTimer("TrafiEllenor", 2000, true); SetWeather(3); CreatePickup(1318, 0, -218.2355,2680.5073,64.1359, 0); // faszбllнtу melу CreatePickup(1318, 0, -726.4269,2746.5244,47.2266, 0); // buszos munka melу CreatePickup(1318, 0, -877.8109,2773.1411,46.8241, 0); // kamionos munka melу CreatePickup(1318, 0, 2586.8201,1431.7942,20.4447, 0); // targoncбs melу CreatePickup(1318, 0, 377.2484,-177.6030,1000.6328, 0); // pizzбs melу CreatePickup(1318, 0, -1515.7794,2590.2500,55.8359, 0); // ьgyvйd munka melу CreatePickup(1318, 0, -1532.5428,2656.6392,56.2814, 0); // villanyszerelő munka melу CreatePickup(1318, 0, -1525.7876,2624.9998,55.8500, 0); // ъttisztнtу munka melу CreatePickup(1314, 0, -467.2892,2657.3079,63.8341, 0);//lecsukуhely CreatePickup(1241, 0, -325.3307,1533.4919,75.4559, 0); // Drogdealer munka CreatePickup(1241, 0, 2173.1675,-1868.4701,17.7159, 0); // fegyverkereskedő munka CreatePickup(1221, 0, 2567.3049,1454.0649,20.4447, 0); //Targoncбs pickup CreatePickup(1221, 0, 2581.1846,1453.2017,20.4447, 0); //Targoncбs pickup CreatePickup(1221, 0, 2568.5564,1448.8290,20.4447, 0); //Targoncбs pickup CreatePickup(1279, 0, -330.9120,1532.8210,75.4559, 0); //Kokain kйszнtő CreatePickup(2901, 0, -326.0657,1526.5264,75.4559, 0); //Fь kйszнtő CreatePickup(336, 0, 2174.0913,-1871.3551,17.7159, 0); //base kйszнtő CreatePickup(346, 0, 2172.0828,-1872.5348,17.7159, 0); //colt kйszнtő CreatePickup(348, 0, 2170.1750,-1872.4673,17.7159, 0); //desi kйszнtő infopickup = CreatePickup(1318, 2, -2384.3486,2439.4763,1001.0859, 0);// info pickup CreateVehicle(599, -442.5641, 2667.2637, 63.9910, 0.0000, 1, 0, 0); //rendőr ID:1 CreateVehicle(599, -447.4353, 2667.2297, 63.9910, 0.0000, 1, 0, 0); //rendőr ID:2 CreateVehicle(596, -456.4924, 2661.4675, 63.9910, 0.0000, 1, 0, 0); //rendőr ID:3 CreateVehicle(596, -446.1332, 2661.1536, 63.5510, 90.0000, 1, 0, 0); //rendőr ID:4 CreateVehicle(596, -446.1432, 2656.7085, 63.5510, 90.0000, 1, 0, 0); //rendőr ID:5 CreateVehicle(598, -443.5627, 2687.3640, 63.5510, 90.0000, 1, 0, 0); //rendőr ID:6 CreateVehicle(598, -443.6129, 2683.3838, 63.5510, 90.0000, 1, 0, 0); //rendőr ID:7 CreateVehicle(598, -443.5009, 2679.2727, 63.5510, 90.0000, 1, 0, 0); //rendőr ID:8 CreateVehicle(525, -303.4556, 2688.1506, 62.5378, 91.0000, 1, 1, 0); //szerelő ID:9 CreateVehicle(525, -303.4375, 2682.9541, 62.5378, 91.0000, 1, 1, 0); //szerelő ID:10 CreateVehicle(525, -303.5737, 2677.8479, 62.5378, 91.0000, 1, 1, 0); //szerelő ID:11 CreateVehicle(525, -303.5391, 2672.2603, 62.5378, 91.0000, 1, 1, 0); //szerelő ID:12 CreateVehicle(416, -1400.9393, 2631.5259, 55.7950, 90.0000, 1, 3, 0); //mentő ID:13 CreateVehicle(416, -1400.9729, 2637.6611, 55.7950, 90.0000, 1, 3, 0); //mentő ID:14 CreateVehicle(416, -1401.0514, 2643.9834, 55.7950, 90.0000, 1, 3, 0); //mentő ID:15 CreateVehicle(416, -1401.0988, 2650.3035, 55.7950, 90.0000, 1, 3, 0); //mentő ID:16 CreateVehicle(416, -1401.1384, 2656.5093, 55.7950, 90.0000, 1, 3, 0); //mentő ID:17 CreateVehicle(426, -1497.3912, 2525.1501, 55.3561, 0.0000, 0, 0, 0); //adуs kocsi ID:18 CreateVehicle(482, -1503.6083, 2525.3364, 55.6961, 0.0000, 0, 0, 0); //adуs kocsi ID:19 CreateVehicle(547, -1509.9332, 2525.1125, 55.3561, 0.0000, 0, 0, 0); //adуs kocsi ID:20 CreateVehicle(514, -1308.1089, 2695.3909, 50.5508, -149.0000, -1, -1, 500); //benzinszбllнtу ID:21 CreateVehicle(584, -1313.7269, 2704.5793, 51.0708, 212.0000, -1, -1, 500); //benzinszбllнtу ID:22 CreateVehicle(584, -1309.4984, 2707.2800, 51.0708, 212.0000, -1, -1, 500); //benzinszбllнtу ID:23 CreateVehicle(514, -1303.7584, 2697.9976, 50.5508, -149.0000, -1, -1, 500); //benzinszбllнtу ID:24 CreateVehicle(584, -1305.6035, 2709.7698, 51.0708, 212.0000, -1, -1, 500); //benzinszбllнtу ID:25 CreateVehicle(514, -1299.8308, 2700.2751, 50.5508, -149.0000, -1, -1, 500); //benzinszбllнtу ID:26 CreateVehicle(530,2564.9609,1438.7284,20.2066,270. 7869,111,1, 100); //targonca ID:27 CreateVehicle(530,2564.8335,1436.2084,20.2065,267. 4125,112,1, 100); //targonca ID:28 CreateVehicle(530,2564.9063,1433.8743,20.1851,268. 2086,119,1, 100); //targonca ID:29 CreateVehicle(530,2565.0061,1431.3691,20.1881,268. 7141,114,1, 100); //targonca ID:30 LinkVehicleToInterior(28, 10); LinkVehicleToInterior(27, 10); LinkVehicleToInterior(29, 10); LinkVehicleToInterior(30, 10); CreateVehicle(574, -1517.8859, 2628.8440, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:31 CreateVehicle(574, -1517.8925, 2631.6450, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:32 CreateVehicle(574, -1517.9492, 2634.4106, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:33 CreateVehicle(574, -1518.0449, 2637.2146, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:34 CreateVehicle(574, -1518.2004, 2640.3064, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:35 CreateVehicle(574, -1518.2832, 2643.6755, 55.5256, 90.0000, 6, 3, 500); //ъtnyalу ID:36 CreateVehicle(552, -1528.7296, 2626.3572, 55.4418, 0.0000, -1, -1, 500); //villanyszerelő ID:37 CreateVehicle(552, -1533.0016, 2626.5415, 55.4418, 0.0000, -1, -1, 500); //villanyszerelő ID:38 CreateVehicle(552, -1529.1221, 2643.9731, 55.4418, 90.0000, -1, -1, 500); //villanyszerelő ID:39 CreateVehicle(448, -1416.4388, 2590.1123, 55.3706, 90.0000, 3, 3, 500); //pizzбs moci ID:40 CreateVehicle(448, -1416.3972, 2588.5332, 55.3706, 90.0000, 3, 3, 500); //pizzбs moci ID:41 CreateVehicle(448, -1416.3917, 2587.0513, 55.3706, 90.0000, 3, 3, 500); //pizzбs moci ID:42 CreateVehicle(448, -1416.3824, 2585.4875, 55.3706, 90.0000, 3, 3, 500); //pizzбs moci ID:43 CreateVehicle(589, -1255.8865, 2717.0286, 49.6985, 209.0000, 1, 1, 500); //jogsiskocsiID:44 CreateVehicle(565, -1258.8286, 2715.4436, 49.7185, -152.0000, 1, 1, 500); //jogsiskocsiID:45 CreateVehicle(558, -1261.7013, 2713.8987, 49.6785, 209.0000, 1, 1, 500); //jogsiskocsiID:46 CreateVehicle(431, -744.3074, 2752.2092, 47.2399, 181.0000, 8, 8, 500); //busz ID:47 CreateVehicle(431, -739.8215, 2752.2183, 47.2399, 181.0000, 8, 8, 500); //busz ID:48 CreateVehicle(431, -735.1315, 2752.1904, 47.2399, 181.0000, 8, 8, 500); //busz ID:49 CreateVehicle(515, -897.2478, 2749.1658, 47.4737, -84.0000, -1, -1, 500); //kamion ID:50 CreateVehicle(515, -897.9072, 2755.6311, 47.4737, -84.0000, -1, -1, 500); //kamion ID:51 CreateVehicle(515, -898.6351, 2761.8086, 47.4737, -84.0000, -1, -1, 500); //kamion ID:52 CreateVehicle(515, -898.9618, 2768.1199, 47.4737, -84.0000, -1, -1, 500); //kamion ID:53 CreateVehicle(450, -880.9509, 2743.0669, 47.1006, -34.0000, -1, -1, 500); //kamion ID:54 CreateVehicle(450, -874.5281, 2743.0913, 47.1006, -34.0000, -1, -1, 500); //kamion ID:55 CreateVehicle(450, -868.3865, 2743.0044, 47.1006, -34.0000, -1, -1, 500); //kamion ID:56 CreateVehicle(450, -862.0826, 2742.9063, 47.1006, -34.0000, -1, -1, 500); //kamion ID:57 CreateVehicle(578, -213.0581, 2664.1274, 63.2992, 180.0000, -1, -1, 500); //faszбllнtу ID:58 CreateVehicle(578, -208.0244, 2664.2261, 63.2992, 180.0000, -1, -1, 500); //faszбllнtу ID:59 CreateVehicle(578, -202.4991, 2664.1716, 63.2992, 180.0000, -1, -1, 500); //faszбllнtу ID:60 CreateVehicle(407, -155.9438, 2675.6794, 63.1677, 0.0000, 3, 3, 0); //tűzoltу ID:61 CreateVehicle(407, -164.3468, 2676.0784, 63.1677, 0.0000, 3, 3, 0); //tűzoltу ID:62 CreateVehicle(599, -172.6857, 2676.2842, 63.1037, 0.0000, 3, 1, 0); //tűzoltу ID:63 // [ S Z A B A D ] // CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); CreateVehicle(400, 2000.00, 2000.00, - 2000.00, 000.00, 6, 6, 0); // [ S Z A B A D ] // print("- Alap Kocsik Betцltve!"); Create3DTextLabel("{FFFF00}(( {FF0000}/vesz {FFFF00}))", CITROM, -23.2830,-55.2330,1003.5469, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/italvesz {FFFF00}))", CITROM, -224.7817,1403.6461,27.7734, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/telefon {FFFF00}))", CITROM, 83.3442,736.3026,5001.0859, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/bank {FFFF00}))", CITROM, 1037.7026,1260.1918,20.4459, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/jogosнtvбny {FFFF00}))", CITROM, 2396.4150,1443.7234,15.9459, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/ruhavesz {FFFF00}))", CITROM, 206.5217,-46.1603,1001.8047, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/йtlap {FFFF00}))", CITROM, 379.2077,-190.6055,1000.6328, 25, 0, 1); Create3DTextLabel("{FFFF00}(( {FF0000}/adуbefizet {FFFF00}- {FF0000}/bьntetйsbefizet {FFFF00}))", CITROM, -2159.0662, 640.5510, 1052.3817, 25, 0, 0); Create3DTextLabel("{FFFF00}(( {FF0000}/fizetйsfelvesz {FFFF00}))", CITROM, -2161.3088,640.6118,1052.3817, 25, 0, 0); Create3DTextLabel("{FFFF00}(( {FF0000}/jбrművesz {FFFF00}))", CITROM, -1957.0723,297.8704,35.4688, 10, 0, 0); Create3DTextLabel("{FFFF00}(( {FF0000}/bank {FFFF00}))", CITROM, 1037.6920,1260.2183,20.4459, 10, 0, 0); //be jбratok Create3DTextLabel("{3333CC}>>>{FF9900} Droghбz {3333CC}<<<",0xFB0000FF,-1668.1570,2486.3406,87.1724,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Rendőrsйg {3333CC}<<<",0xFB0000FF,-481.6050,2673.0623,64.5282,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Kуrhбz {3333CC}<<<",0xFB0000FF,-1390.0133,2638.6421,55.9844,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Szerelő Iroda {3333CC}<<<",0xFB0000FF,-300.4575,2658.2344,63.1989,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Raktбr йpьlet {3333CC}<<<",0xFB0000FF,-944.2415,2736.0225,46.2159,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Oktatу iroda {3333CC}<<<",0xFB0000FF,-1271.3979,2713.3899,50.2663,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Pizzбzу {3333CC}<<<",0xFB0000FF,-1427.5652,2581.5488,55.8559,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Йtterem {3333CC}<<<",0xFB0000FF,-255.1498,2603.2417,62.8582,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Telefon bolt {3333CC}<<<",0xFB0000FF,-288.9531,2689.7900,62.8125,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Pуsta {3333CC}<<<",0xFB0000FF,-242.8505,2711.9502,62.6875,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Class Fm Stъdiу {3333CC}<<<",0xFB0000FF,-271.5886,2691.6653,62.6875,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Kocsma {3333CC}<<<",0xFB0000FF,-1440.6226,2611.6799,55.9844,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Adуhivatal {3333CC}<<<",0xFB0000FF,-1514.7196,2518.9287,56.0703,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Ruhabolt {3333CC}<<<",0xFB0000FF,-1519.2239,2610.3264,55.8359,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Bank {3333CC}<<<",0xFB0000FF,-1457.9631,2589.9758,55.9957,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Kisbolt {3333CC}<<<",0xFB0000FF,-1480.9141,2591.6628,55.8359,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Motel {3333CC}<<<",0xFB0000FF,-1465.6375,2611.9880,56.1797,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Polgбrmesteri Hivatal {3333CC}<<<",0xFB0000FF,-1531.0457,2591.6584,55.8359,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Horgбszbolt {3333CC}<<<",0xFB0000FF,-208.1855,2713.0957,62.9794,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Autуszalon {3333CC}<<<",0xFB0000FF,-1337.1989,2698.0105,50.0625,10.0,0); Create3DTextLabel("{3333CC}>>>{FF9900} Tűzoltуsбg {3333CC}<<<",0xFB0000FF,-147.2817,2671.0994,63.0422,10.0,0); //munka felvevőknйl a 3d-textek Create3DTextLabel("{000000}>>>{33FF00} Ъttisztнtу munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-1525.7876,2624.9998,55.8500,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Targoncбs munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,2586.8201,1431.7942,20.444 7,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Pizzбs munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,377.2484,-177.6030,1000.6328,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Ьgyvйd munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-1515.7794,2590.2500,55.8359,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Villanyszerelő munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-1532.5428,2656.6392,56.2814,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Faszбllнtу munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-218.2355,2680.5073,64.1359,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Javнtбs alatt! {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-23.5474,74.5217,3.1096,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Kamionos munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-877.8109,2773.1411,46.8241,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Buszsofőr munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-726.4269,2746.5244,47.2266,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Nyomj 'ALT' ot hogy drogleader legyйl! {000000}<<<",0xFB0000FF,-325.3307,1533.4919,75.4559,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Nyomj 'ALT' ot hogy drogleader legyйl! {000000}<<<",0xFB0000FF,2173.1675,-1868.4701,17.7159,10.0,0); Create3DTextLabel("{000000}>>>{33FF00} Benzinszбllнtу munka {000000}<<<\n{000000}>>>{33FF00} Nyomj 'ALT' gombot a munka felvйtelйhez! {000000}<<<",0xFB0000FF,-1303.0131,2716.5813,50.0625,10.0,0); //egyйb Create3DTextLabel("{000000}>>>{33FF00} /lecsuk {000000}<<<",0xFB0000FF,-467.2892,2657.3079,63.8341,10.0,0); Create3DTextLabel("{000000}>>>{FF00CC} Emeld meg a villбt {000000}<<<",0xFB0000FF,2579.7317,1452.8999,20.444 7,3.0,0); // tarogncбs 3d Create3DTextLabel("{000000}>>>{FF00CC} Emeld meg a villбt {000000}<<<",0xFB0000FF,2567.5012,1456.1569,20.444 7,3.0,0); // tarogncбs 3d Create3DTextLabel("{000000}>>>{FF00CC} Emeld meg a villбt {000000}<<<",0xFB0000FF,2568.5605,1447.1981,20.444 7,3.0,0); // tarogncбs 3d Create3DTextLabel("{000000}>>>{FF00CC} Elged le a villбt {000000}<<<",0xFB0000FF,2568.7068,1430.6743,20.444 7,10.0,0); // tarogncбs 3d Create3DTextLabel("{000000}>>>{FF00CC} Enged le a villбt {000000}<<<",0xFB0000FF,2582.7791,1430.2800,20.444 7,10.0,0); // tarogncбs 3d Create3DTextLabel("{000000}>>>{FF00CC} /tankol {000000}<<<",0xFB0000FF,-1329.5631,2677.8569,50.0625,10.0,0); Create3DTextLabel("{000000}>>>{FF00CC} /szйf {000000}<<<",0xFB0000FF,2986.9336,1544.4816,39.735 9,10.0,0); Create3DTextLabel("{000000}>>>{FF00CC} /szйf {000000}<<<",0xFB0000FF,1016.1547,1030.1827,48.175 9,10.0,0); Create3DTextLabel("{000000}>>>{FF00CC} /szйf {000000}<<<",0xFB0000FF,1710.9364,1188.7935,35.275 9,10.0,0); szkapu1 = CreateObject(2957, -285.96, 2660.50, 63.30, 0.00, 0.00, 90.00); szkapu2 = CreateObject(2957, -315.80, 2681.82, 63.24, 0.00, 0.00, 88.00); Gyujtokapu = CreateObject(969, -1889.25, 2151.46, 5.51, 0.00, 0.00, -63.00); bankajto = CreateObject(2959, 1037.70, 1264.85, 19.45, 0.00, 0.00, 90.00); szef = CreateObject(2332, 1037.04, 1270.30, 19.89, 0.00, 0.00, 0.00); alexkapu1 = CreateObject(2988, -636.84, 2695.10, 71.42, 0.00, 0.00, 92.00); alexkapu2 = CreateObject(2988, -628.44, 2695.42, 71.42, 0.00, 0.00, 272.00); print("Kapuk betцltve!"); print("Цsszes interior sikeresen betцltve!"); print("- 3D Textek Betцltve!"); for(new i; i < MAX_HAZ; i ++) { HazBetolt(i); } print("- Hбzak Betцltve!"); i_Pickup = CreatePickup( 1239, 1, f_Pickup[0], f_Pickup[1], f_Pickup[2] ); UpdateTime(); SetTimer("UpdateTime", 1000 * 60,1); SetTimer("KocsiText", 200, true); SetTimer("KocsiFrissit", 30000, true); new varoshaza = CreateObject(19353, 1273.9812, 238.1935, 25.0953, 0.0000, 0.0000, -24.4662); SetObjectMaterialText(varoshaza, "V Б R O S H Б Z A", 0, 100, "Arial", 35, 0, -8092540, 0, 1); new bank = CreateObject(19353, 1222.8789, 247.1243, 24.6762, 0.0000, 0.0000, -23.8663); SetObjectMaterialText(bank, "BANK", 0, 100, "Arial", 100, 0, -8092540, 0, 1); for(new i; i <MAX_VEHICLES; i ++) { MilyenUzemAnyag(i); if(GetVehicleModel(i) == 416) vInfo[i][UZEMANYAG] = 70, vInfo[i][MAXUZEMANYAG] = 70; if(GetVehicleModel(i) == 599) vInfo[i][UZEMANYAG] = 40, vInfo[i][MAXUZEMANYAG] = 40; if(GetVehicleModel(i) == 59 vInfo[i][UZEMANYAG] = 40, vInfo[i][MAXUZEMANYAG] = 40; if(GetVehicleModel(i) == 574) vInfo[i][UZEMANYAG] = 20, vInfo[i][MAXUZEMANYAG] = 20; if(GetVehicleModel(i) == 44 vInfo[i][UZEMANYAG] = 15, vInfo[i][MAXUZEMANYAG] = 15; if(GetVehicleModel(i) == 540) vInfo[i][UZEMANYAG] = 60, vInfo[i][MAXUZEMANYAG] = 60; if(GetVehicleModel(i) == 566) vInfo[i][UZEMANYAG] = 40, vInfo[i][MAXUZEMANYAG] = 40; if(GetVehicleModel(i) == 507) vInfo[i][UZEMANYAG] = 40, vInfo[i][MAXUZEMANYAG] = 40; if(GetVehicleModel(i) == 482) vInfo[i][UZEMANYAG] = 40, vInfo[i][MAXUZEMANYAG] = 40; if(GetVehicleModel(i) == 515) vInfo[i][UZEMANYAG] = 300, vInfo[i][MAXUZEMANYAG] = 300; if(GetVehicleModel(i) == 514) vInfo[i][UZEMANYAG] = 300, vInfo[i][MAXUZEMANYAG] = 300; if(GetVehicleModel(i) == 525) vInfo[i][UZEMANYAG] = 70, vInfo[i][MAXUZEMANYAG] = 70; if(GetVehicleModel(i) == 552) vInfo[i][UZEMANYAG] = 60, vInfo[i][MAXUZEMANYAG] = 60; if(GetVehicleModel(i) == 57 vInfo[i][UZEMANYAG] = 120, vInfo[i][MAXUZEMANYAG] = 120; if(GetVehicleModel(i) == 532) vInfo[i][UZEMANYAG] = 150, vInfo[i][MAXUZEMANYAG] = 150; if(GetVehicleModel(i) == 530) vInfo[i][UZEMANYAG] = 50, vInfo[i][MAXUZEMANYAG] = 50; if(GetVehicleModel(i) == 407) vInfo[i][UZEMANYAG] = 250, vInfo[i][MAXUZEMANYAG] = 250; if(GetVehicleModel(i) == 596) vInfo[i][UZEMANYAG] = 55, vInfo[i][MAXUZEMANYAG] = 55; if(GetVehicleModel(i) == 431) vInfo[i][UZEMANYAG] = 300, vInfo[i][MAXUZEMANYAG] = 300; if(GetVehicleModel(i) == 55 vInfo[i][UZEMANYAG] = 50, vInfo[i][MAXUZEMANYAG] = 50; if(GetVehicleModel(i) == 565) vInfo[i][UZEMANYAG] = 50, vInfo[i][MAXUZEMANYAG] = 50; if(GetVehicleModel(i) == 589) vInfo[i][UZEMANYAG] = 50, vInfo[i][MAXUZEMANYAG] = 50; } print("- Jбrművek Megtankolva!"); for( new i; i < MAX_VEHICLES; i++ ) { if(dini_Exists(vehicleFile(i)) ) { LoadVehicle( i ); printf("Kocsi %d betцltve!", i); } } print("- Kocsik Betцltve!"); print("- Privбt jбrművek megtankolva!"); UzemanyagBetolt(); format(S, sizeof(S), "Gбzolaj: %d l", Diesel); dieseljelzo = Create3DTextLabel(S, NARANCS, -1329.5138,2680.1528,50.4688, 40.0, 0, 0); format(S, sizeof(S), "Benzin: %d l", Benzin); benzinjelzo = Create3DTextLabel(S, NARANCS, -1330.0687,2674.8279,50.4688, 40.0, 0, 0); KasszakBetolt(); print("- Kasszбk betцltve!"); for(new n = 0; n < MAX_OBJ; n++) FegyverAdat[n][ObjID] = -1; #if defined SAVING new File:file = fopen("EldobottFegyverek.ini", io_read); if(file) { new buffer[256], FileCoords[5][20]; for(new g = 0; g < MAX_OBJ; g++) { fread(file, buffer); split(buffer, FileCoords, ','); FegyverAdat[g][ObjPos][0] = floatstr(FileCoords[0]); FegyverAdat[g][ObjPos][1] = floatstr(FileCoords[1]); FegyverAdat[g][ObjPos][2] = floatstr(FileCoords[2]); FegyverAdat[g][ObjData][0] = strval(FileCoords[3]); FegyverAdat[g][ObjData][1] = strval(FileCoords[4]); if(FegyverAdat[g][ObjData][0] > 0 && FegyverAdat[g][ObjData][1] != 0 && FegyverAdat[g][ObjPos][0] != 0) { FegyverAdat[g][ObjID] = CreateObject(GunObjects[FegyverAdat[g][ObjData][0]], FegyverAdat[g][ObjPos][0], FegyverAdat[g][ObjPos][1], FegyverAdat[g][ObjPos][2]-1, 93.7, 120.0, 120.0); printf("* %s loaded: %f,%f,%f", GunNames[FegyverAdat[g][ObjData][0]], FegyverAdat[g][ObjPos][0], FegyverAdat[g][ObjPos][1], FegyverAdat[g][ObjPos][2]-1); } } } #endif AddPlayerClass(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } |