SA-MP Forums Archive
append values to strings - 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: append values to strings (/showthread.php?tid=148795)



append values to strings - Bayler - 19.05.2010

Specifficly....

FactionInfo[factionid][fColor] = FFFFFF;

FFFFFF is stored SQL side ...

What is the best way to append( 0x + FFFFFF + 65 )

Im attempting to assign a Color to a GangZone based on the Faction Color .... However, i dont like the 'solid' overlay on the Radar, so id like to dress it down by setting the opacity to 65 .

Am i way of base in my approach or should it be append ?


Re: append values to strings - Bayler - 19.05.2010

god darnit ... under my freaking nose...


Problem solved via: HexToInt(FactionInfo[factionid][fColor]);