2 Dialog Problem
#1

Hey!

i have this thing:
http://pastebin.com/Udau2fKP

and when i press: Cancel , on the Start2 dialog , i get the response of the Start1 dialog.

what to do ?
Reply
#2

You can use:

pawn Код:
if(!response) return  KickWithMessage(playerid, COLOR_RED, "You Choosed The Cancel Option , Have a nice day outsite!");
Reply
#3

Put a button more on start2 and see.
Reply
#4

Quote:
Originally Posted by NviDa
Посмотреть сообщение
Put a button more on start2 and see.
dosen't work..
Reply
#5

just use a timer
pawn Код:
else
{
       SendClientMessage(playerid, -1, "You Choosed The Cancel Option , Have a nice day outsite!");
       SetTimer("kick", 1000, false); // and make the timer to kick the player
}
Reply
#6

Quote:
Originally Posted by XK
Посмотреть сообщение
just use a timer
pawn Код:
else
{
       SendClientMessage(playerid, -1, "You Choosed The Cancel Option , Have a nice day outsite!");
       SetTimer("kick", 1000, false); // and make the timer to kick the player
}
i did /Help command with the dialog:
PHP код:
ShowPlayerDialog(playeridStart2DIALOG_STYLE_MSGBOX"Help Notice""/RDJobs - Racing / Drift Jobs\n/GPS - Show GPS Locations\n/SOON - Soon Soon""Close"""); 
and i have another dialog called Start1 , and they got mess..

shen i press Close on the /Help command , i getting the same thing at the Start1 dialog.. :X
Reply
#7

bump.
Reply
#8

Do Start1 and Start2 have the same dialogid? If yes, they will conflict each other. Their dialog IDs must differ.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)