Tak jak w temacie w jaki sposób mógł bym połączyć 2 pluginy ( hud ) w 1 mam gunxpmod i expmoda i tutaj nasuwa się pytanie chciałbym użyć jednego kanału więc w jaki sposób połączyć te 2 kanały w 1
public task_show_level(task) { new id = task - TASK_SHOW_LEVEL if(!is_user_alive(id) || !get_pcvar_num(show_level_text) || !get_pcvar_num(p_Enabled) || get_user_team(id) == 1) remove_task(TASK_SHOW_LEVEL + id, 0) set_hudmessage(255, 255, 255, 0.02, 0.29, 0, 0.0, 1.6, 0.0, 0.0); ShowSyncHudMsg(id, g_msgHudSync1 , "%L", LANG_SERVER, "LEVEL_HUD_TEXT", PlayerLevel[id], PlayerXp[id], LEVELS[PlayerLevel[id]], RANK[PlayerLevel[id]], RANKLEVELS[PlayerLevel[id]]) set_task(0.1, "task_show_level", TASK_SHOW_LEVEL + id) } public ShowHUD(id) { if(is_user_alive(id)){ new HUD[256]; format(HUD, 255,"[%s] Aktualny Exp: %d | Caly exp: %d",rangi[level[id]],player_xp[id],player_xp_all[id]); if(get_pcvar_num(pcvar_hud) == 0 ){ message_begin(MSG_ONE, msgtext, {0,0,0}, id); write_byte(0); write_string(HUD); message_end(); return PLUGIN_CONTINUE; } else { set_hudmessage(255, 0, 0, 0.02, 0.63, 0, 6.0, 15.0) show_hudmessage(id, "%s",HUD) } } return PLUGIN_CONTINUE; }