Save color on dini
#1

I defined a color:
pawn Код:
#define agua 0x00FFFFFF
Which format of string would have I to use to save on dini like this:

pawn Код:
Color=agua
I tried:
pawn Код:
%d, %f, %i, %s

And just give random letters / numbers =S
Reply
#2

Код:
Format Strings
Placeholder 	Meaning
%b 	Inserts a number at this position in binary radix
%c 	Inserts a single character.
%d 	Inserts an integer (whole) number
%f 	Inserts a floating point number.
%i 	Inserts an integer.
%s 	Inserts a string.
%x 	Inserts a number in hexadecimal notation.
%% 	Inserts the literal '%'
Reply
#3

Use %h, but there will be a problem with reading, I would use %d.
Reply
#4

Obviously he tried %d.. Maybe try %x.
Reply
#5

%x is for hex, yes, try using it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)