08.08.2011, 00:00
can some1 tell me how to make a dialog.for ex:a list with DIALOG_STYLE_LIST and then when an player choose option it shows them in a DIALOG_MSG_BOX.I have started plz help me continue.
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/FAQ", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, 999, DIALOG_STYLE_LIST, "Frequently Asked Questions", "Server Related Questions\nClasses Help\nCars & Houses\nAirlines\nAdminstartion, "Select", "Cancel"); return 1; } |