SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > 0.3.7 RC Scripting

Thread Tools Display Modes
Old 12/07/2015, 07:57 AM   #1
Huge Clucker
DTV's Avatar
Join Date: Dec 2010
Posts: 442
Reputation: 54
Default Color embedding bug?

I'm not sure if this was around before 0.3.7 became official, but I noticed that color embedding doesn't work properly 100% of the time. An example of what I'm talking about is:

This should be green and this should be red.

However, this is green and this is red.

I'm positive that I'm putting the embedding in the right place and it still offsets by a character or two and it's annoying the hell out of me. Anyone else experience this or am I just insane?
DTV is offline  
Old 12/07/2015, 06:22 PM   #2
Big Clucker
Join Date: Jun 2011
Posts: 89
Reputation: 0
Default Re: Color embedding bug?

We need to see your code example to help you.
Emre__ is offline  
Old 12/07/2015, 07:32 PM   #3
Spam Machine
Vince's Avatar
Join Date: Sep 2007
Location: Belgium
Posts: 11,084
Reputation: 2647
Default Re: Color embedding bug?

Are you use any other characters than the standard Latin characters? Color embedding does not work well with "exotic" character sets, e.g. Thai, because these characters take up two bytes whereas standard Latin alphabet characters only take up one byte.
Vince is offline  
Old 22/07/2015, 03:13 AM   #4
Huge Clucker
DTV's Avatar
Join Date: Dec 2010
Posts: 442
Reputation: 54
Default Re: Color embedding bug?

Edit: Answered

Last edited by DTV; 31/07/2015 at 10:49 PM.
DTV is offline  
Old 22/07/2015, 01:00 PM   #5
Big Clucker
Michalec's Avatar
Join Date: Jun 2009
Location: Poland
Posts: 93
Reputation: 2
Default Re: Color embedding bug?

It's your font problem. Just change font to another one and check again. Some fonts are "broken" in SA-MP.
Michalec 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
Color Embedding Zex Tan Scripting Help 3 30/11/2012 09:27 AM
Color embedding Emre__ Scripting Help 8 12/10/2012 06:50 PM
[HELP] Color Embedding Larsey123IsMe Help Archive 6 04/01/2011 10:22 AM
[Possible Bug]Color Embedding Nibblet Help Archive 9 17/12/2010 03:27 PM
Color Embedding willsuckformoney Help Archive 6 02/12/2010 03:21 PM

All times are GMT. The time now is 12:15 PM.

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