SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 24/05/2010, 01:18 PM   #1
!CryWolf
Big Clucker
 
Join Date: May 2010
Posts: 60
Reputation: 1
Default RGB Colors To Pawn

Hey guys,
I was wondering how to compile/change an RGB color format to Pawn/Hex code.
I found this website (http://web.njit.edu/~kevin/rgb.txt.html).
please tell me how to covert it!
Thanks!
!CryWolf is offline  
Old 24/05/2010, 01:28 PM   #2
dice7
High-roller
 
Join Date: Apr 2009
Location: Slovenia
Posts: 2,219
Reputation: 22
Default Re: RGB Colors To Pawn

You have the hex code right there on that site
dice7 is offline  
Old 24/05/2010, 01:59 PM   #3
MastahServers
Big Clucker
 
Join Date: Mar 2010
Posts: 105
Reputation: 0
Default Re: RGB Colors To Pawn

Add that below #include <a_samp> (or the other #define you have)

Code:
#define COLOR_'color' 0xRGB // Add the colorname (like Purple & Pink) on the area where it says 'color' - and at at RGB the hex
MastahServers is offline  
Old 24/05/2010, 06:30 PM   #4
!CryWolf
Big Clucker
 
Join Date: May 2010
Posts: 60
Reputation: 1
Default Re: RGB Colors To Pawn

Thanks Seif.
I don't like the color picker thing, I Like to choose the color I need.
!CryWolf is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to pawn, trying to convert some C code to pawn CHC Scripting Help 2 22/06/2012 05:09 AM
Colors WThieves Help Archive 15 12/01/2010 05:06 PM
[Pawn] [/Pawn] For Own website? How?! DeathOnaStick Everything and Nothing 2 01/11/2009 10:46 PM
[HELP] Car Colors [KaE]Cartman Help Archive 3 05/09/2009 06:39 AM
Colors Help Quead Help Archive 3 22/07/2009 06:34 PM


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.