Dialog problem
#7

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Yep, response is 1 if you click ok, and 0 if you click cancel
So do it like this:

pawn Код:
if(dialogid == 4512)
{
    if(response == 1)
    {
    //Your code after the first if
    } else
    {
        RemovePlayerFromVehicle(playerid);
        TogglePlayerControllable(playerid, 1);
    }
}
You do not need to use IsPlayerConnected btw, because a player who is not connected cant click on a dialog
Oh okay thanks, And about the "IsPlayerConnected" haha thanks
Reply


Messages In This Thread
Dialog problem - by FrankC - 25.09.2010, 08:27
Re: Dialog problem - by Mikkel_Pedersen - 25.09.2010, 09:14
Re: Dialog problem - by FrankC - 25.09.2010, 09:22
Re: Dialog problem - by Mikkel_Pedersen - 25.09.2010, 09:25
Re: Dialog problem - by FrankC - 25.09.2010, 09:31
Re: Dialog problem - by Mauzen - 25.09.2010, 09:35
Re: Dialog problem - by FrankC - 25.09.2010, 09:45
Re: Dialog problem - by FrankC - 25.09.2010, 09:52
Re: Dialog problem - by FrankC - 25.09.2010, 10:06
Re: Dialog problem - by FrankC - 25.09.2010, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)