Making a dialog return to a different part of code.
#8

I was wrong it doesnt seem to work when i enter the dialog it pops up and then if i press yes nothing happens if i press no nothing happens this is what ive got:
Код:
switch(dialogid)
	{
 		case DIALOG_DMVCARTEST:
 		{
 		if(response)
 		{
 		SendClientMessage(playerid, COLOUR_YELLOW, "Welcome to you the DMV Licensing Center");
 		SendClientMessage(playerid, COLOUR_YELLOW, "We will now start your test please head outside");
 		SendClientMessage(playerid, COLOUR_YELLOW, "to the test car outside.");
 		CreateVehicle(404, 1424.6630, -1700.2382, 13.0871, 358.1393, 0, 0, 0);
 		
 		}
   		else
   		{
        SendClientMessage(playerid, COLOUR_YELLOW, "Come back soon, You'll be getting find if you drive without a license.");
		}
 		
 		}

        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)