12.06.2014, 11:40 
	
	
	
		Firstly you should definitely indent your code properly, and also what ID have you defined DIALOG_JOB as?
	
	
	
	
pawn Код:
ShowPlayerDialog(playerid, DIALOG_JOB, DIALOG_STYLE_MSGBOX, "Job", "Do you want to join this job?", "Yes", "No");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_JOB)
{
if(response)
{
SendClientMessage(playerid, COLOR_GREEN, "You accepted the job!");
}
else
{
KickWithMessage(playerid, COLOR_RED, "You declined the job.");
}
return 1;
}
return 0;
}

