SA-MP Forums Archive
need some info - 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: need some info (/showthread.php?tid=261437)



need some info - marrcko - 13.06.2011

Hi, i have 2 question: Is color id like 0x0034FFFF is string and could this id be used @ GangZoneShowForAll

Edit:
OK... i have found that its unable to save, load and use this color code, so maybe there are some other ways to make save color id , and use it for message and etc


Re: need some info - King Ace - 13.06.2011

#define COLORNAME 0x0034FFFF

Now u can use this color as COLORNAME.


Re: need some info - marrcko - 13.06.2011

yes, i know that...
I think u didn't understand me...
I try to write about that with more details:
I need to save color code into .ini file as 'GangColor'.
its necessary for setting player color, gangs' zone color, messages' color and etc.
Ofcouse, everyone would said why so difficult? 'cause gangs are DYNAMIC.

So my question is: how I can save and load color's code(id) and what kind of variable it should be?