Mark0 Posted September 16, 2012 Share Posted September 16, 2012 why blip color don't change ?? blip = ( 1954.3000488281, -2174.5, 12.5, 22 ) blips = getElementsByType ( "blip" ) for blipKey, blipValue in ipairs(createBlip) do red, green, blue, alpha = getBlipColor ( blipValue ) if ( red ~= 255 or green ~= 255 or blue ~= 255 or alpha ~= 255 ) then setBlipColor ( blipValue, 255, 150, 0, 255 ) end end Link to comment
TwiX! Posted September 16, 2012 Share Posted September 16, 2012 blip = createBlip ( 1954.3000488281, -2174.5, 12.5, 22) setBlipColor ( blip, 255, 150, 0, 255 ) Link to comment
Mark0 Posted September 21, 2012 Author Share Posted September 21, 2012 blip = createBlip ( 1954.3000488281, -2174.5, 12.5, 22) setBlipColor ( blip, 255, 150, 0, 255 ) No it's not work the same color stay Link to comment
TAPL Posted September 21, 2012 Share Posted September 21, 2012 Because you can't change color of the blips icon that aren't "0" https://wiki.multitheftauto.com/wiki/SetBlipColor This function will let you change the color of a blip. This color is only applicable to the default blip icon. All other icons will ignore this. 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