3D Text Labels?
#1

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
Reply
#2

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
Reply
#3

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}" 
Reply
#4

But then What should I put in color param of create3DTextLabel?
Reply
#5

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 !
Reply
#6

oh thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)