SA-MP Forums Archive
Dialog ? - 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 ? (/showthread.php?tid=443446)



Dialog ? - xganyx - 12.06.2013

How To Create A Dialog About The GPS system ?
Here My Code :
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/gps", cmdtext, true, 10) == 0)
	{
		ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Job", "Trucker\nPizza\nMeChanic", "OK","Cancel");
		return 1;
	}
	return 0;
}
?? How Do I SetPlayerCheckpoint When Player Click In The Trucker Job ??
Sorry For bad English !


Respuesta: Dialog ? - Parka - 12.06.2013

OnDialogResponse