hlmod.hu https://hlmod.hu/ |
|
TÖRÖLHETŐ! https://hlmod.hu/viewtopic.php?f=9&t=18486 |
Oldal: 1 / 1 |
Szerző: | ZiT3K [ 2014.12.13. 12:36 ] |
Hozzászólás témája: | TÖRÖLHETŐ! |
Hali, hlmod(hibás forráskódot ír) ill. AMXX STUDIO(errort ír) sem tudja fordítani, miért? Légyszíves, aki tudja javítsa ki! Nem írtam át benne semmit. Előre is thx! Link:http://www.hlmod.hu/viewtopic.php?f=101&t=15055# Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team Error: Cannot read from file: "dhudmessage" on line 4 Compilation aborted. 1 Error. Could not locate output file E:\pluginok\legjobbak.amx (compile failed). SMA Forráskód: [ Mindet kijelol ]#include <amxmodx>#include <amxmisc>#include <hamsandwich>#include <dhudmessage>#include <cstrike> #define PLUGIN "New Plugin" #define AUTHOR "Unknown" #define VERSION "1.0" new g_iKills[32]; new top1, top2, top3; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_event("DeathMsg", "EventDeathMsg", "a") register_logevent("RoundEnd", 2, "1=Round_End") } public client_disconnect(id) { g_iKills[id] = 0; } public EventDeathMsg() { new killer = read_data(1) new victim = read_data(2) if(killer != victim && killer && cs_get_user_team(killer) != cs_get_user_team(victim)) { g_iKills[killer]++; } else g_iKills[killer]--; } public RoundEnd() { new players[32], num; get_players(players, num); SortCustom1D(players, num, "sort_bestplayer") top1 = players[0] top2 = players[1] top3 = players[2] new top1neve[33], top2neve[33], top3neve[33]; get_user_name(top1, top1neve, charsmax(top1neve)) get_user_name(top2, top2neve, charsmax(top2neve)) get_user_name(top3, top3neve, charsmax(top3neve)) if(num == 1) { set_dhudmessage(random(256), random(256), random(256), 0.29, 0.42,0,6.0,12.0,0.1,0.2) show_dhudmessage(0, "Ebben a Körben a Legjobb játĂ©kosok:^n1. %s |Ă–lĂ©s:%d", top1neve, g_iKills[top1]) } else if(num == 2) { set_dhudmessage(random(256), random(256), random(256), 0.29, 0.42,0,6.0,12.0,0.1,0.2) show_dhudmessage(0, "Ebben a Körben a Legjobb játĂ©kosok:^n1. %s |Ă–lĂ©s:%d^n2. %s |Ă–lĂ©s:%d", top1neve, g_iKills[top1], top2neve, g_iKills[top2]) } else if(num >= 3) { set_dhudmessage(random(256), random(256), random(256), 0.29, 0.42,0,6.0,12.0,0.1,0.2) show_dhudmessage(0, "Ebben a Körben a Legjobb játĂ©kosok:^n1. %s |Ă–lĂ©s:%d^n2. %s |Ă–lĂ©s:%d^n3. %s |Ă–lĂ©s:%d", top1neve, g_iKills[top1], top2neve, g_iKills[top2],top3neve, g_iKills[top3]) } client_print(0, print_chat, "") for(new i; i < 31; i++) { g_iKills[i] = 0; } } public sort_bestplayer(id1, id2) { if(g_iKills[id1] > g_iKills[id2]) return -1; else if(g_iKills[id1] < g_iKills[id2]) return 1; return 0; } stock print_color(const id, const input[], any:...){ new count = 1, players[32] static msg[191] vformat(msg, 190, input, 3) replace_all(msg, 190, "!g", "^4") replace_all(msg, 190, "!y", "^1") replace_all(msg, 190, "!t", "^3") replace_all(msg, 190, "á", "á") replace_all(msg, 190, "é", "Ă©") replace_all(msg, 190, "í", "Ă") replace_all(msg, 190, "ó", "Ăł") replace_all(msg, 190, "ö", "ö") replace_all(msg, 190, "ő", "Ĺ‘") replace_all(msg, 190, "ú", "Ăş") replace_all(msg, 190, "ü", "ĂĽ") replace_all(msg, 190, "ű", "ű") replace_all(msg, 190, "Á", "Ă") replace_all(msg, 190, "É", "É") replace_all(msg, 190, "Í", "ĂŤ") replace_all(msg, 190, "Ó", "Ă“") replace_all(msg, 190, "Ö", "Ă–") replace_all(msg, 190, "Ő", "Ĺ") replace_all(msg, 190, "Ú", "Ăš") replace_all(msg, 190, "Ü", "Ăś") replace_all(msg, 190, "Ű", "Ĺ°") if (id) players[0] = id; else get_players(players, count, "ch") { for (new i = 0; i < count; i++) { if (is_user_connected(players[i])) { message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]) write_byte(players[i]) write_string(msg) message_end() } } } return PLUGIN_HANDLED} |
Szerző: | Chev Chelios [ 2014.12.13. 12:53 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Nekem lefordul! Használd ezt a fordítót: https://amx.freakz.ro/ |
Szerző: | aron87 [ 2014.12.13. 12:59 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Error: Cannot read from file: "dhudmessage" on line 4 Ez szerintem mindent elárul. Segítek, hiányzik a dhudmessage.inc fájl. |
Szerző: | Chev Chelios [ 2014.12.13. 13:01 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Nekem lefordult anélkül is és semmi baja |
Szerző: | aron87 [ 2014.12.13. 13:06 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Chev Chelios írta: Nekem lefordult anélkül is és semmi baja 100% hogy anélkül nem fordítja le. Legalább hülyeséget ne írj.. Ha nem tartalmazza a compiler az include mappába a dhudmessage.inc fájlt, az életbe nem fordítja le. A román oldalon azért fordítja, mert a webes compiler tartalmazza a dhudmessage.inc -et... |
Szerző: | ZiT3K [ 2014.12.13. 13:09 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Chev Chelios: itt sikeresen lefordította. aron87: Az AMXX STUDIO-ra gondolsz, hogy ott nincs bent ez a fájl? Magyarul nincs "frissítve" a program, és ezért nem tudta értelmezni+fordítani az sma-t?+hlmodon... MEGVÁLASZOLVA! |
Szerző: | Chev Chelios [ 2014.12.13. 13:10 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Legjobb fordító |
Szerző: | aron87 [ 2014.12.13. 13:13 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Chev Chelios írta: Te aztán nagyon tudod Próbáld ki és ne okoskodj Ha értenél egy kicsit is a webcompiler tartalmához, egyből kinyílna a csipád.. Rakd fel egy webtárhelyre, és nézd meg hogy inc nélkül soha nem fordítja le. Itt: http://www.amxmodx.org/webcompiler.cgi nincsenek incek betéve, nézd meg hogy milyen hibát dob okostojás.. Minek okoskodni, ha azt se tudod hogy eszik e vagy isszák... Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team /tmp/textqa9wEe.sma(4) : fatal error 100: cannot read from file: "dhudmessage" Compilation aborted. 1 Error. |
Szerző: | Chev Chelios [ 2014.12.13. 13:14 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Érdekes nekem hibátlanul működik |
Szerző: | MeSter [ 2014.12.13. 13:17 ] |
Hozzászólás témája: | Re: TOP3 HUD compile error |
Chev Chelios írta: Nekem lefordult anélkül is és semmi baja Neten lefordítsa de az amx studios forditoval nem ! Keres egy dhudmessage.incet és rakd be az include mapábba . |
Oldal: 1 / 1 | Minden időpont UTC+02:00 időzóna szerinti |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |