Raised This Month: $ Target: $400
 0% 

changing StatusText colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 02-25-2006 , 13:50   changing StatusText colors
Reply With Quote #1

hi,

is there anyway to change the color of StatusTexts? (the text where if you aim at a teammate it say "Friend : Name Health : 100%" in your team color)

ive tried
Code:
	if(g_isTesting[id]) iLen += format(message[iLen],(255-iLen),"^x01 1 :^x02 2 :^x03 3 :^x04 4")
and it just comes out as 1 : 2 : 3 : 4 in the normal color

any help is appreciated
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
VEN
Veteran Member
Join Date: Jan 2005
Old 02-26-2006 , 14:19  
Reply With Quote #2

I believe: no.
VEN is offline
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 02-27-2006 , 15:54  
Reply With Quote #3

If you can block the StatusText, you can replace it with your own hudmessage that you can set color on.
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 02-27-2006 , 17:33  
Reply With Quote #4

so how do i get what the status text is and stuff?
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-27-2006 , 17:50  
Reply With Quote #5

Code:
#include <amxmodx> public plugin_init() {   register_plugin("StatusText logger" , "0.1" , "v3x");   register_event("StatusText" , "Event_StatusText" , "b"); } public Event_StatusText(id) {   new nLineNum = read_data(1);   new szText[164];   read_data(2 , szText , 163);   new szUserName[33];   get_user_name(id , szUserName , 32);   new szOutput[256];   format(szOutput , 255 , "[Begin StatusText logmessage]\   ^nLine number: %d\   ^nText: %s\   ^nPlayer name: %s\   ^n[End StatusText logmessage]" , nLineNum , szText , szUserName);   log_amx(szOutput); }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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 20:14.


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