public OnPlayerCommandText(playerid, cmdtext[]){if(!strcmp(\"/help\", cmdtext, true)){ ShowPlayerDialog(playerid, Dialog_0, DIALOG_STYLE_LIST, \"Üdvözöllek a teleport menüben\",\"Los Santos\\nLas Vemturas\",\"Kiválaszt\",\"Mégse\");return 1;}}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == Dialog_0) {if(response == 1){ switch(listitem) { case 0: { ShowPlayerDialog(playerid, Dialog_1, DIALOG_STYLE_LIST, \"Los Santos teleportok\",\"Autó aréna\\nGrove Street\\nBMX park\\nKorház(1)\\nRepülõ tér\\nRepülõ tér dolgozi bejárat\\nVonat állomás\\nFegyver bolt\",\"Mégse\",\"Teleport!\"); } case 1: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } }}}else{ SendClientMessage(playerid, 0xEB000FFF, \"A Mégsére kattintottál\");}return 1;}if(dialog == Dialog_1){ if(response == 1) { switch(listitem) { case 0: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } case 1: { SetPlayerPos(playerid, 2485.0933,-1663.9250,13.3438); } case 2: { SetPlayerPos(playerid, 1867.8760,-1443.5593,13.5382); } case 3: { SetPlayerPos(playerid, 2033.7891,-1418.8596,16.9922); } case 4: { SetPlayerPos(playerid, 1686.0459,-2241.1165,13.5469); } case 5: { SetPlayerPos(playerid, 1955.4562,-2194.8853,13.2027); } case 6: { SetPlayerPos(playerid, 1960.8567,-2185.3604,13.5469); } case 7: { SetPLayerPos(playerid, 1739.9919,-1943.2484,13.5710); } case 8: { SetPlayerPos(playerid, 1366.4253,-1280.1028,13.5469}; } case 9: { SetPlayerPos(playerid, 654.7755,-578.3159,16.3359); } else { SendClientMessage(playerid, 0x0000ffAA, \"A mégsére kattintottál\"); } return 1; }}
public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(\"/help\", cmdtext, true)){ ShowPlayerDialog(playerid, Dialog_0, DIALOG_STYLE_LIST, \"Üdvözöllek a teleport menüben\",\"Los Santos\\nLas Vemturas\",\"Kiválaszt\",\"Mégse\");}return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == Dialog_0) {if(response == 1){ switch(listitem) { case 0: { ShowPlayerDialog(playerid, Dialog_1, DIALOG_STYLE_LIST, \"Los Santos teleportok\",\"Autó aréna\\nGrove Street\\nBMX park\\nKorház(1)\\nRepülõ tér\\nRepülõ tér dolgozi bejárat\\nVonat állomás\\nFegyver bolt\",\"Mégse\",\"Teleport!\"); } case 1: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } }} else { SendClientMessage(playerid, 0xEB000FFF, \"A Mégsére kattintottál\");}return 1;}if(dialog == Dialog_1){ if(response == 1) { switch(listitem) { case 0: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } case 1: { SetPlayerPos(playerid, 2485.0933,-1663.9250,13.3438); } case 2: { SetPlayerPos(playerid, 1867.8760,-1443.5593,13.5382); } case 3: { SetPlayerPos(playerid, 2033.7891,-1418.8596,16.9922); } case 4: { SetPlayerPos(playerid, 1686.0459,-2241.1165,13.5469); } case 5: { SetPlayerPos(playerid, 1955.4562,-2194.8853,13.2027); } case 6: { SetPlayerPos(playerid, 1960.8567,-2185.3604,13.5469); } case 7: { SetPLayerPos(playerid, 1739.9919,-1943.2484,13.5710); } case 8: { SetPlayerPos(playerid, 1366.4253,-1280.1028,13.5469}; } case 9: { SetPlayerPos(playerid, 654.7755,-578.3159,16.3359); } else { SendClientMessage(playerid, 0x0000ffAA, \"A mégsére kattintottál\"); } return 1; }}}return 1;}
public OnPlayerCommandText(playerid, cmdtext[]){ if(strcmp(\"/teleportok\", cmdtext, true)) { ShowPlayerDialog(playerid, Dialog_0, DIALOG_STYLE_LIST, \"Üdvözöllek a teleport menüben\",\"Los Santos\\nLas Vemturas\",\"Kiválaszt\",\"Mégse\"); } return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == Dialog_0) { if(response == 1) { switch(listitem) { case 0: { ShowPlayerDialog(playerid, Dialog_1, DIALOG_STYLE_LIST, \"Los Santos teleportok\",\"Autó aréna\\nGrove Street\\nBMX park\\nKorház(1)\\nRepülõ tér\\nRepülõ tér dolgozi bejárat\\nVonat állomás\\nFegyver bolt\",\"Mégse\",\"Teleport!\"); } case 1: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } } } else { SendClientMessage(playerid, 0xEB000FFF, \"A Mégsére kattintottál\"); } return 1; } if(dialogid == Dialog_1) { if(response == 1) { switch(listitem) { case 0: { SetPlayerPos(playerid, 2683.0374,-1690.5085,9.4239); } case 1: { SetPlayerPos(playerid, 2485.0933,-1663.9250,13.3438); } case 2: { SetPlayerPos(playerid, 1867.8760,-1443.5593,13.5382); } case 3: { SetPlayerPos(playerid, 2033.7891,-1418.8596,16.9922); } case 4: { SetPlayerPos(playerid, 1686.0459,-2241.1165,13.5469); } case 5: { SetPlayerPos(playerid, 1955.4562,-2194.8853,13.2027); } case 6: { SetPlayerPos(playerid, 1960.8567,-2185.3604,13.5469); } case 7: { SetPlayerPos(playerid, 1739.9919,-1943.2484,13.5710); } case 8: { SetPlayerPos(playerid, 1366.4253,-1280.1028,13.5469); } case 9: { SetPlayerPos(playerid, 654.7755,-578.3159,16.3359); } else { SendClientMessage(playerid, 0x0000ffAA, \"A mégsére kattintottál\"); } return 1; } } } return 1;}