Raised This Month: $135 Target: $400
 33% 

[INC] Director Hud Message


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-15-2017 , 14:07   Re: [INC] Director Hud Message
Reply With Quote #211

If you have read mine, you would know that what you wrote makes no sense. You didn't provide the plugin that you made, so I can't possibly help you.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Street Boy
Junior Member
Join Date: Mar 2017
Old 03-16-2017 , 06:16   Re: [INC] Director Hud Message
Reply With Quote #212

Quote:
Originally Posted by OciXCrom View Post
If you have read mine, you would know that what you wrote makes no sense. You didn't provide the plugin that you made, so I can't possibly help you.
Yeah you are right, ok this is my code:
Code:
#include <amxmodx>
#include <dhudmessage>

public plugin_init()
{
    register_plugin("Message", "", "");
    register_concmd("knife", "KnifeCommand");
}

public KnifeCommand(client)
{
    set_dhudmessage(255, 255, 0, -1.0, 0.22, 1, 10.0, 10.0, 2.0, 2.0);
    show_dhudmessage(0, "KNIFE Round!!!");
}
And this is my problem:

when I set index to 0.
show_dhudmessage(0, "KNIFE Round!!!")
To display my Director HUD Message to all players, when we are playing and HLTV record our demo, when we change the map, my HLTV crash, and when i want to see that demo, these message appear:
----------------------------------------------------------------------
] viewdemo 01
Playing demo from 01.dem.
WARNING! Demo had bogus number of directory entries!
>Protocol Version 48, Spawn count 1 (HLTV)

Added 781 resources.
Received baseline with 67 entities.
Protocol Version 48, Spawn count 1 (HLTV)
Record connected
Voice adjusted for HLTV
Record connected
Voice adjusted for HLTV
#Cstrike_Name_Change
WARNING! Server:: ParseBad: illegal server message.
WARNING! Server:: ProcessMessage: packet read overflow.
WARNING! Server:: ParseBad: illegal server message.
WARNING! Server:: ProcessMessage: packet read overflow.
WARNING! Server:: ParseHLTV: unknown director command.
WARNING! Server:: ProcessMessage: pac

----------------------------------------------------------------------

But when set index to Client.
show_dhudmessage(client, "KNIFE Round!!!")
Everything work fine and HLTV never crash, and those message above when I want to view demo never appear, and everything is OK...

Can you help me, and fix this, because I want to display my Director HUD Message to all players, not only my teammates.

Sorry for my bad english.

Thank you very much.
Street Boy is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-16-2017 , 07:27   Re: [INC] Director Hud Message
Reply With Quote #213

try looping the clients and skipping hltv, it probably doesn't support dhud messages
__________________
Zombie Plague Nightmare Mod + all sub-plugins
Appreciate my help or want to support me release awesome plugins?
PayPal
Donate Steam games or items

georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Street Boy
Junior Member
Join Date: Mar 2017
Old 03-16-2017 , 07:37   Re: [INC] Director Hud Message
Reply With Quote #214

Quote:
Originally Posted by georgik57 View Post
try looping the clients and skipping hltv, it probably doesn't support dhud messages
You mean recording demo with clients console!?!?!

I can't recording demo with HLTV anyway!?!?!?!?!?!??!?! This is so bad!!!

Can anyone give me some way to do that PLZ!!??
Street Boy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-16-2017 , 08:43   Re: [INC] Director Hud Message
Reply With Quote #215

That's...... totally not what he meant.

PHP Code:
#include <amxmodx>
#include <dhudmessage>

public plugin_init()
{
    
register_plugin("Message""""");
    
register_concmd("knife""KnifeCommand");
}

public 
KnifeCommand(client)
{
    new 
iPlayers[32], iPnum;
    
get_players(iPlayersiPnum"ch");
    
set_dhudmessage(2552550, -1.00.22110.010.02.02.0);
    
    for(new 
iiPnumi++)
        
show_dhudmessage(iPlayers[i], "KNIFE Round!!!");

__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Street Boy
Junior Member
Join Date: Mar 2017
Old 03-16-2017 , 18:16   Re: [INC] Director Hud Message
Reply With Quote #216

Quote:
Originally Posted by OciXCrom View Post
That's...... totally not what he meant.

PHP Code:
#include <amxmodx>
#include <dhudmessage>

public plugin_init()
{
    
register_plugin("Message""""");
    
register_concmd("knife""KnifeCommand");
}

public 
KnifeCommand(client)
{
    new 
iPlayers[32], iPnum;
    
get_players(iPlayersiPnum"ch");
    
set_dhudmessage(2552550, -1.00.22110.010.02.02.0);
    
    for(new 
iiPnumi++)
        
show_dhudmessage(iPlayers[i], "KNIFE Round!!!");

Thanks, I'll try this Code.
Street Boy is offline
Old 11-28-2017, 05:51
Relaxing
This message has been deleted by Relaxing. Reason: Wring
kaxp3r
New Member
Join Date: Mar 2018
Old 03-13-2018 , 03:02   Re: [INC] Director Hud Message
Reply With Quote #217

my game (cs 1.6) crashes with no error messages, just straight up crashed! anything wrong that i have done? or is the installation incorrect?
kaxp3r is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-16-2018 , 11:00   Re: [INC] Director Hud Message
Reply With Quote #218

Quote:
Originally Posted by kaxp3r View Post
my game (cs 1.6) crashes with no error messages, just straight up crashed! anything wrong that i have done? or is the installation incorrect?
How is your game crashing related to this thread?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 12:40.


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