Diialog - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Diialog (
/showthread.php?tid=274120)
Diialog -
SpankMe2 - 04.08.2011
Hey guys,
My dialog isnt loading as it was before until i added a few more cars into the subdialogs so my question is could you list the reasons why a dialog might not load or post a link
Thanks
AW: Diialog -
Drebin - 04.08.2011
My question is could you give us the the code the contains the dialog ?
Re: Diialog -
SpankMe2 - 04.08.2011
my OnDialogResponse is 6k lines i think it might not fit
if you give me some reasons i can look through the script and work out why just link a site or somthing i know pawno enough to fins the source of the problem if ideas are provided
Re: Diialog -
MadeMan - 04.08.2011
By "not loading" you mean it doesn't show or doesn't respond?
Re: Diialog -
SpankMe2 - 04.08.2011
it doesnt show anyhins its a sub dialog so to test it sent the command i put
print("test");
and i checked the blak box and it wasnt printed inside it :S
Re: Diialog -
MadeMan - 04.08.2011
Is it a filterscript?
Re: Diialog -
SpankMe2 - 04.08.2011
no its in my gamemode
Re: Diialog -
SpankMe2 - 04.08.2011
this might help these are all the dialogs i have
#define Register 0
#define Login 1
#define Car_Spawner 2
Re: Diialog -
SpankMe2 - 04.08.2011
pawn Код:
if(dialogid == Vehicle_Cat)
{
if(!response) return ShowPlayerDialog(playerid, Vehicle_Cat, DIALOG_STYLE_LIST, "Pick a type", " Sports Cars\n Loco\n Wheel Arch Angels\n Normal Cars\n Convertables\n Offroad\n Public Service\n Bikes\n Planes\n Boats\n Helicopters\n Unique", "Select", "Close");
if(response)
{
switch(listitem)
{
case 0:
{
print("test");
ShowPlayerDialog(playerid, Sports_Cars, DIALOG_STYLE_LIST, "Pick a Car", " Bloodring, glendale, infernus", "Spawn", "<<<");
}
}
}
}
ive just mde this code as an example
Re: Diialog -
Snowman12 - 04.08.2011
removed