Raised This Month: $51 Target: $400
 12% 

Quick Question - I hope it fits in this section.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SiimSiimSiim
Member
Join Date: Jan 2009
Old 08-10-2009 , 08:00   Quick Question - I hope it fits in this section.
Reply With Quote #1

Can i change the color of this... ---> http://www.upload.ee/image/142802/de_dust20003.png

...VIA FTP, so everyone could have the same color ingame? For example white/red/blue

If i can, what plugin i have to edit... or what?
SiimSiimSiim is offline
bluechester
AlliedModders Donor
Join Date: Nov 2008
Old 08-10-2009 , 11:29   Re: Quick Question - I hope it fits in this section.
Reply With Quote #2

Why would you need to edit that? And yes, you can edit the color by editing the source of the plugin that is being used for that hud message.
bluechester is offline
pirvu
Senior Member
Join Date: Apr 2009
Location: Here and There [ro]
Old 08-10-2009 , 11:59   Re: Quick Question - I hope it fits in this section.
Reply With Quote #3

Quote:
Originally Posted by bluechester View Post
Why would you need to edit that? And yes, you can edit the color by editing the source of the plugin that is being used for that hud message.
--Stop making offtopic and try to help


That is a function of statsx.sma
__________________
Http://pirvu.mybrute.com <- Try my BRUTE! If you dare!
pirvu is offline
Send a message via Yahoo to pirvu Send a message via Skype™ to pirvu
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 08-10-2009 , 11:59   Re: Quick Question - I hope it fits in this section.
Reply With Quote #4

But you can have more than 1 color in a hud message.
__________________
Gizmo is offline
SiimSiimSiim
Member
Join Date: Jan 2009
Old 08-10-2009 , 12:02   Re: Quick Question - I hope it fits in this section.
Reply With Quote #5

statsx.sma

Thanks, il try.

// Hard to find it inside statsx.sma

If anyone could make the color white/red/green/blue, then you are welcome to do it, and pm me the .sma

http://www.upload.ee/files/155613/statsx.sma.html

Last edited by SiimSiimSiim; 08-10-2009 at 12:08.
SiimSiimSiim is offline
pirvu
Senior Member
Join Date: Apr 2009
Location: Here and There [ro]
Old 08-10-2009 , 12:14   Re: Quick Question - I hope it fits in this section.
Reply With Quote #6

Here is a little secret

MOST_DMG --> search for it


format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d %L -- %0.2f%% %L / %0.2f%% %L^n", LANG_SERVER, "MOST_DMG", g_izUserRndName[id],
g_izUserRndStats[id][STATS_HITS], LANG_SERVER, "HIT_S", iMaxDamage, LANG_SERVER, "DMG", fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC")
add(sBuffer, MAX_BUFFER_LENGTH, t_sText)

I found Most_DMG ( in statsx.txt )
__________________
Http://pirvu.mybrute.com <- Try my BRUTE! If you dare!
pirvu is offline
Send a message via Yahoo to pirvu Send a message via Skype™ to pirvu
SiimSiimSiim
Member
Join Date: Jan 2009
Old 08-10-2009 , 13:18   Re: Quick Question - I hope it fits in this section.
Reply With Quote #7

And wheres the color code to edit?
SiimSiimSiim is offline
mplayerexe
Senior Member
Join Date: Dec 2008
Old 08-11-2009 , 00:10   Re: Quick Question - I hope it fits in this section.
Reply With Quote #8

here is one with random color
Attached Files
File Type: sma Get Plugin or Get Source (statsx.sma - 490 views - 50.6 KB)
__________________
mplayerexe is offline
SiimSiimSiim
Member
Join Date: Jan 2009
Old 08-11-2009 , 04:29   Re: Quick Question - I hope it fits in this section.
Reply With Quote #9

Its still the same color :/
SiimSiimSiim is offline
mplayerexe
Senior Member
Join Date: Dec 2008
Old 08-11-2009 , 06:14   Re: Quick Question - I hope it fits in this section.
Reply With Quote #10

no it`s not

u must modifi this


PHP Code:
// Set hudmessage format.
set_hudtype_killer(Float:fDuration)
    
set_hudmessage(REDGREENBLUE0.050.1506.0fDuration, (fDuration >= g_fHUDDuration) ? 1.0 0.01.0, -1)

set_hudtype_endround(Float:fDuration)
{
    
set_hudmessage(REDGREENBLUE0.050.5500.02fDuration, (fDuration >= g_fHUDDuration) ? 1.0 0.01.0)
}

set_hudtype_attacker(Float:fDuration)
    
set_hudmessage(REDGREENBLUE0.550.3506.0fDuration, (fDuration >= g_fHUDDuration) ? 1.0 0.01.0, -1)

set_hudtype_victim(Float:fDuration)
    
set_hudmessage(REDGREENBLUE0.550.6006.0fDuration, (fDuration >= g_fHUDDuration) ? 1.0 0.01.0, -1)

set_hudtype_specmode()
{
    
set_hudmessage(REDGREENBLUE0.020.9620.050.10.013.0, -1)

__________________
mplayerexe 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 00:13.


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