Dialog Colouring ..
#1

Код:
ShowPlayerDialog(playerid,225,DIALOG_STYLE_LIST,"Vehicle Dealership","Clover		{00CC66}$40,000\nMower		{00CC66}$12,000\nTractor		{00CC66}$20,000\nFaggio		{00CC66}$15,000\nWayfarer	{00CC66}$20,000\nBF-400		{00CC66}$55,000\nFreeway	{00CC66}$45,000\nQuad		{00CC66}$40,000\nSentinel	{00CC66}$45,000\nStretch		{00CC66}$50,000\nVoodoo		{00CC66}$45,000\nTaxi		{00CC66}$45,000\nCabbie		{00CC66}$40,000\nPremier	{00CC66}$46,000\nWashington	       {00CC66}$55,000\nBuffalo		{00CC66}$50,000\nBanshee	 {00CC66}$900,000\nHotknife	  {00CC66}$130,000\nRomero	{00CC66}$38,000\nAdmiral		{00CC66}$39,000\nNext","Proceed","Cancel");
This works fine without the colours.

I tried it with only 1 colour, to the first one, : It worked.

I then tried to add it to all of them, and my pawno crashes when i try to compile.


Is there a limit on how many colours your aloud?
Reply
#2

Quote:
Originally Posted by NewYorkRP
Посмотреть сообщение
Код:
ShowPlayerDialog(playerid,225,DIALOG_STYLE_LIST,"Vehicle Dealership","Clover		{00CC66}$40,000\nMower		{00CC66}$12,000\nTractor		{00CC66}$20,000\nFaggio		{00CC66}$15,000\nWayfarer	{00CC66}$20,000\nBF-400		{00CC66}$55,000\nFreeway	{00CC66}$45,000\nQuad		{00CC66}$40,000\nSentinel	{00CC66}$45,000\nStretch		{00CC66}$50,000\nVoodoo		{00CC66}$45,000\nTaxi		{00CC66}$45,000\nCabbie		{00CC66}$40,000\nPremier	{00CC66}$46,000\nWashington	       {00CC66}$55,000\nBuffalo		{00CC66}$50,000\nBanshee	 {00CC66}$900,000\nHotknife	  {00CC66}$130,000\nRomero	{00CC66}$38,000\nAdmiral		{00CC66}$39,000\nNext","Proceed","Cancel");
This works fine without the colours.

I tried it with only 1 colour, to the first one, : It worked.

I then tried to add it to all of them, and my pawno crashes when i try to compile.


Is there a limit on how many colours your aloud?
It has crashed because string may be too long!

format it into pieces.
Reply
#3

I don't think so!
Reply
#4

mabye you have one more return 1; more then need .. (?)
Reply
#5

No, it works perfectly fine WITHOUT the colours.
Reply
#6

your string is too long WITH the colors
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)