22.05.2011, 08:08
Hello everone.I find new to make plates in multicolor.I was mapping my map and i try to do it and its working.Lets start
First of all you give top of your script defines i have this one
You make car in MTA and you put in game first top of your script under that colors!
Than in GameModeInt you give this (its from my script)
That is Infernus.That is car which we give plates in multicolor.
Next step is:
Under you give this
And now is best part.You saw that G.R.P and you give there this one
Its green color.
And its looks like this
And we give this all to GameModeInt and its looks like this one under
Here is screen shots which i make from in game how its looks:
its in green color!
First of all you give top of your script defines i have this one
pawn Код:
#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}"
pawn Код:
new vehicle0;
pawn Код:
vehicle0 = AddStaticVehicle(411, 323.452941, 1626.882812, 21.687446, 180.000000, 125, 7);
Next step is:
Under you give this
pawn Код:
SetVehicleNumberPlate(vehicle0, "G.R.P");
pawn Код:
{6EF83C}
And its looks like this
pawn Код:
SetVehicleNumberPlate(vehicle0, "{6EF83C}G.R.P");
pawn Код:
new vehicle0;//top of your script
// to GameModeInt
vehicle0 = AddStaticVehicle(411, 323.452941, 1626.882812, 21.687446, 180.000000, 125, 7);
SetVehicleNumberPlate(vehicle0, "{6EF83C}G.R.P");
its in green color!