if(strcmp(cmdtext,\"/jump2\", true) ==0) { SetPlayerPos(playerid,1667.2266,-1425.7272,373.4667); format(string, sizeof(string), \"%s elment a Jump 2-re (/jump2)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_ORANGE, string); return 1;} if(strcmp(cmdtext, \"/bumpyride\", true) == 0) { SetPlayerPos(playerid,948.889771, 1121.829224, 1266.800659); format(string, sizeof(string), \"%s elment a BumpyRide-ra (/bumpyride)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_ORANGE, string); return 1; } if(strcmp(cmdtext, \"/skrace\", true) == 0) { SetPlayerPos(playerid,2195.1479,1161.5614,1181.4373); format(string, sizeof(string), \"%s elment az SK Race-re (/skrace)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_ORANGE, string); return 1; } if(strcmp(cmdtext, \"/jump\", true) == 0) {SetPlayerPos(playerid,750.874,532.736,462.400); format(string, sizeof(string), \"%s elment a Jump 1-re (/jump)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_ORANGE, string);return 1; } if(strcmp(cmdtext, \"/ls\", true) == 0) {SetPlayerPos(playerid,1254.5507,-1132.6937,23.8281); format(string, sizeof(string), \"%s elment LS-be (/ls)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1; } if(strcmp(cmdtext, \"/lv\", true) == 0) {SetPlayerPos(playerid,1956.5679,1343.0240,15.3746); format(string, sizeof(string), \"%s elment LV-be (/lv)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1; } if(strcmp(cmdtext, \"/sf\", true) == 0) {SetPlayerPos(playerid,-1806.1584,907.8569,24.8906); format(string, sizeof(string), \"%s elment SF-be (/sf)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1; }if(strcmp(cmdtext, \"/lvair\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),1317.2736,1283.0299,10.8203);} else { SetPlayerPos(playerid,1317.2736,1283.0299,10.8203);} format(string, sizeof(string), \"%s elment az LV Airport-ra (/lvair)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}if(strcmp(cmdtext, \"/sfair\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),-1567.6731,-179.2296,14.1484);} else { SetPlayerPos(playerid,-1567.6731,-179.2296,14.1484);} format(string, sizeof(string), \"%s elment az SF Airport-ra (/sfair)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}if(strcmp(cmdtext, \"/aa\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),372.7429,2471.6360,16.4844);} else { SetPlayerPos(playerid,372.7429,2471.6360,16.4844); SetPlayerFacingAngle(playerid, 301.5956);} format(string, sizeof(string), \"%s elment az Abandoned Airport-ra (/aa)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}if(strcmp(cmdtext, \"/jizzy\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),-2607.7407,1398.0295,7.1246);} else { SetPlayerPos(playerid,-2607.7407,1398.0295,7.1246); } format(string, sizeof(string), \"%s elment Jizzy-hez (/jizzy)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}if(strcmp(cmdtext, \"/area51\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),129.2989,1925.2014,19.176);} else { SetPlayerPos(playerid,129.2989,1925.2014,19.176);} format(string, sizeof(string), \"%s elment AREA51-re (/area51)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}if(strcmp(cmdtext, \"/chilliad\", true) == 0){if(IsPlayerInAnyVehicle(playerid)){ SetVehiclePos(GetPlayerVehicleID(playerid),-2237.5947,-1711.1184,480.8754);} else { SetPlayerPos(playerid,-2237.5947,-1711.1184,480.8754);} format(string, sizeof(string), \"%s elment a Chilliad-ra (/chilliad)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);return 1;}
#define Dialog_teles 1
if(strcmp(cmdtext,\"/tele\", true) ==0 ){ShowPlayerDialog(playerid,Dialog_teles,2,\"szerver összes teleportja:\",\"jump2\\nbumpyride\\nskrace\\n\",\"teleportál\",\"Bezár\");return 1;}
if(dialogid == Dialog_teles){if(response){if(listitem==0){SetPlayerPos(playerid,948.889771, 1121.829224, 1266.800659);}if(listitem==1){SetPlayerPos(playerid,2195.1479,1161.5614,1181.4373);}if(listitem==2){SetPlayerPos(playerid,750.874,532.736,462.400);}}}
if(listitem == 0) { SetPlayerPos(playerid,1254.5507,-1132.6937,23.8281); format(string, sizeof(string), \"%s elment LS-be (/ls)!\", PlayerName(playerid) ); SendClientMessageToAll(COLOR_GOLD, string);
stock PlayerName(playerid){ new name[64]; GetPlayerName(playerid, name, sizeof name); return name;}
#define Dialog_teles 154
#include <a_samp>#define FILTERSCRIPT#define COLOR_LIGHTBLUE 0x00FFFFAA#define DIALOGID 1000 public OnPlayerCommandText(playerid,cmdtext[]){ if (strcmp(\"/tele\", cmdtext, true, 10) == 0){ ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, \"Teleportmenu\", \"Teleport1\", \"Kiválasztás\", \"Mégse\");//ha még akarsz akkor mondjuk \\ndm után \\nDrift return 1;} return 1; }public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOGID){if(response){ if(listitem == 0) // Teleport1 { ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, \"Teleport1\", \"Los Santos LS\\nLas Venturas LV\\nSan fierro SF\\nLos Santos_AirPort\\nLas Venturas_Airport\\nSan Fierro AirPort\\nAbandoned Airport\\nchililand\\nAREA51\\nJizzy\", \"Kiválasztás\", \"Mégse\"); } if(listitem == 1) // Vegyes { ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, \"Vegyes\", \"SK Race\\nBumpyRide\\nJump\\nJump2\", \"Kiválasztás\", \"Mégse\"); }}return 1;} if(dialogid == DIALOGID+1) //Teleport1{if(response){ if(listitem == 0)//Ls { SetVehiclePos(GetPlayerVehicleID(playerid), 1254.5507,-1132.6937,23.8281);//kocsival SetPlayerPos(playerid,1254.5507,-1132.6937,23.8281);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Los Santos-ba! (/tele-LS)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 1)//lv { SetVehiclePos(GetPlayerVehicleID(playerid), 1956.5679,1343.0240,15.3746); SetPlayerPos(playerid,1956.5679,1343.0240,15.3746);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Las Venturas-ba! (/tele-LV)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 2)//sf { SetVehiclePos(GetPlayerVehicleID(playerid), -1806.1584,907.8569,24.8906); SetPlayerPos(playerid,-1806.1584,907.8569,24.8906);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált San Fierro-ba! (/tele-SF)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 3)//ls air { SetVehiclePos(GetPlayerVehicleID(playerid), 2005.9418,-2632.3440,13.5469); SetPlayerPos(playerid,2005.9418,-2632.3440,13.5469);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Ls_AirPort-ra! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 4)//Lv air { SetVehiclePos(GetPlayerVehicleID(playerid), 1317.2736,1283.0299,10.8203); SetPlayerPos(playerid,1317.2736,1283.0299,10.8203);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Las Venturas_AirPort-ra! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 5)//sf Air { SetVehiclePos(GetPlayerVehicleID(playerid), -1567.6731,-179.2296,14.1484); SetPlayerPos(playerid,-1567.6731,-179.2296,14.1484);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált San Fierro Airport-ra! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 6)//Abandoned Airport { SetVehiclePos(GetPlayerVehicleID(playerid), 372.7429,2471.6360,16.4844); SetPlayerPos(playerid,372.7429,2471.6360,16.4844);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Abandoned Airport-ra! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 7)//Chililand { SetVehiclePos(GetPlayerVehicleID(playerid), -2237.5947,-1711.1184,480.8754); SetPlayerPos(playerid,-2237.5947,-1711.1184,480.8754);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Chililand-ra! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == //AREA51 { SetVehiclePos(GetPlayerVehicleID(playerid), 129.2989,1925.2014,19.176); SetPlayerPos(playerid,129.2989,1925.2014,19.176);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált AREA51-re (/area51)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 9)//Jizzy { SetVehiclePos(GetPlayerVehicleID(playerid), -2607.7407,1398.0295,7.1246); SetPlayerPos(playerid,-2607.7407,1398.0295,7.1246);//gyalog ide fogja teleportálni new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Jizzy-hez (/jizzy)! (/tele-Teleport1)\", string); SendClientMessageToAll(0x008000AA, string); }}return 1;}if(dialogid == DIALOGID+2) //vegyes{ if(response){ if(listitem == 0)//sk race { SetVehiclePos(GetPlayerVehicleID(playerid), 2195.1479,1161.5614,1181.4373); SetPlayerPos(playerid, 2195.1479,1161.5614,1181.4373);//ide csak leírtam egy kordinátát azt neked kell kicserélni majd ide fog telézni az ember new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált SK Race-re (/skrace)\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 1)//BumpyRide { SetVehiclePos(GetPlayerVehicleID(playerid), 948.889771, 1121.829224, 1266.800659); SetPlayerPos(playerid, 948.889771, 1121.829224, 1266.800659);// new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált BumpyRide-ra (/bumpyride\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 2)//Jump { SetVehiclePos(GetPlayerVehicleID(playerid), 750.874,532.736,462.400); SetPlayerPos(playerid, 750.874,532.736,462.400);// new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Jump-ra (/jump)!\", string); SendClientMessageToAll(0x008000AA, string); } if(listitem == 2)//Jump2 { SetVehiclePos(GetPlayerVehicleID(playerid), 1667.2266,-1425.7272,373.4667); SetPlayerPos(playerid, 1667.2266,-1425.7272,373.4667);// new string[128]; GetPlayerName(playerid, string, sizeof(string)); format(string, sizeof(string), \"%s Elteleportált Jump2-re (/jump)!\", string); SendClientMessageToAll(0x008000AA, string); } }return 1;}return 0;}