Raised This Month: $ Target: $400
 0% 

[How to]Hudmessage channel help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AoD90
Senior Member
Join Date: Jul 2008
Location: Ugljevik/RS/BIH
Old 01-14-2009 , 13:17   [How to]Hudmessage channel help
Reply With Quote #1

Hey all,

I'm sorry if there is topic like this but I couldn't find anythig that would help...

How to handle this:

Code:
    set_hudmessage(127, 255, 42, 0.00, -1.5, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0,"Spremni igraci %s tima:",glavniCT)
    set_hudmessage(127, 255, 42, 0.00, -1.0, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0,"Spremni igraci %s tima:",glavniT)
    set_hudmessage(127, 255, 42, 0.70, -1.5, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0,"Igraci koji nisu spremni su:")
    set_hudmessage(127, 255, 42, 0.00, -0.9, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0, MsgTextCT)
    set_hudmessage(127, 255, 42, 0.00, -0.5, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0, MsgTextT)
    set_hudmessage(127, 255, 42, 0.70, -1.5, 0, 0.0, 1.1, 0.0, 0.0, -1)
    show_hudmessage(0, MsgText)
I wanna show all 6 hudmessages at the same time and I don't wanna any hudmessage overwrites some hudmessage.

Any ideas?
AoD90 is offline
Send a message via MSN to AoD90
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 01-14-2009 , 14:18   Re: [How to]Hudmessage channel help
Reply With Quote #2

Change the coordinates of the code.

example:
127, 255, 42, 0.70, -1.5, 0, 0.0, 1.1, 0.0, 0.0, -1
Change that to:
130, 255, 42, 0.70, -1.5, 0, 0.0, 1.1, 0.0, 0.0, -1

Something like that.
BOYSplayCS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2009 , 14:29   Re: [How to]Hudmessage channel help
Reply With Quote #3

You can't show more than 4 messages, but you can use ^n in a message ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 01-14-2009 , 14:43   Re: [How to]Hudmessage channel help
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
You can't show more than 4 messages, but you can use ^n in a message ;)
BOYSplayCS is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 01-14-2009 , 14:44   Re: [How to]Hudmessage channel help
Reply With Quote #5

Very bad

EDIT: Wtf I've tested, it shows me 5 messages like I posted.

Last edited by xbatista; 01-14-2009 at 14:50.
xbatista is offline
Send a message via Skype™ to xbatista
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-14-2009 , 15:02   Re: [How to]Hudmessage channel help
Reply With Quote #6

Yes, printing to other channel works, but it'll take much channels, so other plugins can't show hud messages.
Quote:
Originally Posted by ConnorMcLeod View Post
You can't show more than 4 messages, but you can use ^n in a message ;)
It will change line(If u didn't know), so it just works for printing to the same place, but line lower ofc.
SnoW is offline
Send a message via MSN to SnoW
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 01-14-2009 , 14:31   Re: [How to]Hudmessage channel help
Reply With Quote #7

When did the message limit come in? ^_^
BOYSplayCS is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 01-14-2009 , 14:41   Re: [How to]Hudmessage channel help
Reply With Quote #8

Maybe?
PHP Code:

public showsomething()
{
hud1()
hud2()
hud3()
hud4()
hud5()
}
public 
hud1()
{
       
set_hudmessage(2552000.030.0220.0112.00.020.011
       
show_hudmessage(0"xxx1:")
}
public 
hud2()
{
       
set_hudmessage(2552000.030.1220.0112.00.020.012
       
show_hudmessage(0"xxx2:")
}
public 
hud3()
{
       
set_hudmessage(2552000.080.2220.0112.00.020.013
       
show_hudmessage(0"xxx3:")
}
public 
hud4()
{
       
set_hudmessage(255200, -0.030.2220.0112.00.020.014
       
show_hudmessage(0"xxx4:")
}
public 
hud5()
{
       
set_hudmessage(2552000.03, -0.2220.0112.00.020.015
       
show_hudmessage(0"xxx5:")


Last edited by xbatista; 01-14-2009 at 14:49.
xbatista is offline
Send a message via Skype™ to xbatista
Reply



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 01:43.


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