3D Text Labels? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 3D Text Labels? (
/showthread.php?tid=584058)
3D Text Labels? -
TheRaGeLord - 02.08.2015
Hey, I wanna ask that How Can I use muiltiple colors in 3D Text Label? Foreg >
This is a 3D Text Label With Multiple Colors
Re: 3D Text Labels? -
Nin9r - 02.08.2015
Use
www.colorpicker.com to get some colors and put it on your GM.
It must be like: This is {HEX}a 3D Text {HEX}Label With {HEX}Multiple Colors.
You have to replace HEX text with your colors from colorpicker.com
Re: 3D Text Labels? -
Moudix - 02.08.2015
PHP код:
#define COL_EASY "{FFF1AF}"
#define COL_WHITE "{FFFFFF}"
#define COL_BLACK "{0E0101}"
#define COL_GREY "{C3C3C3}"
#define COL_GREEN "{6EF83C}"
#define COL_RED "{F81414}"
#define COL_YELLOW "{F3FF02}"
#define COL_ORANGE "{FFAF00}"
#define COL_LIME "{B7FF00}"
#define COL_CYAN "{00FFEE}"
#define COL_LIGHTBLUE "{00C0FF}"
#define COL_BLUE "{0049FF}"
#define COL_MAGENTA "{F300FF}"
#define COL_VIOLET "{B700FF}"
#define COL_PINK "{FF00EA}"
#define COL_MARONE "{A90202}"
#define COL_CMD "{B8FF02}"
#define COL_PARAM "{3FCD02}"
#define COL_SERVER "{AFE7FF}"
#define COL_VALUE "{A3E4FF}"
#define COL_RULE "{F9E8B7}"
#define COL_RULE2 "{FBDF89}"
#define COL_RWHITE "{FFFFFF}"
#define COL_LGREEN "{C9FFAB}"
#define COL_LRED "{FFA1A1}"
#define COL_LRED2 "{C77D87}"
Re: 3D Text Labels? -
TheRaGeLord - 02.08.2015
But then What should I put in color param of create3DTextLabel?
Re: 3D Text Labels? -
Mariciuc223 - 02.08.2015
An exemple how to use :
Код:
#include <a_samp>
#define GSF_GREEN "{008000}"
#define BALLAS_PURPLE "{800080}"
public OnGameModeInit( )
{
//Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS)
Create3DTextLabel("Hello, "GREEN" There will be green !"BALLAS_PURPLE" There will be purple !", -1, X, Y, Z, 40.0, -1, 1);
}
Will print :
Hello, There will be green ! There will be purple !
Re: 3D Text Labels? -
TheRaGeLord - 02.08.2015
oh thanks