Hidden vehicle colors
#1

Hidden vehicle colors
Hey guys

Now i was in my server messing around a bit spawning vehicles and i found some secret colors there pretty cool.

It will even show a picture of the color, And the ID. ^^

And i don't have any idea if these have been found or not so go easy.

Enjoy, Btw tell me if I'm in the wrong section thanks

The colors:








Enjoy ^^
Reply
#2

Any comments this took some time.
Reply
#3

=O i seen these colors on some server but now i found them out muahah >:]
nice
Reply
#4

Quote:
Originally Posted by Kitten
Посмотреть сообщение
=O i seen these colors on some server but now i found them out muahah >:]
nice
Thanks enjoy!

Btw i'll be finding more colors another time
Reply
#5

Niiiice xD How are you able to find a code 56732 xD
That would cost time to find out :P

Btw I have a feeling that 66021 is one too. I don't know why I think that :P
Reply
#6

Quote:
Originally Posted by bartje01
Посмотреть сообщение
Niiiice xD How are you able to find a code 56732 xD
That would cost time to find out :P

Btw I have a feeling that 66021 is one too. I don't know why I think that :P
I'll test 66021 and tell you ^^


Nope its just black.
Reply
#7

IIRC, colors range from 0 to 255. Anything above that will wrap around.

https://sampwiki.blast.hk/wiki/Color_ID
Reply
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
IIRC, colors range from 0 to 255. Anything above that will wrap around.

https://sampwiki.blast.hk/wiki/Color_ID
These colors work fine i've tested them.
Reply
#9

Unfortunately, all of the possible hidden vehicle colours have been found.



Vehicle colours are stored in one unsigned byte, so their values range from 0 to 255.

As Vince said above, values higher than 255 will simply wrap around (so 256 is 0, 257 is 1, 300 is 44 etc)

Using modulo (remainder of a division) on a number is a quick way to see what a value would be when it has been limited to 256 (0 to 255) values.

So, for example 3223 % 256 = 151 which upon checking on the image above shows 151 is the same red as you showed for 3223.

So in conclusion, yes - your colours will show up on vehicles fine, but they are not new or any different to the ones on the image above.
Reply
#10

Quote:
Originally Posted by kc
Посмотреть сообщение
Unfortunately, all of the possible hidden vehicle colours have been found.



Vehicle colours are stored in one unsigned byte, so their values range from 0 to 255.

As Vince said above, values higher than 255 will simply wrap around (so 256 is 0, 257 is 1, 300 is 44 etc)

Using modulo (remainder of a division) on a number is a quick way to see what a value would be when it has been limited to 256 (0 to 255) values.

So, for example 3223 % 256 = 151 which upon checking on the image above shows 151 is the same red as you showed for 3223.

So in conclusion, yes - your colours will show up on vehicles fine, but they are not new or any different to the ones on the image above.
Okay, I was just trying to help. ;(
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)