Random Dialog Appears.
#1

I have edited CoS without dialogs, i added dialogs to it, first i named the dialogs, defined with id, it was the same problem, Used:
#define CARDIALOGG 13371
It didn't work. Then deleted the defines with CARDIALOGG and renamed it to 13371 all, it was the same problem.
Quote:

if(dialogid == 13371)
{
if(response)
{
if(listitem == 0) // Park it
{
LockMyVehFnc(playerid);
}
if(listitem == 1) // Lock/Unlock
{
ParkMyVehFnc(playerid);
}
if(listitem == 2) // Park Vehicle
{
LocateMyVehFnc(playerid,0);
}
if(listitem == 3) // Locate it
{
SellMyVehFnc(playerid);
}
if(listitem == 4) // Sell vehicle $500.000
{
ShowPlayerDialog(playerid, 13377, DIALOG_STYLE_INPUT, "Vehicle Sale", "Enter players ID", "Enter", "Exit");
}
}
return 1;
}

Can someone help?.
Reply
#2

I prefer you to name each dialog Whereever You use it !!! Any GM or FS For example On top of script
Код:
#define DIALOG_TESTONE 
//And then rest thing like show player dialog 
ShowPlayerDialog(playerid, DIALOG_TESTONE ... );
Like This
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)