How to do this?(Dialog, string, color)
#1

Код:
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COL_ORANGE "{FF9900AA}"

new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), ""COL_WHITE"Welcome back "COL_ORANGE"%s. "COL_WHITE"Type your password below to login.",name);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_ORANGE"Login",string,"Login","Quit");
As you can see i want to use the string AND different colors in the string.
Anyone has an idea how to do this?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)