SA-MP Forums Archive
Next in Dialog - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Next in Dialog (/showthread.php?tid=401656)



Next in Dialog - truckingserver - 23.12.2012

Hi

I need to make a next button in Dialog
Cuz when i reatch the limit i get this error
(2143) : error 075: input line too long (after substitutions)

Any sugestions ?


Re: Next in Dialog - Faisal_khan - 23.12.2012

Use strcat or divide the dialog using '\'. Or else post your code here we will help you out.


Re: Next in Dialog - [CG]Milito - 23.12.2012

Use

pawn Код:
OnDialogResponse
And make, a. "next option


Re: Next in Dialog - truckingserver - 23.12.2012

Код:
#include <a_samp>

#define red 0xFF0000FF

new pickup;


public OnGameModeInit()
{
    pickup = CreatePickup(1240, 23, -2059.2109, -91.5216, 35.3203, -1);
    return 1;
}


public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == pickup)
    {
       ShowPlayerDialog(playerid,999,DIALOG_STYLE_LIST, "Car","My Text\nMy Text AND More...","Buy", "Close");
    }
    return 1;
}

}



Re: Next in Dialog - Faisal_khan - 23.12.2012

Are you sure it's the right code?


Re: Next in Dialog - truckingserver - 23.12.2012

My Text\nMy Text AND More...

I didnt post here all code it too long

Make the next opinion please


Re: Next in Dialog - Faisal_khan - 23.12.2012

Dafuq man! How can we fix the code which has no problems! Please post the code on line 2143 which has the goddamn problem!


Re: Next in Dialog - truckingserver - 23.12.2012

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Dafuq man! How can we fix the code which has no problems! Please post the code on line 2143 which has the goddamn problem!
Oh

There no need to fix anything

Just add next button or something