SA-MP Forums Archive
[Tutorial] How to create Plates in Multicolor - 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)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] How to create Plates in Multicolor (/showthread.php?tid=256733)



How to create Plates in Multicolor - SpiderWalk - 22.05.2011

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!



Re: How to create Plates in Multicolor - Respekt - 22.05.2011

Nice i will try !


Re: How to create Plates in Multicolor - SpiderWalk - 22.05.2011

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


Re: How to create Plates in Multicolor - xalith - 22.05.2011

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?


Re: How to create Plates in Multicolor - SpiderWalk - 22.05.2011

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


Re: How to create Plates in Multicolor - Wispo - 12.06.2011

Really nice post and helpfull thank you !


Re: How to create Plates in Multicolor - BASITJALIL - 12.06.2011

Really nice tut


Re: How to create Plates in Multicolor - GangsTa_ - 12.06.2011

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


Re: How to create Plates in Multicolor - SpiderWalk - 12.06.2011

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!


Re: How to create Plates in Multicolor - alpha500delta - 12.06.2011

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