Raised This Month: $78 Target: $400
 19% 

HUD Message


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dalto
Veteran Member
Join Date: Jul 2007
Plugin ID:
145
Plugin Version:
1.0
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Allows an admin to send hud messages to a targeted player
    Old 08-19-2007 , 14:24   HUD Message
    Reply With Quote #1

    HUD Message

    Current Version: 1.0

    Description:
    Allows an admin to send hud messages to a targeted player. phsay sends a message by name or userid. hudmessage sends a message by steamid.

    Planned Features:
    • None, make a request!
    CVar's:
    sm_hud_message_version: The version number
    sm_hu_message_enable: Enables the plugin

    Changelog:

    1.0: Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (hudmessage.sp - 4127 views - 2.9 KB)
    dalto is offline
    Jmgr
    Member
    Join Date: Aug 2007
    Location: Paris, France
    Old 08-19-2007 , 18:03   Re: HUD Message
    Reply With Quote #2

    Feature proposal :
    - An ability to close the message by hitting a letter (such as C or 0)
    - A menu, which can be called with sm_menu (or something else if the name is reserved). Example :
    sm_menu [menu id] [steam id] [menu title] [menu option1] [menu option2] [...]
    When a player chooses a selection, the plugin will produce an output in the server console like :
    MENU [menu id] [steam id] [choice id]
    - A complete gui with word wrapping and sliders for long messages
    - The possibility to specificy the lifetime of the gui message
    - The possibility to specificy the position (center, left, right, ...) of the gui message
    - The possibility to send the a message/menu to all players

    Question : is it possible with the source engine to show images on the gui ?

    PS : Next week-end I plan to learn a bit how to code SourceMod plugins, which should not be too difficult for me as I code actively in c++ since 7 years, so I could help you for this plugin if you want

    Last edited by Jmgr; 08-19-2007 at 18:04. Reason: Unclear formulation
    Jmgr is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 19:43   Re: HUD Message
    Reply With Quote #3

    Quote:
    Originally Posted by Jmgr View Post
    Feature proposal :
    - An ability to close the message by hitting a letter (such as C or 0)
    I don't believe this is possible with HUD text. A menu could have an exit option

    Quote:
    Originally Posted by Jmgr View Post
    - A menu, which can be called with sm_menu (or something else if the name is reserved). Example :
    sm_menu [menu id] [steam id] [menu title] [menu option1] [menu option2] [...]
    When a player chooses a selection, the plugin will produce an output in the server console like :
    MENU [menu id] [steam id] [choice id]
    This could be done.....but what would you do with it? The output would not be very usable.

    Quote:
    Originally Posted by Jmgr View Post
    - A complete gui with word wrapping and sliders for long messages
    I think you could do this with CreateDialog() but I have never tried.

    Quote:
    Originally Posted by Jmgr View Post
    - The possibility to specificy the lifetime of the gui message
    Can be done with a menu but not with HUD text.

    Quote:
    Originally Posted by Jmgr View Post
    - The possibility to specificy the position (center, left, right, ...) of the gui message
    I am not sure if this is possible.

    Quote:
    Originally Posted by Jmgr View Post
    - The possibility to send the a message/menu to all players
    You can send a HUD message to all players already. sm_hsay in basechat
    dalto is offline
    spelworm
    Senior Member
    Join Date: Mar 2007
    Old 08-19-2007 , 23:51   Re: HUD Message
    Reply With Quote #4

    Isnt this the same as sm_msay or sm_hsay ?
    spelworm is offline
    dalto
    Veteran Member
    Join Date: Jul 2007
    Old 08-19-2007 , 23:54   Re: HUD Message
    Reply With Quote #5

    Quote:
    Originally Posted by spelworm View Post
    Isnt this the same as sm_msay or sm_hsay ?
    At the moment, those cannot be targeted to a specific player.
    dalto is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 08-20-2007 , 12:35   Re: HUD Message
    Reply With Quote #6

    anyway, good idea! =)
    thanks for plugin.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    Jmgr
    Member
    Join Date: Aug 2007
    Location: Paris, France
    Old 08-20-2007 , 12:42   Re: HUD Message
    Reply With Quote #7

    Quote:
    This could be done.....but what would you do with it? The output would not be very usable.
    It would be for a program that is between the dedicated server and the OS, it "reads" what the server says and sends command to it. So the server console is my only source
    Jmgr is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 08-20-2007 , 17:45   Re: HUD Message
    Reply With Quote #8

    [Req] Give us a simple chat trigger : @@@@

    It would be in keeping with existing chat triggers and would save having to type two extra characters :
    Code:
    /phsay <name> text
    
    @@@@ <name> text
    Mainly it's so I can more easily remember the trigger.

    @@@@ is more memorable than /phsay for the above reasons.
    __________________
    Extreme_One is offline
    pimpinjuice
    Veteran Member
    Join Date: May 2006
    Old 08-27-2007 , 02:26   Re: HUD Message
    Reply With Quote #9

    Approved, sorry for the late approval.
    __________________
    pimpinjuice is offline
    Send a message via AIM to pimpinjuice
    TheDo0octor
    Junior Member
    Join Date: Oct 2012
    Old 07-21-2013 , 21:55   Re: HUD Message
    Reply With Quote #10

    Screenshot anyone ?
    TheDo0octor is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 11:13.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode