ShowPlayerDialog Color is Messed
#1

Fixed!
Reply
#2

Show us your colour defines please.
Reply
#3

Fixed!
Reply
#4

Quote:
Originally Posted by Sc0pion
Посмотреть сообщение
Код:
#define COL_GREY                            "{C3C3C3}"
#define COL_ORANGE                          "{FF8000}"
#define COL_RED                             "{FF0000}"
#define COL_YELLOW                          "{FFFF00}"
#define COL_GREEN                           "{33CC33}"
#define COL_LIME 			    "{B7FF00}"
#define COL_WHITE 			    "{FFFFFF}"
#define COL_CYAN 			    "{00FFEE}"
#define COL_BLUE 			    "{0049FF}"
It looks fine, once try just the colors not the define after number 6). Then if it doesn't work post here again.
Reply
#5

Fixed!
Reply
#6

Open the file in an editor that can display special characters like Notepad++. I've seen glitching like that before but it usually happens because of foreign character sets that needs more (storage) space (Thai, Arabic, etc.).

Also pro tip: you can inline your yes/no like this:
PHP код:
format(stringsizeof(string), ""COL_YELLOW"4) "COL_WHITE"Require Register - "COL_LIME" %s.\n"ServerInfo[RequireRegister] ? ("Yes") : ("No")); 
Reply
#7

Fixed!
Reply
#8

Well, no, opening the file is not enough but it will show you those hidden characters (in NP++: View > Non-Printable Characters > Show All Characters) that Pawno doesn't show you and you will be able to delete them there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)