Ipleomax TextDraw Problem.
#6

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
• The compiler said all. You have a public function but not forwarded, could you show us your "OnPlayerClickTextDraw" function?



• In order to check the problem source's, try using the FS in other computer.
The lines..

Код HTML:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	//format(String_Message, sizeof String_Message, "Clickedid: %i", _:clickedid);
	//Send(playerid, -1, String_Message);
	
	if(playerid != ProjectEditor) return false;
	
	if(clickedid == Text:INVALID_TEXT_DRAW)
	{
	    if(DialogShown)
	    {
	        Send(ProjectEditor, -1, #ITD_W"Please close this dialog first!");
	        return SelectTextDraw(playerid, -1);
	    }
	    if(MenuHidden) return ShowEditor();
		if(MenuShown) return HideEditor();
	    return true;
	}
	
	if(clickedid == TD_Menu[1]) iShowPlayerDialog(playerid, DIALOG_NEW, DIALOG_STYLE_INPUT,
	"New Project", "\nPlease enter the name of your new project:\n", "OK", "Cancel");
	
	if(clickedid == TD_Menu[2])		return ShowProjectList();
	if(clickedid == TD_Menu[3])     return CloseProject(true);
	if(clickedid == TD_Menu[4])     return ExportProject();
	if(clickedid == TD_Menu[8])     return ShowTextDrawList();
	if(clickedid == TD_Menu[9]) 	return ShowPositionDialog();
	if(clickedid == TD_Menu[10]) 	return ShowSizeDialog(true);
	if(clickedid == TD_Menu[11]) 	return ShowTextDialog();
	if(clickedid == TD_Menu[16]) 	return ShowLetterDialog();
	if(clickedid == TD_Menu[14]) 	return TextDrawEdit(EDITMODE_COLOR);
	if(clickedid == TD_Menu[15]) 	return TextDrawEdit(EDITMODE_BGCOLOR);
	if(clickedid == TD_Menu[32]) 	return TextDrawEdit(EDITMODE_BOXCOLOR);
	if(clickedid == TD_Menu[17]) 	return TextDrawEdit(EDITMODE_OUTLINE);
	if(clickedid == TD_Menu[18]) 	return TextDrawEdit(EDITMODE_SHADOW);
	if(clickedid == TD_Menu[31] || clickedid == TD_Menu[30]) return TextDrawEdit(EDITMODE_PROPORTION);
    if(clickedid == TD_Menu[29] || clickedid == TD_Menu[28]) return TextDrawEdit(EDITMODE_SELECTABLE);
    if(clickedid == TD_Menu[27] || clickedid == TD_Menu[26] || clickedid == TD_Menu[25] || clickedid == TD_Menu[24] || clickedid == TD_Menu[12]) return TextDrawEdit(EDITMODE_FONT);
    if(clickedid == TD_Menu[23] || clickedid == TD_Menu[22] || clickedid == TD_Menu[21]) return TextDrawEdit(EDITMODE_ALIGNMENT);
    if(clickedid == TD_Menu[20] || clickedid == TD_Menu[19]) return TextDrawEdit(EDITMODE_BOX);
	if(clickedid == TD_Menu[5] || clickedid == TD_Menu[33]) return TextDrawEdit(EDITMODE_TYPE);
	return false;
}
For now, i can't try in another computer.
Reply


Messages In This Thread
Ipleomax TextDraw Problem. - by LaLy17 - 02.02.2016, 20:47
Re: Ipleomax TextDraw Problem. - by Phar - 02.02.2016, 20:49
Re: Ipleomax TextDraw Problem. - by LaLy17 - 02.02.2016, 20:50
Re: Ipleomax TextDraw Problem. - by LaLy17 - 03.02.2016, 06:59
Re: Ipleomax TextDraw Problem. - by KillerDVX - 03.02.2016, 08:35
Re: Ipleomax TextDraw Problem. - by LaLy17 - 03.02.2016, 11:23
Re: Ipleomax TextDraw Problem. - by LaLy17 - 03.02.2016, 13:57
Re: Ipleomax TextDraw Problem. - by LaLy17 - 03.02.2016, 17:32
Re: Ipleomax TextDraw Problem. - by ikey07 - 03.02.2016, 17:34
Re: Ipleomax TextDraw Problem. - by LaLy17 - 03.02.2016, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)