Hud mi znika i się pojawia.
wiktor291 18.03.2014
Siemanko.Mam serwer BaseBuilder[Nie podam ip tu bo dostane bana] i mam hud w lewym gornym rogu i mi on znika i sie pojawia próbowałem to zrobić lecz niemogę dlatego piszę do waso pomoc.On znika co np 10sekund lub co 3sekundy tym więcej graczy tym bardziej znika i jak np ktos bije mnie zbroni to on znika nie wiem dlaczego proszę o pomoc.
Dam wam silnik i hud,bo moze cos jest w silniku
Wydruk to z HUDU
#include <amxmodx> #include <amxmisc> #include <csx> #include <basebuilder> #define PLUGIN "HUD" #define AUTHOR "glut" #define VERSION "1.0" new const klasy[][] = { "Przecientniak", "Szybki", "Skoczny", "Tanker", "Kosmita" } public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) } public pokaz_hud(id) { new zycie = get_user_health(id) new fragi = get_user_frags(id) if(is_user_connected(id)) { set_hudmessage(0, 255, 255, 0.02, 0.23, 0, 0.0, 0.3, 0.0, 0.0); show_hudmessage(id, ">> BaseBuilder+SkillMod 7.0 <<^n>> Forum: CsMartini.pl <<^n>> H@ Serwera: P@VL!K, Z!3L0ny <<^n^n[Zycie: %i]^n[Klasa: %s]^n[Fragi: %i]^n[Premium: %s]", zycie, klasy[zp_get_user_zombie_class(id)], fragi, get_user_flags(id) & ADMIN_LEVEL_E ? "Tak" : "Nie", get_user_flags(id) & ADMIN_USER ? "Tak" : "Nie"); } else { remove_task(id) } return PLUGIN_HANDLED } public client_putinserver(id) { set_task(0.1, "pokaz_hud", id,_,_,"b") }
Attached Files
Edited by wiktor291, 18.03.2014 15:22.
wiktor291 18.03.2014
hmmm nie ale poakze plugins.ini
MX Mod X plugins ; Admin Base - Always one has to be activated ;admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here basebuilder70.amxx debug bb_classes65.amxx debug frostnades.amxx napalm_nades.amxx bb_unstuck.amxx MenuAdminBB.amxx one_to.amxx HideObject.amxx no_fall_death.amxx autospawn.amxx team_join.amxx ad_manager.amxx unbanmenu.amxx HUD.amxx WyswietlaHUDprawidlowo.amxx bb_exp.amxx debug