Dialog problem
#5

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) 
{ 
    if(dialogid == DIALOG_TOYS) 
    { 
		if(response)
		{
			switch(listitem) 
			{ 
				case 0: SetPlayerAttachedObject(playerid, 0, 19078, 16); 
			} 
		}	
    } 
    return 1; 
} 

CMD:toys(playerid, params[]) 
{ 
    ShowPlayerDialog(playerid, DIALOG_TOYS, DIALOG_STYLE_LIST, "Buy a Toy", "Parrot\n", "Choose", "Cancel"); 
    return 1; 
}
try this
Reply


Messages In This Thread
Dialog problem - by Fantje - 24.07.2016, 15:21
Re: Dialog problem - by DavidBilla - 24.07.2016, 15:26
Re: Dialog problem - by Fantje - 24.07.2016, 15:29
Re: Dialog problem - by Fantje - 24.07.2016, 16:38
Re: Dialog problem - by AroseKhanNiazi - 24.07.2016, 17:18

Forum Jump:


Users browsing this thread: 1 Guest(s)