Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.
Üzenetek - Dani99
1
« Dátum: 2015. július 03. - 08:24:26 »
Hát letöltöttem R7-eset, és most ezt dobja ki: C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(40) : error 017: undefined symbol \"mysql_query\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(85) : error 017: undefined symbol \"mysql_query\" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
2
« Dátum: 2015. július 02. - 22:22:20 »
Sziasztok, valaki tudna segíteni miért írja ezt ki? C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(37) : error 017: undefined symbol \"mysql_ping\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(40) : error 035: argument type mismatch (argument 1) C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(41) : error 017: undefined symbol \"mysql_store_result\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(42) : error 017: undefined symbol \"mysql_num_rows\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(44) : error 017: undefined symbol \"mysql_fetch_row_format\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(56) : error 017: undefined symbol \"mysql_free_result\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\garage.pwn(85) : error 035: argument type mismatch (argument 1) Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 7 Errors.
Előre is köszönöm.
3
« Dátum: 2015. július 02. - 19:58:40 »
---------- Loaded log file: \"server_log.txt\". ---------- SA-MP Dedicated Server ---------------------- v0.3z, (C)2005-2014 SA-MP Team [19:51:35] [19:51:35] Server Plugins [19:51:35] -------------- [19:51:35] Loading plugin: sscanf [19:51:35] [19:51:35] =============================== [19:51:35] sscanf plugin loaded. [19:51:35] Version: 2.8.1 [19:51:35] (c) 2012 Alex \"Y_Less\" Cole [19:51:35] =============================== [19:51:35] Loaded. [19:51:35] Loaded 1 plugins. [19:51:35] [19:51:35] Filterscripts [19:51:35] --------------- [19:51:35] Loading filterscript \'House_System.amx\'... [19:51:35] ]================ Ház rendszer betöltve! By: BoOy ================[ [19:51:35] [19:51:35] Loading filterscript \'tune.amx\'... [19:51:35] Loading filterscript \'bankrablas.amx\'... [19:51:35] Loading filterscript \'banda.amx\'... [19:51:35] -------------------------------------- [19:51:35] Gentleman\'s Gang System for samforum.hu [19:51:35] -------------------------------------- [19:51:35] Loading filterscript \'adminhq.amx\'... [19:51:35] Loading filterscript \'bike.amx\'... [19:51:35] Loading filterscript \'prefixsys.amx\'... [19:51:35] Loading filterscript \'nevszinezo.amx\'... [19:51:35] Loading filterscript \'autolekeres.amx\'... [19:51:35] Loading filterscript \'gl_property.amx\'... [19:51:35] ----------------------------------- [19:51:35] Grand Larceny Property Filterscript [19:51:35] ----------------------------------- [19:51:35] Loading filterscript \'ladmin4v2.amx\'... [19:51:35] ________________________________________ [19:51:35] ________________________________________ [19:51:35] LAdmin Loading... [19:51:35] ________________________________________ [19:51:35] -Configuration Settings Loaded [19:51:35] -39 Forbidden Names Loaded [19:51:35] -10 Forbidden Tags Loaded [19:51:35] -9 Forbidden Words Loaded [19:51:35] ________________________________________ [19:51:35] LAdmin Version 4.0 [19:51:35] Loaded [19:51:35] ________________________________________ [19:51:35] Date: 2/7/2015 Time: 19:51 :35 [19:51:35] ________________________________________ [19:51:35] ________________________________________ [19:51:35] Loading filterscript \'telesa.amx\'... [19:51:35] Loading filterscript \'AutoFix-Flip-InfinityNos.amx\'... [19:51:35] Loading filterscript \'anim.amx\'... [19:51:35] Loading filterscript \'verseny1.amx\'... [19:51:35] Loading filterscript \'dmek.amx\'... [19:51:35] Loaded 16 filterscripts. [19:51:35] Loaded 3 vehicles from: vehicles/trains.txt [19:51:35] Loaded 3 vehicles from: vehicles/pilots.txt [19:51:35] Loaded 15 vehicles from: vehicles/lv_law.txt [19:51:35] Loaded 39 vehicles from: vehicles/lv_airport.txt [19:51:35] Loaded 255 vehicles from: vehicles/lv_gen.txt [19:51:35] Loaded 38 vehicles from: vehicles/sf_law.txt [19:51:35] Loaded 35 vehicles from: vehicles/sf_airport.txt [19:51:35] Loaded 353 vehicles from: vehicles/sf_gen.txt [19:51:35] Loaded 24 vehicles from: vehicles/ls_law.txt [19:51:35] Loaded 37 vehicles from: vehicles/ls_airport.txt [19:51:35] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt [19:51:35] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt [19:51:35] Loaded 71 vehicles from: vehicles/whetstone.txt [19:51:35] Loaded 168 vehicles from: vehicles/bone.txt [19:51:35] Loaded 61 vehicles from: vehicles/flint.txt [19:51:35] Loaded 96 vehicles from: vehicles/tierra.txt [19:51:35] Loaded 96 vehicles from: vehicles/red_county.txt [19:51:35] Total vehicles from files: 1781 [19:51:35] Reading File: blank [19:51:35] Reading File: properties/houses.txt [19:51:35] Reading File: properties/businesses.txt [19:51:35] Reading File: properties/banks.txt [19:51:35] Reading File: properties/police.txt [19:51:35] --------------------------------------- [19:51:35] Running Grand Larceny - by the SA-MP team [19:51:35] --------------------------------------- [19:51:35] Number of vehicle models: 176 Dupla hozzászólás automatikusan összefûzve. ( 2015. július 02. - 20:04:41 )
Probléma megoldva, a log-ban vettem észre hogy nem volt a streamer hozzáírva a pluginokhoz, kössz a segítséget!
4
« Dátum: 2015. július 02. - 15:46:16 »
0.3z verzió és benn a streamer plugin és az include is!
5
« Dátum: 2015. július 02. - 15:23:58 »
Sziasztok, akár milyen CreateDynamicObject -et rakok bele a szerverembe akár a gamemodba, akár az egyik scriptbe, az nem működik, még ha külön sriptbe rakom, akkor sem. Itt van pl. amit most próbálok berakni: #include <a_samp> #include <streamer> public OnGameModeInit() { SetGameModeText(\"Blank Script\"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); CreateDynamicObject(16502, -2767.467285, 1328.645264, 2.384038, 0.0000, 0.0000, 270.0000); CreateDynamicObject(6233, -2766.031738, 1364.843384, 2.939829, 0.0000, 0.0000, 0.0000); CreateDynamicObject(969, -2779.520752, 1324.820068, 4.411676, 0.0000, 0.0000, 247.5000); CreateDynamicObject(969, -2752.747559, 1324.982544, 4.088285, 0.0000, 0.0000, 303.7500); CreateDynamicObject(978, -2782.876221, 1312.251343, 6.965449, 0.0000, 0.0000, 270.0000); CreateDynamicObject(979, -2747.140625, 1313.263428, 7.027720, 0.0000, 0.0000, 101.2500); CreateDynamicObject(16502, -2763.945557, 1328.608032, 2.358547, 0.0000, 0.0000, 270.0000); CreateDynamicObject(16502, -2763.528076, 1342.397705, 0.962520, 358.2811, 14.6104, 87.9034); CreateDynamicObject(16502, -2767.176758, 1342.439697, 0.656493, 358.2811, 14.6104, 87.9034); CreateDynamicObject(13640, -2764.266357, 1365.790161, -0.288155, 0.0000, 0.0000, 270.0000); CreateDynamicObject(13640, -2769.931641, 1365.911377, 0.030070, 0.0000, 0.0000, 270.0000); CreateDynamicObject(16084, -2766.032715, 1369.780762, -9.446416, 347.9679, 340.2330, 101.2500); CreateDynamicObject(16084, -2766.304443, 1402.411255, -9.348915, 347.9679, 340.2330, 280.0128); CreateDynamicObject(6234, -2766.430176, 1440.522583, 5.269430, 3.4377, 0.0000, 0.0000); CreateDynamicObject(16134, -2764.355469, 1420.886841, -1.540552, 0.0000, 0.0000, 45.0000); CreateDynamicObject(16134, -2771.959229, 1431.684082, 0.973216, 0.0000, 0.0000, 202.2768); CreateDynamicObject(16134, -2755.439697, 1432.313843, 1.130158, 0.0000, 0.0000, 243.5299); CreateDynamicObject(16305, -2766.902588, 1473.990967, 8.013203, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2756.923096, 1481.053711, 9.956763, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2773.853760, 1482.714478, 11.067198, 0.0000, 0.0000, 0.0000); CreateDynamicObject(6236, -2783.408203, 1512.037231, 4.255097, 0.0000, 0.0000, 33.5180); CreateDynamicObject(6236, -2818.804688, 1566.888306, 5.182573, 5.1566, 0.0000, 33.5180); CreateDynamicObject(16317, -2773.436279, 1501.468750, 2.715865, 341.0924, 0.0000, 0.0000); CreateDynamicObject(16317, -2788.015869, 1507.718872, 1.475392, 329.9197, 0.0000, 309.2932); CreateDynamicObject(16317, -2776.091797, 1519.854858, 4.698547, 329.9197, 0.0000, 140.5432); CreateDynamicObject(18566, -2788.665771, 1525.336670, 1.237275, 0.0000, 349.6868, 33.7500); CreateDynamicObject(18566, -2794.701904, 1521.010986, 2.047212, 0.0000, 30.0803, 33.7500); CreateDynamicObject(18568, -2792.714111, 1530.012939, 1.380605, 12.0321, 358.2811, 303.7500); CreateDynamicObject(18568, -2795.889648, 1527.535400, 1.017630, 12.0321, 358.2811, 303.7500); CreateDynamicObject(18609, -2797.271973, 1531.513428, 1.329708, 9.4538, 0.0000, 303.7500); CreateDynamicObject(18609, -2800.035156, 1536.023804, 1.346745, 9.4538, 0.0000, 303.7500); CreateDynamicObject(18609, -2802.536377, 1528.304688, 4.370977, 327.3414, 0.0000, 303.7500); CreateDynamicObject(18609, -2805.550049, 1531.914917, 4.541538, 327.3414, 0.0000, 303.7500); CreateDynamicObject(16502, -2808.164307, 1543.128662, 0.619308, 0.0000, 0.0000, 123.7500); CreateDynamicObject(16502, -2804.865479, 1545.720581, 0.318972, 0.0000, 0.0000, 123.7500); CreateDynamicObject(16502, -2813.677246, 1557.608032, 0.304044, 0.0000, 0.0000, 309.3885); CreateDynamicObject(16502, -2817.158936, 1555.237671, 0.585165, 0.0000, 0.0000, 309.3885); CreateDynamicObject(16116, -2786.584229, 1558.069336, 7.251484, 333.3575, 14.6104, 171.2511); CreateDynamicObject(3594, -2822.758789, 1575.815552, 2.919774, 6.8755, 359.1406, 315.0000); CreateDynamicObject(3594, -2826.211182, 1579.112427, 3.659109, 6.8755, 359.1406, 315.0000); CreateDynamicObject(3594, -2827.468506, 1584.933228, 3.926127, 6.8755, 359.1406, 315.0000); CreateDynamicObject(3594, -2832.410645, 1586.330811, 4.310929, 6.8755, 359.1406, 315.0000); CreateDynamicObject(3594, -2829.561768, 1572.653320, 4.540035, 330.7792, 0.0000, 315.0000); CreateDynamicObject(3594, -2833.505127, 1578.614136, 5.059843, 330.7792, 10.3132, 315.0000); CreateDynamicObject(16134, -2847.956787, 1610.023560, 3.074574, 0.0000, 0.0000, 78.7500); CreateDynamicObject(16134, -2868.005371, 1618.351563, 9.665221, 0.0000, 0.0000, 110.5491); CreateDynamicObject(16134, -2861.980225, 1626.606689, 9.416975, 0.0000, 0.0000, 93.3603); CreateDynamicObject(16305, -2876.393066, 1625.775879, 21.752945, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2873.545166, 1636.319214, 22.338070, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2895.927002, 1626.622314, 22.776272, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2891.113281, 1642.723877, 23.243954, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2913.693115, 1630.500488, 25.022789, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16305, -2909.587158, 1644.547119, 25.508228, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16317, -2927.041992, 1634.327637, 21.318615, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16317, -2924.970459, 1647.094727, 21.584393, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16303, -2935.733398, 1635.107422, 17.389523, 0.0000, 0.0000, 191.2500); CreateDynamicObject(16303, -2935.639404, 1642.540771, 17.360403, 0.0000, 0.0000, 191.2500); CreateDynamicObject(3458, -2972.491455, 1638.437378, 23.747669, 0.0000, 0.0000, 353.9839); CreateDynamicObject(3458, -2971.891846, 1644.910889, 23.347679, 0.0000, 0.0000, 353.9839); CreateDynamicObject(5774, -3004.250244, 1642.658691, 22.103882, 0.0000, 0.0000, 353.1245); CreateDynamicObject(8390, -3084.004395, 1661.918213, 45.087677, 0.0000, 0.0000, 83.0471); CreateDynamicObject(969, -3029.863281, 1650.618286, 25.979664, 0.0000, 0.0000, 225.0000); CreateDynamicObject(969, -3023.635254, 1656.818237, 25.979664, 0.0000, 0.0000, 225.0000); CreateDynamicObject(969, -3015.024414, 1656.616455, 25.979664, 0.0000, 0.0000, 177.7310); CreateDynamicObject(969, -3133.231445, 1675.953369, 32.378101, 0.0000, 0.0000, 258.5180); CreateDynamicObject(969, -3135.265137, 1666.262939, 32.378101, 0.0000, 0.0000, 270.0000); CreateDynamicObject(969, -3035.414063, 1653.861450, 38.784351, 0.0000, 0.0000, 270.0000); CreateDynamicObject(969, -3033.574951, 1662.787354, 38.790581, 0.0000, 0.0000, 257.9679); CreateDynamicObject(969, -3132.644287, 1676.127808, 45.182789, 0.0000, 0.0000, 257.9679); CreateDynamicObject(969, -3134.604004, 1666.505127, 45.182789, 0.0000, 0.0000, 265.7028); CreateDynamicObject(969, -3035.396240, 1653.443481, 51.574951, 0.0000, 0.0000, 265.7028); CreateDynamicObject(969, -3033.527588, 1662.942505, 51.574951, 0.0000, 0.0000, 257.9679); CreateDynamicObject(3374, -3024.522949, 1643.160156, 27.306763, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3039.817627, 1638.214111, 27.510805, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3042.464844, 1631.845825, 27.629379, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3040.064453, 1627.395630, 27.442814, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3033.915039, 1632.750244, 27.306763, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3037.648438, 1618.692139, 27.306763, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3032.137451, 1624.386475, 27.306763, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3052.399170, 1638.604980, 28.311382, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3055.198242, 1631.203613, 28.431606, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3055.584717, 1625.679199, 28.397739, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3051.041016, 1614.651367, 28.024460, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3046.097900, 1622.468262, 27.771538, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3063.677002, 1642.089233, 29.053238, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3062.919922, 1636.837891, 28.948994, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3063.607910, 1632.387573, 28.973864, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3064.273438, 1627.078369, 28.959351, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3065.752686, 1620.221558, 29.015774, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3058.805664, 1620.922729, 28.580812, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3069.494385, 1615.443481, 29.200367, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3076.872803, 1617.456177, 29.683649, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3072.664795, 1624.037109, 29.483433, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3069.532471, 1634.791382, 29.352339, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3075.256348, 1643.039307, 29.794605, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3076.747314, 1633.490234, 29.799652, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3088.146973, 1642.601318, 30.608383, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3085.339844, 1630.926758, 30.340191, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3078.639404, 1629.121826, 29.901474, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3080.983398, 1624.421631, 30.013739, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3086.519287, 1618.854492, 30.305965, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3093.747803, 1625.249756, 30.829281, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3105.458252, 1616.834961, 31.506573, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3107.562256, 1630.833252, 31.748165, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3095.595703, 1630.493652, 30.986961, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3094.781006, 1637.674927, 30.990833, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3084.416016, 1635.924194, 30.304592, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3081.900879, 1642.920532, 30.199238, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3089.158936, 1628.234253, 30.561466, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3105.583252, 1644.266724, 31.726570, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3106.009277, 1637.968628, 31.716475, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3114.494629, 1645.618530, 32.301926, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3115.551270, 1638.510986, 32.313953, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3114.406738, 1632.589355, 32.195629, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3114.267090, 1625.165161, 32.129383, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3094.816650, 1619.513428, 30.852695, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3102.399170, 1624.677124, 31.373283, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3108.208740, 1624.892456, 31.754818, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3129.230957, 1648.247437, 33.256393, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3124.482666, 1644.982178, 32.930161, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3127.835205, 1640.464600, 33.107758, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3127.020752, 1636.086914, 33.022293, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3129.465820, 1630.627197, 33.135078, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3139.093262, 1632.211304, 33.705200, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3134.989014, 1629.451660, 33.476112, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3147.513672, 1636.860718, 33.705200, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3146.748291, 1643.687378, 33.705200, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3139.147949, 1641.229248, 33.705200, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3374, -3133.805176, 1637.989380, 33.478664, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3578, -3142.477783, 1655.079834, 31.864201, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3578, -3142.965332, 1660.127197, 31.964199, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3578, -3142.024170, 1667.138916, 32.039238, 0.0000, 0.0000, 0.0000); CreateDynamicObject(3578, -3141.130859, 1673.459595, 32.139259, 0.0000, 0.0000, 0.0000); CreateDynamicObject(18609, -3131.231445, 1680.354614, 33.392353, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3127.219727, 1686.682617, 33.657078, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3123.488281, 1679.786865, 33.962589, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3122.434570, 1691.398560, 33.939632, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3129.231445, 1692.932373, 33.496914, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3124.252930, 1699.309570, 33.747540, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3120.100586, 1706.630981, 33.954166, 0.0000, 0.0000, 354.7661); CreateDynamicObject(18609, -3126.650879, 1707.191650, 33.534603, 0.0000, 0.0000, 354.7661); CreateDynamicObject(16317, -3110.225586, 1697.284180, 32.748859, 0.0000, 0.0000, 112.5000); CreateDynamicObject(16317, -3102.630371, 1682.552124, 33.353378, 0.0000, 0.0000, 112.5000); CreateDynamicObject(16317, -3093.379150, 1699.169067, 33.570316, 0.0000, 0.0000, 112.5000); CreateDynamicObject(16317, -3084.952393, 1684.324951, 34.830368, 0.0000, 2.5783, 133.1266); CreateDynamicObject(16317, -3068.709961, 1696.331299, 35.571323, 0.0000, 2.5783, 133.1266); CreateDynamicObject(16317, -3078.110352, 1698.176025, 34.572910, 0.0000, 2.5783, 133.1266); CreateDynamicObject(16317, -3066.256592, 1680.454834, 36.077915, 0.0000, 2.5783, 133.1266); CreateDynamicObject(16304, -3052.568359, 1694.542236, 39.468918, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3048.266357, 1674.833740, 39.040432, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3051.266357, 1685.833862, 37.790520, 0.0000, 0.0000, 0.0000); CreateDynamicObject(12921, -2766.462891, 1319.727295, 9.594658, 0.0000, 0.0000, 0.0000); CreateDynamicObject(12921, -2766.560547, 1318.001831, 9.669657, 0.0000, 0.0000, 0.0000); CreateDynamicObject(12921, -2766.566650, 1315.651978, 9.344650, 0.0000, 0.0000, 0.0000); CreateDynamicObject(1408, -3031.926270, 1669.482178, 39.219074, 0.0000, 0.0000, 236.2501); CreateDynamicObject(1408, -3023.264648, 1671.219238, 39.212845, 0.0000, 0.0000, 213.7500); CreateDynamicObject(1408, -3024.775391, 1677.767944, 39.212845, 0.0000, 0.0000, 247.5000); CreateDynamicObject(1408, -3031.502686, 1677.819092, 39.183048, 0.0000, 0.0000, 236.2501); CreateDynamicObject(1408, -3029.319580, 1685.130249, 39.183048, 0.0000, 0.0000, 213.7500); CreateDynamicObject(1408, -3035.800781, 1676.973267, 38.929188, 0.0000, 0.0000, 225.0000); CreateDynamicObject(1408, -3033.555664, 1690.760254, 38.984356, 0.0000, 0.0000, 270.0000); CreateDynamicObject(1408, -3038.524170, 1693.447754, 38.648613, 0.0000, 0.0000, 315.0000); CreateDynamicObject(1408, -3031.061035, 1692.881470, 39.126095, 0.0000, 0.0000, 281.2500); CreateDynamicObject(1410, -3026.000244, 1664.421143, 39.363255, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3026.372559, 1656.073486, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3027.536621, 1641.732666, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3029.942139, 1660.906372, 39.363255, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3028.916992, 1670.108765, 39.363255, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3020.885742, 1659.275391, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3022.829102, 1650.692993, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3029.017334, 1652.176514, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3035.015137, 1642.264160, 39.357029, 0.0000, 0.0000, 168.7500); CreateDynamicObject(1410, -3030.259766, 1639.327026, 39.357029, 0.0000, 0.0000, 135.0000); CreateDynamicObject(1410, -3032.867188, 1633.403564, 39.357029, 0.0000, 0.0000, 101.2500); CreateDynamicObject(1410, -3030.251953, 1630.436279, 39.357029, 0.0000, 0.0000, 90.0000); CreateDynamicObject(1410, -3037.321045, 1639.258911, 39.406811, 0.0000, 0.0000, 112.5000); CreateDynamicObject(1410, -3038.151123, 1633.054443, 39.411469, 0.0000, 0.0000, 112.5000); CreateDynamicObject(1410, -3037.219727, 1628.126099, 39.363255, 0.0000, 0.0000, 112.5000); CreateDynamicObject(1410, -3035.526123, 1620.832153, 39.357029, 0.0000, 0.0000, 90.0000); CreateDynamicObject(3594, -3045.025879, 1634.578125, 39.732464, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3049.240479, 1636.071289, 39.999577, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3055.354492, 1636.239868, 40.388458, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3061.957275, 1636.782104, 40.811203, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3068.345947, 1637.618530, 41.222664, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3077.865479, 1639.010498, 41.836880, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3045.955078, 1628.282959, 39.731098, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3051.143311, 1628.528198, 40.061886, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3056.891846, 1629.018921, 40.430092, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3064.506348, 1629.234009, 40.914444, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3072.890625, 1629.140503, 41.445225, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3079.936768, 1630.094849, 41.910847, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3046.772217, 1621.595093, 39.731205, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3052.684814, 1620.982056, 40.101269, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3058.320313, 1622.052368, 40.466797, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3067.421631, 1620.827759, 41.034275, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3073.896729, 1620.822510, 41.456280, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3082.461182, 1621.143677, 42.001682, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3085.392578, 1640.783325, 42.327736, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3087.427002, 1633.434814, 42.399891, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3089.250977, 1624.381836, 42.445538, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3094.146729, 1642.949951, 42.907249, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3094.487793, 1635.999268, 42.875145, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3096.248779, 1628.897705, 42.924038, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3101.034912, 1621.850952, 43.180798, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3102.342529, 1644.526489, 43.431160, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3102.323242, 1638.072510, 43.387867, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3104.257324, 1631.975952, 43.455521, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3106.298584, 1626.116699, 43.547440, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3112.018555, 1628.526245, 43.928665, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3109.934082, 1638.341187, 43.872402, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3111.643066, 1646.808960, 44.046196, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3120.079590, 1631.337402, 44.461395, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3120.048828, 1641.543823, 44.530521, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3123.736816, 1648.423584, 44.825321, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3126.879395, 1636.961792, 44.947533, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3127.410156, 1628.590942, 44.916470, 0.0000, 6.8755, 0.0000); CreateDynamicObject(3594, -3131.684570, 1644.396729, 45.301773, 0.0000, 6.8755, 0.0000); CreateDynamicObject(1257, -3137.972412, 1651.336548, 46.265305, 0.0000, 0.0000, 303.7500); CreateDynamicObject(1257, -3140.476563, 1646.996582, 46.265305, 0.0000, 0.0000, 337.5000); CreateDynamicObject(1257, -3144.026123, 1644.085449, 46.265305, 0.0000, 0.0000, 303.7500); CreateDynamicObject(1257, -3137.078613, 1635.389404, 46.218338, 0.0000, 0.0000, 337.5000); CreateDynamicObject(1257, -3141.677979, 1660.667847, 46.265305, 0.0000, 0.0000, 270.0000); CreateDynamicObject(1257, -3142.217041, 1655.751709, 46.265305, 0.0000, 0.0000, 270.0000); CreateDynamicObject(1257, -3142.844482, 1667.510742, 46.265305, 0.0000, 0.0000, 270.0000); CreateDynamicObject(1257, -3143.135010, 1675.222412, 46.265305, 0.0000, 0.0000, 270.0000); CreateDynamicObject(3406, -3125.425293, 1687.269653, 46.678295, 295.5422, 0.0000, 262.1877); CreateDynamicObject(3406, -3124.180664, 1698.098877, 46.642647, 295.5422, 0.0000, 262.1877); CreateDynamicObject(3578, -3108.488037, 1683.555786, 46.789101, 0.0000, 0.0000, 261.4057); CreateDynamicObject(3578, -3106.286621, 1698.459106, 46.773045, 0.0000, 0.0000, 261.4057); CreateDynamicObject(3578, -3097.704102, 1689.980713, 47.322277, 0.0000, 0.0000, 261.4057); CreateDynamicObject(3578, -3090.267822, 1699.143433, 47.761494, 0.0000, 0.0000, 261.4057); CreateDynamicObject(3578, -3092.597900, 1679.617065, 47.686161, 0.0000, 0.0000, 261.4057); CreateDynamicObject(16502, -3075.890869, 1697.755737, 47.588646, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16502, -3074.970947, 1694.501587, 47.353622, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16502, -3073.720947, 1691.001587, 47.528633, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16502, -3074.010254, 1686.945313, 47.490685, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16502, -3072.450928, 1682.837158, 47.243988, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16502, -3072.324219, 1677.718872, 47.533134, 0.0000, 0.0000, 0.0000); CreateDynamicObject(1631, -3048.169678, 1682.553223, 50.270969, 0.0000, 0.0000, 238.8194); CreateDynamicObject(1631, -3043.680664, 1691.422485, 50.603905, 0.0000, 0.0000, 238.8194); CreateDynamicObject(18569, -3031.553711, 1678.628296, 52.285614, 0.0000, 0.0000, 337.5000); CreateDynamicObject(18569, -3027.401855, 1661.793213, 52.335571, 0.0000, 0.0000, 265.3073); CreateDynamicObject(18569, -3028.169922, 1650.921631, 52.210609, 0.0000, 0.0000, 265.3073); CreateDynamicObject(18569, -3033.829590, 1640.343872, 52.185623, 0.0000, 0.0000, 228.3514); CreateDynamicObject(18569, -3033.114014, 1630.198242, 52.285645, 0.0000, 0.0000, 228.3514); CreateDynamicObject(3374, -3046.923096, 1642.912109, 53.573692, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3048.946045, 1638.461060, 53.648090, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3049.023438, 1634.791138, 53.632465, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3049.320801, 1631.601807, 53.626659, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3049.257568, 1627.060913, 53.579720, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3049.993164, 1623.553589, 53.599228, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3051.473633, 1620.057617, 53.673878, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3053.017578, 1617.772705, 53.746258, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3053.192871, 1615.145264, 53.737068, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3054.394043, 1611.764526, 53.794895, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3064.863037, 1647.378296, 54.726025, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3065.890381, 1643.942383, 54.772427, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3066.700195, 1638.302246, 54.772320, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3066.904785, 1634.856445, 54.766483, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3067.760010, 1632.475342, 54.802288, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3068.336670, 1630.272461, 54.813988, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3069.434326, 1628.146973, 54.867146, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3069.933594, 1625.580688, 54.886780, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3070.361572, 1623.155884, 54.895168, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3070.021240, 1620.114746, 54.842258, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3069.940430, 1617.152466, 54.822063, 0.0000, 0.0000, 348.7500); CreateDynamicObject(3374, -3069.962158, 1614.741089, 54.804798, 0.0000, 0.0000, 348.7500); CreateDynamicObject(16317, -3082.955566, 1624.095703, 54.212353, 0.0000, 4.2972, 0.0000); CreateDynamicObject(16317, -3079.716309, 1641.241211, 54.139553, 0.0000, 4.2972, 0.0000); CreateDynamicObject(16134, -3108.371826, 1641.709595, 53.424110, 3.4377, 0.0000, 129.9206); CreateDynamicObject(16134, -3111.168213, 1626.315918, 53.312840, 3.4377, 0.0000, 129.9206); CreateDynamicObject(16502, -3152.716064, 1641.566406, 57.352585, 0.0000, 0.0000, 167.1084); CreateDynamicObject(16502, -3152.314209, 1645.041504, 57.277596, 0.0000, 0.0000, 167.1084); CreateDynamicObject(969, -3143.202881, 1656.303955, 57.949867, 0.0000, 0.0000, 11.2500); CreateDynamicObject(969, -3153.036621, 1654.580933, 57.949867, 0.0000, 0.0000, 11.2500); CreateDynamicObject(6233, -3199.725830, 1655.333130, 62.800934, 0.0000, 0.0000, 258.7500); CreateDynamicObject(6234, -3276.825439, 1670.793701, 62.719879, 0.0000, 0.0000, 258.7500); CreateDynamicObject(6236, -3349.397949, 1683.808716, 62.988159, 0.0000, 0.0000, 258.7500); CreateDynamicObject(18565, -3166.557617, 1645.008667, 61.009987, 348.8273, 6.0161, 348.7500); CreateDynamicObject(18367, -3174.370605, 1645.104126, 60.808102, 0.0000, 0.0000, 258.7500); CreateDynamicObject(18367, -3174.029053, 1647.448120, 59.824303, 0.0000, 0.0000, 255.3123); CreateDynamicObject(16304, -3217.169434, 1655.421021, 63.943367, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3225.207031, 1643.332520, 67.703651, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3214.971680, 1662.703735, 67.749451, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3222.733887, 1669.868774, 68.531303, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16304, -3236.180420, 1656.982422, 65.177910, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16134, -3259.224609, 1673.158813, 60.683811, 0.0000, 0.0000, 123.7499); CreateDynamicObject(16134, -3265.729248, 1657.197144, 59.606270, 0.0000, 0.0000, 123.7499); CreateDynamicObject(16303, -3286.977295, 1669.360962, 56.474098, 0.0000, 347.1084, 182.5783); CreateDynamicObject(16303, -3320.419922, 1676.681030, 56.489052, 0.0000, 347.1084, 4.7790); CreateDynamicObject(16303, -3318.869873, 1685.178833, 56.641663, 0.0000, 347.1084, 4.7790); CreateDynamicObject(16303, -3286.224121, 1676.986328, 56.137169, 0.0000, 347.1084, 180.9636); CreateDynamicObject(16302, -3340.399902, 1688.853394, 64.827499, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16302, -3339.672119, 1667.483765, 64.890572, 0.0000, 0.0000, 0.0000); CreateDynamicObject(16302, -3363.885986, 1672.891357, 68.543465, 342.8113, 358.2811, 0.0000); CreateDynamicObject(16302, -3362.722900, 1696.331787, 68.044167, 17.1887, 358.2811, 358.2811); CreateDynamicObject(8040, -3423.518066, 1698.589111, 62.274368, 0.0000, 0.0000, 350.5462); CreateDynamicObject(616, -3403.654785, 1695.056152, 61.682121, 0.0000, 0.0000, 0.0000); CreateDynamicObject(616, -3411.446533, 1696.326416, 61.674454, 0.0000, 0.0000, 0.0000); CreateDynamicObject(616, -3419.677734, 1697.866577, 61.674454, 0.0000, 0.0000, 0.0000); CreateDynamicObject(616, -3428.010986, 1699.140259, 61.674454, 0.0000, 0.0000, 0.0000); CreateDynamicObject(616, -3435.859863, 1700.339966, 61.674454, 0.0000, 0.0000, 0.0000); CreateDynamicObject(616, -3442.703369, 1701.581055, 61.674454, 0.0000, 0.0000, 0.0000); return 1; } Ezt a fórumon találtam. Valaki tudna segíteni, mi lehet a hiba?
6
« Dátum: 2015. január 25. - 10:49:21 »
CMD:fekete(playerid) { SetPlayerColor(playerid,fekete); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott feketére!\"); return 1; }
Ez most mire volt jó? Baj hogy odaírtam azt hogy params[] ?
7
« Dátum: 2015. január 24. - 20:01:54 »
Oké, már leírtam mért nem csináltam így!
8
« Dátum: 2015. január 24. - 16:54:34 »
Rendben, kössz!
9
« Dátum: 2015. január 24. - 12:28:42 »
Itt van kódba: //Névszínező, készítette: Dani99 #include <a_samp> //A scripthez ZCMD parancskezelőt használok.// #include <zcmd> //Definiálom a színeket amiket a színváltás után ír ki, hogy ne keljen minenhova a színkódot írni csak azt hogy \"zoldk\", vagy \"sotetlilak\" csatlakozáskor!// #define zoldk 0x00ff00AA #define sotetlilak 0x5c02d1AA //Most definiálom a színeket amikre a játékos színt válthat!// #define zold 0x0fd60fAA #define piros 0xff0000AA #define kek 0x002bffAA #define lila 0xbf00ffAA #define sarga 0xffff00AA #define vilagoskek 0x0091ffAA #define zoldeskek 0x00eeffAA #define feher 0xffffffAA #define fekete 0x000000AA #define sotetlila 0x411f6eAA #define rozsaszin 0xff75faAA //Most definiálom a dialogot amit a játékosnak dob ki, a /szinek parancs használatakor!// #define DIALOG_SZV 69 //Most beállítjuk hogy mit írjon ki a játékosnak amikor ő csatlakozik.// public OnPlayerConnect(playerid) { SendClientMessage(playerid,sotetlilak,\"Színváltáshoz /szinek és ott vannak a parancsok!\"); return 1; } //Most megcsináljuk a dialógust amit a /szinek után dob ki a játékosnak, és abban lesznek a parancsok.// CMD:szinek(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_SZV,DIALOG_STYLE_MSGBOX,\"Színek\",\"Zöld színhez: /zold\\nPiros színhez: /piros\\nKék színhez: /kek\\nLila színhez: /lila\\nSárga színhez: /sarga\\nVilágoskék színhez: /vilagoskek\\nZöldeskék színhez: /zoldeskek\\nFehér színhez: /feher\\nFekete színhez: /fekete\\nSötétlila színhez: /sotetlila\\nRózsaszín színhez: /rozsaszin\",\"Rendben\",\"\"); return 1; } CMD:zold(playerid,params[]) { SetPlayerColor(playerid,zold); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott zöldre!\"); return 1; } CMD:piros(playerid,params[]) { SetPlayerColor(playerid,piros); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott pirosra!\"); return 1; } CMD:kek(playerid,params[]) { SetPlayerColor(playerid,kek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott kékre!\"); return 1; } CMD:lila(playerid,params[]) { SetPlayerColor(playerid,lila); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott lilára!\"); return 1; } CMD:sarga(playerid,params[]) { SetPlayerColor(playerid,sarga); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott sárgára!\"); return 1; } CMD:vilagoskek(playerid,params[]) { SetPlayerColor(playerid,vilagoskek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott világoskékre!\"); return 1; } CMD:zoldeskek(playerid,params[]) { SetPlayerColor(playerid,zoldeskek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott zöldeskékre!\"); return 1; } CMD:feher(playerid,params[]) { SetPlayerColor(playerid,feher); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott fehérre!\"); return 1; } CMD:fekete(playerid,params[]) { SetPlayerColor(playerid,fekete); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott feketére!\"); return 1; } CMD:sotetlila(playerid,params[]) { SetPlayerColor(playerid,sotetlila); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott sötétlilára!\"); return 1; } CMD:rozsaszin(playerid,params[]) { SetPlayerColor(playerid,rozsaszin); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott rózsaszínre!\"); return 1; } Flash gondolkoztam hogy olyat-e írjak de végül maradtam ennél mert nekem dialog problémáim vannak, csak az megy ami az első 2 helyre van írva. Gamemodba meg nem megy. És ha beleírom az 1.-be vagy a 2.-ba akkor vagy az egyik vagy a másik nem fog menni, ott már mind 2-be több script van besűrítve.
10
« Dátum: 2015. január 24. - 12:21:07 »
De még az a vicces hogy error-t is ír: error 001: expected token: \"#endif\", but found \"-end of file-\" Ott virít a script elején: #if defined FILTERSCRIPT Nem tesztelhette mert még le se fordította, bár lehet hogy próbálta, nem ment de mégis feltette a rosszat. Ha meg kivesszük az elejéről: #if defined FILTERSCRIPT [/code] Akkor meg ezt a 6 error-t írja: C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(13) : warning 217: loose indentation C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(16) : error 017: undefined symbol \"SetPlayerHeal\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(28) : error 001: expected token: \";\", but found \"-identifier-\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 037: invalid string (possibly non-terminated string) C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 017: undefined symbol \"Meg\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : error 017: undefined symbol \"vetted\" C:\\Users\\Dani\\Desktop\\Gta San Andreas Szerver\\filterscripts\\felesleges1.pwn(32) : fatal error 107: too many error messages on one line Egyszerű rövid script de ennyi hibát még nem láttam egy ilyen scriptben.
11
« Dátum: 2015. január 24. - 12:14:00 »
Sziasztok, most egy egyszerű scriptet szereték publikálni. Ez egy névszinező akar lenni. A parancsok: /szinek //Kidob egy dialogot és abba lesznek a parancsok A többi parancs ugye a dialogba lesz. Elkészítési idő: 10 perc Sorok száma: 123 Zcmd parancskezelőt használtam. Itt a link a scripthez: http://www.mediafire.com/download/7n2zdd90fw5c60i/N%C3%A9vSzinez%C5%91.rar //Névszínező, készítette: Dani99 #include <a_samp> //A scripthez ZCMD parancskezelőt használok.// #include <zcmd> //Definiálom a színeket amiket a színváltás után ír ki, hogy ne keljen minenhova a színkódot írni csak azt hogy \"zoldk\", vagy \"sotetlilak\" csatlakozáskor!// #define zoldk 0x00ff00AA #define sotetlilak 0x5c02d1AA //Most definiálom a színeket amikre a játékos színt válthat!// #define zold 0x0fd60fAA #define piros 0xff0000AA #define kek 0x002bffAA #define lila 0xbf00ffAA #define sarga 0xffff00AA #define vilagoskek 0x0091ffAA #define zoldeskek 0x00eeffAA #define feher 0xffffffAA #define fekete 0x000000AA #define sotetlila 0x411f6eAA #define rozsaszin 0xff75faAA //Most definiálom a dialogot amit a játékosnak dob ki, a /szinek parancs használatakor!// #define DIALOG_SZV 69 //Most beállítjuk hogy mit írjon ki a játékosnak amikor ő csatlakozik.// public OnPlayerConnect(playerid) { SendClientMessage(playerid,sotetlilak,\"Színváltáshoz /szinek és ott vannak a parancsok!\"); return 1; } //Most megcsináljuk a dialógust amit a /szinek után dob ki a játékosnak, és abban lesznek a parancsok.// CMD:szinek(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_SZV,DIALOG_STYLE_MSGBOX,\"Színek\",\"Zöld színhez: /zold\\nPiros színhez: /piros\\nKék színhez: /kek\\nLila színhez: /lila\\nSárga színhez: /sarga\\nVilágoskék színhez: /vilagoskek\\nZöldeskék színhez: /zoldeskek\\nFehér színhez: /feher\\nFekete színhez: /fekete\\nSötétlila színhez: /sotetlila\\nRózsaszín színhez: /rozsaszin\",\"Rendben\",\"\"); return 1; } CMD:zold(playerid,params[]) { SetPlayerColor(playerid,zold); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott zöldre!\"); return 1; } CMD:piros(playerid,params[]) { SetPlayerColor(playerid,piros); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott pirosra!\"); return 1; } CMD:kek(playerid,params[]) { SetPlayerColor(playerid,kek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott kékre!\"); return 1; } CMD:lila(playerid,params[]) { SetPlayerColor(playerid,lila); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott lilára!\"); return 1; } CMD:sarga(playerid,params[]) { SetPlayerColor(playerid,sarga); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott sárgára!\"); return 1; } CMD:vilagoskek(playerid,params[]) { SetPlayerColor(playerid,vilagoskek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott világoskékre!\"); return 1; } CMD:zoldeskek(playerid,params[]) { SetPlayerColor(playerid,zoldeskek); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott zöldeskékre!\"); return 1; } CMD:feher(playerid,params[]) { SetPlayerColor(playerid,feher); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott fehérre!\"); return 1; } CMD:fekete(playerid,params[]) { SetPlayerColor(playerid,fekete); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott feketére!\"); return 1; } CMD:sotetlila(playerid,params[]) { SetPlayerColor(playerid,sotetlila); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott sötétlilára!\"); return 1; } CMD:rozsaszin(playerid,params[]) { SetPlayerColor(playerid,rozsaszin); SendClientMessage(playerid,zoldk,\"A színed sikeresen megváltozott rózsaszínre!\"); return 1; }
12
« Dátum: 2015. január 24. - 11:37:40 »
Nem próbáltam mert tök feleslegesnek tartom.
13
« Dátum: 2015. január 24. - 11:28:57 »
Ennek így mi ételme?: GivePlayerMoney(playerid, -10000); GivePlayerMoney(playerid, 250000); :facepalm: És a fórumon van vagy 100 god és páncél parancs. Minek kell ezt gyarapítani? :slap: Dupla hozzászólás automatikusan összefûzve. ( 2015. január 24. - 11:31:29 )
Szerintem használj zcmd-t inkább: CMD:parancsod(playerid,params[]) { //Ami a parancs bírása után végrehajtódik return 1; }
14
« Dátum: 2015. január 07. - 11:40:22 »
Kenyó szerintem ezt be kéne rakni a szerverbe.
15
« Dátum: 2015. január 05. - 13:34:31 »
Szivesen, máskor is!
|