Multiple colours on each vehicle plate
#1

How can I do this? I would like to have a feature like it on my server. Thanks.
Reply
#2

Is it possible to embed colors onto vehicle plates?
Reply
#3

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Is it possible to embed colors onto vehicle plates?
Yes it is just like client messages and 3D labels.
Reply
#4

Quote:
Originally Posted by admantis
Посмотреть сообщение
Yes it is just like client messages and 3D labels.
Oh, well in that case, -Luis, just put the colors in the string. Like so:

pawn Код:
"{FF00AA}backup"
Reply
#5

How would i do it so a random colour goes to each license plate, i know i would use an array but i dont know what i would do next.
Reply
#6

I would consider doing something like this:

pawn Код:
format(platestring, sizeof(platestring), "{%s}%s", randomcolorhere, platetext);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)