![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
For everyone that wants a colored name with C4 files:
Code:
insert into user_name_color (char_id, color_rgb) values(char_id_here,rgbcode_here) and rgb code for red = 255 Code:
insert into user_name_color (char_id, color_rgb) values(1,255) ![]() *hint: use google to find rgb codes* |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 255
|
Thank for the info
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
Nice man
!
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
what about blue and green values?
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Aug 2006
Posts: 21
|
sweet, thanks
|
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Jan 2006
Posts: 281
|
Quote:
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Jan 2006
Posts: 363
|
i mean:
values(1,255) the 255 is only for red, what if i want to enter the value like, 34, 24, 255? |
|
|
|
|
#8 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
then read above...
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Aug 2006
Posts: 3
|
Amazing, thanks a ton
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
anyone know ingame GM commands to give target X recommends?
and how to set one Hero? only via db? I tired //set_hero 1 or ns_hero 0 and nothing (I dont light..) where in db is stored who is hero & how much recommends who have? and btw.. yes.. how to insert more than one value? I mean how to insert 106 90 205 rgbvalue? (char_id,10690205) ?? couse 106,90,205 not working |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
My guess would be R+256*G+65536*B for an integer value. It's only a guess, i do not have test it.
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
u can generate it with this
http://www.lmstudio.ru/data/prg/Setu...ge%20Utils.exe |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jul 2006
Posts: 11
|
should i put that in the AI folder?
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
mssql database.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
any one actually get a color other then red to work, would love to get the color format
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
|
|
|
|
|
#19 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Quote:
|
|
|
|
|
|
#20 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
Quote:
Code:
$color_rgb= ( hexdec ( substr ( $_GET [ "name_color" ], 0, 2 ) ) + ( hexdec ( substr ( $_GET [ "name_color" ], 2, 2 ) ) << 8 ) + ( hexdec ( substr ( $_GET [ "name_color" ], 4, 2 ) ) << 16 ) ); Code:
printf ( "%02X%02X%02X", $color_rgb & 0xff, ( $color_rgb & 0xff00 ) >> 8, ( $color_rgb & 0xff0000 ) >> 16 ); |
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: Mar 2005
Posts: 133
|
Here is a good list of colors
Use the Access code http://cloford.com/resources/colours/500col.htm Should help a couple ppl |
|
|
|
|
#22 |
|
Архивный участник
Join Date: Sep 2006
Posts: 6
|
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Aug 2005
Posts: 394
|
No not really. for example red is (#)FF0000. flip 0000FF, and use your calculator to convert it to decimals.
|
|
|
|
|
#24 |
|
Архивный участник
Join Date: Feb 2006
Posts: 66
|
Is there any way to do it via client or CasheD?
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
Only way i know is table update (SQL).
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|