[Tutorial] How to create Plates in Multicolor
#1

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

its in green color!
Reply
#2

Nice i will try !
Reply
#3

Quote:
Originally Posted by Respekt
Посмотреть сообщение
Nice i will try !
Thanks
Reply
#4

awesome im definately adding this, but you should make it more noob friendly :P
thanks again
btw where can i get a list of the color id's?
Reply
#5

Quote:
Originally Posted by xalith
Посмотреть сообщение
awesome im definately adding this, but you should make it more noob friendly :P
thanks again
btw where can i get a list of the color id's?
You can get it more from tutorial "How to make radom messages with multycolor" i think
Reply
#6

Really nice post and helpfull thank you !
Reply
#7

Really nice tut
Reply
#8

Here's my tut about messages: https://sampforum.blast.hk/showthread.php?tid=250389
Reply
#9

Quote:
Originally Posted by GangsTa[MD]
Посмотреть сообщение
You think i am copying you LOL i am not crazy i make my self becouse i was making Stunt zone and cars was there too and converter convert me cars and plates and i was testing mate!
Reply
#10

Why are you defining the colors when you use the original HEX codes LOL.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)