Colors
#1

Where can I get the colors like this:
Код:
#define BLUE      0x33CCFFAA
?
Reply
#2

go to http://www.2createawebsite.com/build/hex-colors.html
then create the color u like.
then for example when u get a code like this "#A620A4"
take the part "A620A4"
put "0x" infront of it and "AA" after it, so you code looks like "0xA620A4AA"
and there we go you got your color !
Reply
#3

Search for a "Hex color table"

The hex codes are like this : #000000
To use in pawn, remove the "#" and put "0x" infront and "FF" on the end.

Format is 0xRRGGBBTT (R = red, G = green, B = blue, T = transparency)
Reply
#4

pawn Код:
#define RED 0xAA3333AA
#define GREY 0xAFAFAFAA
#define GREEN 0x33AA33AA
#define YELLOW 0xFFFF00AA
#define WHITE 0xFFFFFFAA
#define BLUE 0x0000BBAA
#define LIGHTBLUE 0x33CCFFAA
#define ORANGE 0xFF9900AA
#define LIME 0x10F441AA
#define MAGENTA 0xFF00FFFF
#define NAVY 0x000080AA
#define AQUA 0xF0F8FFAA
#define CRIMSON 0xDC143CAA
#define FLBLUE 0x6495EDAA
#define BISQUE 0xFFE4C4AA
#define BLACK 0x000000AA
#define CHARTREUSE 0x7FFF00AA
#define BROWN 0xA52A2AAA
#define CORAL 0xFF7F50AA
#define GOLD 0xB8860BAA
#define GREENYELLOW 0xADFF2FAA
#define INDIGO 0x4B00B0AA
#define IVORY 0xFFFF82AA
#define LAWNGREEN 0x7CFC00AA
#define LIMEGREEN 0x32CD32AA
#define MIDNIGHTBLUE 0x191970AA
#define MAROON 0x800000AA
#define OLIVE 0x808000AA
#define ORANGERED 0xFF4500AA
#define PINK 0xFFC0CBAA
#define SPRINGGREEN 0x00FF7FAA
#define TOMATO 0xFF6347AA
#define YELLOWGREEN 0x9ACD32AA
#define MEDIUMAQUA 0x83BFBFAA
#define MEDIUMMAGENTA 0x8B008BAA
#define BRIGHTRED 0xDC143CAA
#define SYSTEM 0xEFEFF7AA
#define PURPLE 0x330066AA
those are mine
Reply
#5

O.o
I made this
Код:
// 0 means the color with more brightness

#include <a_samp>
#define WHITE0	0xFFFFFFF
#define GREY0   0xEEEEEEE
#define GREY1   0xDDDDDDD
#define GREY2   0xCCCCCCC
#define GREY3   0xBBBBBBB
#define GREY4   0xAAAAAAA
#define GREY5   0x9999999
#define GREY6   0x8888888
#define GREY7   0x7777777
#define GREY8   0x6666666
#define GREY9	0x5555555
#define GREY10	0x4444444
#define GREY11  0x3333333
#define GREY12  0x2222222
#define BLACK0  0x1111111
#define BLACK1  0x0000000
#define RED0    0xFF0000
#define RED1    0xEE0000
#define RED2    0xDD0000
#define RED3    0xCC0000
#define RED4    0xBB0000
#define RED5    0xAA0000
#define RED6    0x990000
#define RED7    0x880000
#define RED8    0x770000
#define RED9    0x660000
#define RED10   0x550000
#define RED11   0x440000
#define RED12   0x330000
#define RED13   0x220000
#define RED14   0x110000
#define YELLOW0 0xFFFFCC
#define YELLOW1 0xFFFF99
#define YELLOW2 0xFFFF66
#define YELLOW3 0xFFFF33
#define YELLOW4 0xFFFF00
#define GREEN0  0x00FF00
#define GREEN1  0x00EE00
#define GREEN2  0x00DD00
#define GREEN3  0x00CC00
#define GREEN4  0x00BB00
#define GREEN5  0x00AA00
#define GREEN6  0x009900
#define GREEN7  0x008800
#define GREEN8  0x007700
#define GREEN9  0x006600
#define GREEN10 0x005500
#define GREEN11 0x004400
#define GREEN12 0x003300
#define GREEN13 0x002200
#define GREEN14 0x001100
#define BLUE0   0x0000FF
#define BLUE1   0x0000EE
#define BLUE2   0x0000DD
#define BLUE3   0x0000CC
#define BLUE4   0x0000BB
#define BLUE5   0x0000AA
#define BLUE6   0x000099
#define BLUE7   0x000088
#define BLUE8   0x000077
#define BLUE9   0x000066
#define BLUE10  0x000055
#define BLUE11  0x000044
#define BLUE12  0x000033
#define BLUE13  0x000022
#define BLUE14  0x000011
Reply
#6

Good luck, adding colors are very difficult.
Reply
#7

I think the easiest way to do it is to use

SAMP Color Picker

How to?
Just open it and chose the color then click ok, then you have your color code, copy and paste the code anywhere u like
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)