Problem z JCTF
Kakiet
25.05.2014
Witam,
używam mod'a: http://amxx.pl/topic...g-ctf-v132b-pl/ połączonego z call of duty lecz jctf blokuje HP tzn po każdym respie mamy 100HP nie zależnie od tego ile dodamy punktów HP w staty.
Dodatkowo wyskakuja mi następujące błędy:
L 05/20/2014 - 14:02:39: Info (map "de_hell") (file "addons/amxmodx/logs/error_20140520.log") L 05/20/2014 - 14:02:39: [ORPHEU] Function "CHalfLifeMultiplay::CheckMapConditions" not found L 05/20/2014 - 14:02:39: [AMXX] Displaying debug trace (plugin "flag.amxx") L 05/20/2014 - 14:02:39: [AMXX] Run time error 10: native error (native "OrpheuGetFunction") L 05/20/2014 - 14:02:39: [AMXX] [0] jctf_2210456.sma::game_blockConditions (line 1486) L 05/20/2014 - 14:02:39: [AMXX] [1] jctf_2210456.sma::game_blockConditions (line 1474) L 05/20/2014 - 14:02:39: [ORPHEU] Function "CHalfLifeMultiplay::CheckMapConditions" not found L 05/20/2014 - 14:02:39: [AMXX] Displaying debug trace (plugin "flag.amxx") L 05/20/2014 - 14:02:39: [AMXX] Run time error 10: native error (native "OrpheuGetFunction") L 05/20/2014 - 14:02:39: [AMXX] [0] jctf_2210456.sma::game_blockConditions (line 1486) L 05/20/2014 - 14:02:39: [AMXX] [1] jctf_2210456.sma::server_cmd_infiniteround (line 1552) L 05/20/2014 - 14:03:37: [FAKEMETA] Invalid entity
Proszę o pomoc, z góry Dziękuje.
MAGNET
25.05.2014
Co do zdrowia, to usuń z public player_respawn(id, iStart) to:
set_user_health(id, 100)
DaFFyy
28.05.2014
Nie masz zainstalowanego modułu orpheu
Usunięcie limitu 100hp
public player_respawn(id, iStart) { id += TASK_RESPAWN if(!(TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) || g_bAlive[id]) return static iCount[33] if(iStart) iCount[id] = iStart + 1 set_hudmessage(HUD_RESPAWN) if(--iCount[id] > 0 || TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) { show_hudmessage(id, "%L", id, "RESPAWNING_IN", iCount[id]) client_print(id, print_console, "%L", id, "RESPAWNING_IN", iCount[id]) task_set(1.0, "player_respawn", id - TASK_RESPAWN) } else { if(TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) show_hudmessage(id, "%L", id, "RESPAWNING") client_print(id, print_console, "%L", id, "RESPAWNING") entity_set_int(id, EV_INT_deadflag, DEAD_RESPAWNABLE) entity_set_int(id, EV_INT_iuser1, 0) entity_think(id) entity_spawn(id) set_user_health(id, 100) } }
public player_respawn(id, iStart) { id += TASK_RESPAWN if(!(TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) || g_bAlive[id]) return static iCount[33] if(iStart) iCount[id] = iStart + 1 set_hudmessage(HUD_RESPAWN) if(--iCount[id] > 0 || TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) { show_hudmessage(id, "%L", id, "RESPAWNING_IN", iCount[id]) client_print(id, print_console, "%L", id, "RESPAWNING_IN", iCount[id]) task_set(1.0, "player_respawn", id - TASK_RESPAWN) } else { if(TEAM_RED <= g_iTeam[id] <= TEAM_BLUE) show_hudmessage(id, "%L", id, "RESPAWNING") client_print(id, print_console, "%L", id, "RESPAWNING") entity_set_int(id, EV_INT_deadflag, DEAD_RESPAWNABLE) entity_set_int(id, EV_INT_iuser1, 0) entity_think(id) entity_spawn(id) } }