SA-MP Forums Archive
Dialog Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dialog Help (/showthread.php?tid=597892)



Dialog Help - Sheperc - 06.01.2016

Yo guys just a fast question, does anyone know the ID of the dialog that appears when you press TAB ingame?


Re: Dialog Help - Lucky13 - 06.01.2016

You want to click on players name using the TAB dialog?


Re: Dialog Help - Sheperc - 06.01.2016

sure


Re: Dialog Help - Lucky13 - 06.01.2016

This is the function which detects that:

Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}
It doesn't got a defined dialog ID. Also, here is more information about this callback: https://sampwiki.blast.hk/wiki/OnPlayerClickPlayer

Hope it helps


Re: Dialog Help - Sheperc - 06.01.2016

Oh man thanks a lot!


Re: Dialog Help - Karan007 - 06.01.2016

This is a SA-MP build dialog. And it has NO IDs and cannot be used. You can detect whom the player clicked with the function that lucky gave.