#define DIALOG_TELEPORT 99999999
public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/teleport\", cmdtext, true, 10) == 0){ShowPlayerDialog(playerid,DIALOG_TELEPORT,DIALOG_STYLE_LIST,\"Teleportok\",\"0.teleport neve\\n1.teleport neve\\n2.teleport neve\\n3.teleport neve\\n\",\"Teleport!\",\"Mégse\");return 1;}return 0;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == DIALOG_TELEPORT && response) {switch(listitem){ case 0: { // 0. teleport helye } case 1: { // 1. teleport helye } case 2: { // 2. teleport helye } case 3: { // 3. teleport helye }} }return 1;}
#define DIALOG_TELEPORT 11110#define DIALOG_DRIFT 11111#define DIALOG_STUNT 11112#define DIALOG_EGYEB 11113
public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/teleport\", cmdtext, true, 10) == 0){ShowPlayerDialog(playerid,DIALOG_TELEPORT,DIALOG_STYLE_LIST,\"Teleportok\",\"Driftek\\n1Stuntok\\nEgyéb\",\"OK\",\"Mégse\");return 1;}return 0;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == DIALOG_TELEPORT && response) {switch(listitem){ case 0: ShowPlayerDialog(playerid,DIALOG_DRIFT,DIALOG_STYLE_LIST,\"Teleportok / Driftek\",\"drift 0\\ndrift 1\\ndrift 2\",\"TELE\",\"Mégse\"); case 1: ShowPlayerDialog(playerid,DIALOG_STUNT,DIALOG_STYLE_LIST,\"Teleportok / Stuntok\",\"stunt 0\\nstunt 1\\nstunt 2\",\"TELE\",\"Mégse\"); case 2: ShowPlayerDialog(playerid,DIALOG_EGYEB,DIALOG_STYLE_LIST,\"Teleportok / Egyéb\",\"valami 0\\n1valami 1\\nvalami 2\",\"TELE\",\"Mégse\");} } if(dialogid == DIALOG_DRIFT && response) {switch(listitem){ case 0: { // 0. drift } case 1: { // 1. drift } case 2: { // 2. drift }} } if(dialogid == DIALOG_STUNT && response) {switch(listitem){ case 0: { // 0. stunt } case 1: { // 1. stunt } case 2: { // 2. stunt }} } if(dialogid == DIALOG_EGYEB && response) {switch(listitem){ case 0: { // 0. valami } case 1: { // 1. valami } case 2: { // 2. valami }} }return 1;}
\\n