#define TELE (0)#define STUNT (1)
if (strcmp(\"/tele\", cmdtext, true ) == 0) {ShowPlayerDialog(playerid, TELE, DIALOG_STYLE_LIST, \"Válassz teleportot:\",\"Stunt\\nDm\\nSTB.\", \"Kiválaszt\",\"Mégse\");return 1;}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == TELE) {if(response == 1){ switch(listitem) { case 0: { ShowPlayerDialog(playerid, STUNT, DIALOG_STYLE_MSGBOX, \"STUNTOK:\",\" /bigjump, /faszomtudja, /nemtommi , /eztse stb.\",\"OK\",\"Mégse\"); } case 1: { } case 2: { } }}return 1;}return 0;}
new TeleString[][]={\"Ide a szöveget\\n\",\"ide is a szöveget\"};if(!strcmp(cmdtext, \"/tele\", true)){ new DialogString[1600];format(DialogString,sizeof DialogString,\"%s%s\",TeleString[0],TeleString[1]); ShowPlayerDialog(playerid,DIALOG_TELEPORTOK, DIALOG_STYLE_MSGBOX,\"Teleportok\",DialogString,\"Ok\",\"Kilépés\");return 1;}
Az a pali te ezt máshogy nem lehet értelmezni !!!!!!!!!!Mond el értelmesebben mit akarsz mert most elmontad ugyanazt !
if(!strcmp(cmdtext, \"/teles\", true)){ if(DM[playerid] == true) return SendClientMessage(playerid,0xFFFF00AA,\"DM zónában vagy ! Eloször /exitdm\"); { ShowPlayerDialog(playerid, 40, DIALOG_STYLE_LIST, \"Válaszz kategóriát !\", \"Stunt\\nDm\\nRace\\nEgyéb\", \"Tovább\", \"Kilépés\");}return 1;}
if (dialogid == 40 && response) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, 41, DIALOG_STYLE_LIST, \"Válassz teleportot!\",\"..............\",\"Tele\", \"Mégse\"); } case 1: { ShowPlayerDialog(playerid, 42, DIALOG_STYLE_LIST, \"Válassz teleportot!\",\"..............\",\"Tele\", \"Mégse\"); } case 2: { ShowPlayerDialog(playerid, 43, DIALOG_STYLE_LIST, \"Válassz teleportot!\",\"..............\",\"Tele\", \"Mégse\"); } case 3: { ShowPlayerDialog(playerid, 44, DIALOG_STYLE_LIST, \"Válassz teleportot!\",\"..............\",\"Tele\", \"Mégse\"); } } } if (dialogid == 41 && response) //=============[[stunt]]============= { switch(listitem) { case 0: { SetPlayerPos(playerid, position); } case 1: { SetPlayerPos(playerid, position); } case 2: { SetPlayerPos(playerid, position); } case 3: { SetPlayerPos(playerid, position); } case 4: { SetPlayerPos(playerid, position); } case 5: { SetPlayerPos(playerid, position); } case 6: { SetPlayerPos(playerid, position); } } } if (dialogid == 42 && response) //=============[[stunt]]============= { switch(listitem) { case 0: { SetPlayerPos(playerid, position); } case 1: { SetPlayerPos(playerid, position); } case 2: { SetPlayerPos(playerid, position); } case 3: { SetPlayerPos(playerid, position); } case 4: { SetPlayerPos(playerid, position); } case 5: { SetPlayerPos(playerid, position); } case 6: { SetPlayerPos(playerid, position); } } } if (dialogid == 43 && response) //=============[[stunt]]============= { switch(listitem) { case 0: { SetPlayerPos(playerid, position); } case 1: { SetPlayerPos(playerid, position); } case 2: { SetPlayerPos(playerid, position); } case 3: { SetPlayerPos(playerid, position); } case 4: { SetPlayerPos(playerid, position); } case 5: { SetPlayerPos(playerid, position); } case 6: { SetPlayerPos(playerid, position); } } }//stb ....stb...stb....