callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) : wa
#10

Quote:
Originally Posted by Dutheil
View Post
Ok you have to use the OnPlayerClickPlayerTextDraw callback
Quote:
Originally Posted by Dutheil
View Post
You don't use the good callback, look this code :
Code:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
	if(_:playertextid != INVALID_TEXT_DRAW)
	{
		if(playertextid == GUI_HuongDan[playerid][1]) // line 1213
		{
			PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][10]);
		}
		else if(playertextid == GUI_HuongDan[playerid][2])
		{
			PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][6]);
		}
		else if(playertextid == GUI_HuongDan[playerid][3])
		{
			PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][9]);
		}
		else if(playertextid == GUI_HuongDan[playerid][5])
		{
			PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][11]);
		}
		else if(playertextid == GUI_HuongDan[playerid][13])
		{
			for(new i = 0; i < 23; i++)
			{
				PlayerTextDrawDestroy(playerid, GUI_HuongDan[playerid][i]);
			}
		}
	}
}
Do you have ******** or Discord?
When I /guihuongdan TextDraw will show, but my mouse not show to click TextDraw
How to show both, TextDraw + mouse to click
Sorry my English pretty weak
Reply


Messages In This Thread
OnPlayerClickTextDraw - by Dawkin - 30.07.2018, 11:22
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by jlalt - 30.07.2018, 11:32
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dutheil - 30.07.2018, 11:56
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 11:58
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Florin48 - 30.07.2018, 12:01
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dutheil - 30.07.2018, 12:02
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 12:02
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 12:06
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dutheil - 30.07.2018, 12:07
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 12:12
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Florin48 - 30.07.2018, 12:15
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 12:23
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Florin48 - 30.07.2018, 12:28
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Dawkin - 30.07.2018, 12:47
Re: callbacks.pwn(1213) : warning 213: tag mismatch callbacks.pwn(1217) : warning 213: tag mismatch callbacks.pwn(1221) - by Rufio - 30.07.2018, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)