![]() |
Text Color Changing
What is wrong with this and help me!
if (playertouchsme) { toweapons *Text Coloring; } if (isweapon) { if (strequals( #c, setfont white )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,1,1,1,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont blue )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,0,0,1,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont green )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,0,1,0,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont red )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,1,0,0,1.99; changeimgzoom index,1; } } } if (weaponfired) { if (strequals( #c, setfont white )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,1,1,1,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont blue )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,0,0,1,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont green )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,0,1,0,1.99; changeimgzoom index,1; } } if (strequals( #c, setfont red )) { if (playerchats) { showimg index,@Tempus Sans ITC@bold(Bold)@#c,x,y; changeimgcolors index,1,0,0,1.99; changeimgzoom index,1; } } say2 To change your font#bcolor say:#bsetfont [COLOR]#bHere are the colors:#bWhite#bRed#bBlue#bGreen; } |
if (playerchats && strequals(#c,setfont white)) {
All the setfont commands should start like that. And, not bold(Bold). Just 1 plain lowercase b |
no need to put it under if (weaponfired) {}
|
Re: Text Color Changing
PHP Code:
|
They do work ^_^ but ='( they dont change the color of the players text
|
Quote:
No can do. Player chattext is the same text, font, and size as specified in options menu which is the same style used for Nicknames. using showimg to display text is more for visual signs, not chat text, altough it could be done it is not necessary :D The hardest part would be keeping it centered above the player's head ;) |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 10:17 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.