How to added color in dialog list on dialog respone
#1

How to added color in dialog list on dialog respone ?

when i added color "colorred" its crash ( i mean cant compline)
when i added color "{B90000} its crash too

so please help me !
Reply
#2

How does it crash? Does it return a error in compiling?
Reply
#3

Show your code.
Reply
#4

ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "Senjata", "M4 - "cblue"8000$\nAK47 - "cblue"8000$\nMP5 - "cblue"6000$\nUZI - "cblue"12000$\nCombat Shotgun - "cblue"10000$\nShotgun - "cblue"5000$\nDesert Eagle - "cblue"6000$\nSilent Pistol - "cblue"3000$\nPistol - "cblue"3000$", "Buy", "Exit");
Reply
#5

Can you show us your log?
Reply
#6

Quote:
Originally Posted by Rasyidmf
Посмотреть сообщение
ShowPlayerDialog(playerid, 30, DIALOG_STYLE_LIST, "Senjata", "M4 - "cblue"8000$\nAK47 - "cblue"8000$\nMP5 - "cblue"6000$\nUZI - "cblue"12000$\nCombat Shotgun - "cblue"10000$\nShotgun - "cblue"5000$\nDesert Eagle - "cblue"6000$\nSilent Pistol - "cblue"3000$\nPistol - "cblue"3000$", "Buy", "Exit");
Have you defined "cblue" as #define cblue (FFFFFF)? Instead of FFFFFF you need to put your six letters/numbers of colors beetween 0x and last two character
Reply
#7

Quote:
Originally Posted by J4Rr3x
Посмотреть сообщение
Have you defined "cblue" as #define cblue (FFFFFF)? Instead of FFFFFF you need to put your six letters/numbers of colors beetween 0x and last two character
A little correction; #define cblue "{colorcode}" and to add inside a string; "#cblue"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)