01.05.2012, 00:59
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case RACENAMEDIALOG:
{
//Do Stuff Here
ShowPlayerDialog(playerid, TELEPORTDIALOG, DIALOG_STYLE_INPUT, "Teleport Command:", "Type The Name Of The Teleport (No Spaces):", "Next", "Cancel");
}
case TELEPORTDIALOG:
{
//do stuff here
ShowPlayerDialog(playerid, PRIZEMONEYDIALOG, DIALOG_STYLE_LIST, "Prize Money", "$10,000\n$20,000\n$30,000\n$40,000\n$50,000\n$100,000\n$250,000\n$500,000", "Next", "Cancel");
}