Thursday, December 26

HUD Information v2a

HUD Information plugin for AMX Mod X allows to display a permanent synchronized message on your screen which can show a Custom message, score, time, damage, admins count, current csstats rank. You can choose any or all of these options and show them anywhere on the screen with any colors (CVAR controlled). Players can also toggle these messages on /off only for themselves whenever they want.


INSTALLATION
  • Copy hud_info.amxx to addons/amxmodx/plugins directory.
  • Edit addons/amxmodx/configs/plugins.ini and add hud_info.amxx to it on a new line.
  • Restart the server or change the map for changes to take effect.


CVARS
  • amx_hudinfo 1 / 0
    Desc - Enable or Disable the complete plugin.
     
  • amx_hud_message "Any Custom Message"
    Desc - Any message which you want to print on the top line of the HUD message. Keep bank to disable this option.
     
  • amx_hud_prefix "[SERVERTAG]
    Desc - Server TAG prefix which is printed on chat messages whenever some disables or enables the HUD Info for himself.
     
  • amx_hud_showtime 1 / 0
    Desc - Enable or Disable the display of current server time in the info.
     
  • amx_hud_showscore 1 / 0
    Desc - Enable or Disable the display of current player frags and deaths in the info.
     
  • amx_hud_showdamage 1 / 0
    Desc - Enable or Disable the display of total damage done by the player in that round. (Auto resets when a players re-spawns [Can be used in servers with infinite rounds])
      
  • amx_hud_showadmins 1 / 0
    Desc - Enable or Disable the display of current admins online on the server.
     
  • amx_hud_ignoreimmunity 1 / 0
    Desc - Enable or Disable the display of admins with ADMIN_IMMUNITY in the admin count.
     
  • amx_hud_showrank 1 / 0
    Desc - Enable or Disable the display of current player rank and total ranks in the HUD. (Works only with CSSTATS. If you are running any custom ranking then keep this cvar to 0)
     
  • amx_hud_color "rrr ggg bbb"
    Desc - Color of the HUD message in RGB format with a space after each value. (Default "0 255 0")
     
  • amx_hud_x "0.01"
    Desc - Default X position of the HUD.
     
  • amx_hud_y "0.21"
    Desc - Default Y position of the HUD.


COMMANDS
  • Say /hudinfo - Toggles the HUD message on / off for the specific player.




Note : If you get any problems with this plugin or find out any bugs in it, please use this page to report them back to me so that I can fix them.

11 comments:

  1. Can you send me the scripting file? thanks

    ReplyDelete
    Replies
    1. You don't need the SMA for using this plugin. Everything is CVAR controller.
      If your intentions are for learning purposes then you can simple visit AMX Mod X scripting tutorials and scripting help sections on forums.alliedmods.net

      Delete
  2. hi can you add new cvar
    show steam id
    show name (10char)
    thanks man

    ReplyDelete
    Replies
    1. Most players already know what their SteamID and Nick is, so there is no need to show it and for those who don't know those details, they don't care about what their SteamID and Nick is.

      Delete
  3. but i need it for detect cheater on the screen
    for example if take screen from player his info show on the screen

    ReplyDelete
    Replies
    1. Then you should probably look for a plugin name AMXX BanShot.
      That plugin allows you to take a screenshot of a player before the ban.
      Alternatively you can also use Advanced Ban plugin modification which included the same kind of function built inside it.

      Delete
  4. I installed this plugin it is showing as running but in game rank,score,damage or time is not visible please help.

    ReplyDelete

Comment anything you want. Just be polite and give respect to others!
I am simply going to remove the comments which are offensive or are off topic.
And please don't spam your website links in comments. I don't, neither should you.