Sylvek Posted October 6, 2018 Share Posted October 6, 2018 (edited) Hello! I'd like to create my own colorpicker. Just made moving pointer function which was easy but I am writing this topic because there's another worse problem :/. I want to calculate position of this pointer when I enter hex color code to editbox which will be converted to R,G,B and pointer will get updated position by these rgb. I think there's some type of pattern for this function. I know I can just create big loop for about 250.000 pixels but it sounds really stupid. Here's a screen if you need it: Edited October 6, 2018 by Sylvek Link to comment
LyricalMM Posted October 7, 2018 Share Posted October 7, 2018 https://community.multitheftauto.com/index.php?p=resources&s=details&id=3247 use functions from this script, i know you wanna make your own, but you can learn slowly by just reading and figuring out, yk Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now