Save color on dini - 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: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Save color on dini (
/showthread.php?tid=200554)
Save color on dini -
blackwave - 18.12.2010
I defined a color:
Which format of string would have I to use to save on dini like this:
I tried:
And just give random letters / numbers =S
Re: Save color on dini -
Lorenc_ - 18.12.2010
Код:
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 '%'
Re: Save color on dini -
rs.pect - 18.12.2010
Use %h, but there will be a problem with reading, I would use %d.
Re: Save color on dini -
Lorenc_ - 18.12.2010
Obviously he tried %d.. Maybe try %x.
Re: Save color on dini -
Mean - 18.12.2010
%x is for hex, yes, try using it