Raised This Month: $ Target: $400
 0% 

Having two colors in a hud message?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 07-01-2006 , 10:57   Having two colors in a hud message?
Reply With Quote #1

I want have 2 colors in a Hudmessage,it is possible?
__________________
schnitzelmaker is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 07-01-2006 , 11:01   Re: Having two colors in a hud message?
Reply With Quote #2

It doesnt look like it, but untill you get it, may I suggest using multiple hud messages and cycling fast through them.
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 07-01-2006 , 13:05   Re: Having two colors in a hud message?
Reply With Quote #3

I can overlay the message,with another,but the problem is that the numbers dont have the same lenght/width,and the second hudmessage is not at the same position.

Give there a way to change the font,or format it so,that every number has the same width??
__________________
schnitzelmaker is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-01-2006 , 13:08   Re: Having two colors in a hud message?
Reply With Quote #4

Quote:
Originally Posted by schnitzelmaker
I can overlay the message,with another,but the problem is that the numbers dont have the same lenght/width,and the second hudmessage is not at the same position.

Give there a way to change the font,or format it so,that every number has the same width??
Add spaces.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 07-01-2006 , 15:53   Re: Having two colors in a hud message?
Reply With Quote #5

Haha very funny,spaces are the most problem:

Here what i mean Hudmessage 2 is not at same position as hudmessage 1:
Hudmessage 145ABCD
Hudmessage 2: 45AB
__________________
schnitzelmaker is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 07-01-2006 , 16:42   Re: Having two colors in a hud message?
Reply With Quote #6

change the value of the position on the i axis (x axis for vectors and such)
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 07-01-2006 , 17:06   Re: Having two colors in a hud message?
Reply With Quote #7

yes,but i need >20 mathematic calculation to fix the fully string position.
__________________
schnitzelmaker is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 07-01-2006 , 17:28   Re: Having two colors in a hud message?
Reply With Quote #8

calculator? excel? they all do it!
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
schnitzelmaker
Senior Member
Join Date: Apr 2006
Location: HERE
Old 07-01-2006 , 18:07   Re: Having two colors in a hud message?
Reply With Quote #9

lol,but not automated in a plugin,in a plugin the caculation need 30~50 lines.
I must check every number/alphabetic in the string,and my string is >50 long.
And i must check how many pixel the number/alphabetic have in width.In hudmessage i must check in 0.0001 steps.So its need a little long to check >50
number/alphabetic in 0.0001 steps to test how width they are.

Anyone has a usefull Idee?

I have also heard from somone he have the same problems since he has upgraded to Amxx 1.75.I also use amxx 1.75 and i know there are some bugs inside amxx 1.75 version,but i dont know if this also an bug.
__________________

Last edited by schnitzelmaker; 07-02-2006 at 04:26.
schnitzelmaker is offline
shino
Senior Member
Join Date: May 2006
Old 07-03-2006 , 16:15   Re: Having two colors in a hud message?
Reply With Quote #10

try to overlay it with hud message generator in AMXX-Studio - it should do.

EDIT: when i woke up, i realized, that is impossible either. my bad.

Last edited by shino; 07-04-2006 at 02:32.
shino is offline
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 08:05.


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