Csumisztok!
Vki tudna nekem egy dialogos teleport menüt csinálni?
Itt vannak a telék:
if(strcmp(cmdtext, \"/crossjump\", true) == 0)
{
SetPlayerPos(playerid,2580.1320800781,-2247.4865722656,564.47302246094);
format(string, sizeof(string), \"%s elment a CrOsS Jump-ra (/crossjump)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/superjump\", true) == 0)
{
SetPlayerPos(playerid,3016.02172900,-1531.67712400,1203.64440900);
format(string, sizeof(string), \"%s elment a Super Jump-ra (/superjump)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/lvjump\", true) == 0)
{
SetPlayerPos(playerid,1794.0,1828.0,668.0);
format(string, sizeof(string), \"%s elment a LV Jump-ra (/lvjump)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, 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, \"/rally\", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid),1564.5958,35.4349,24.2281);
} else {
SetPlayerPos(playerid,1564.5958,35.4349,24.2281);
}
format(string, sizeof(string), \"%s elment a Rally-ra (/rally)!\", 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;
}
if( !strcmp(cmdtext,\"/drag2\",true ))
{
SetPlayerPos(playerid,2337.1853,-2801.2910,97.1414);
format(string, sizeof(string), \"%s elment a Drag2-re (/drag2)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/atomdrift\",true ))
{
SetPlayerPos(playerid,285.9908,1417.9708,10.4155);
format(string, sizeof(string), \"%s elment az ATOM Drift-re (/atomdrift)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/nrgparkour\",true ))
{
SetPlayerPos(playerid,2704.1409,-1434.8517,54.8802);
format(string, sizeof(string), \"%s elment az NRG Parkour-ra (/nrgparkour)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/drift1\",true ))
{
SetPlayerPos(playerid,-311.8081,1527.0966,75.3594);
format(string, sizeof(string), \"%s elment a Drift1-re (/drift1)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/drift2\",true ))
{
SetPlayerPos(playerid,-704.2169,955.4836,12.4038);
format(string, sizeof(string), \"%s elment a Drift2-re (/drift2)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/airportdrift\",true ))
{
SetPlayerPos(playerid,-1646.2803,-182.7998,14.1484);
format(string, sizeof(string), \"%s elment az Airport Drift-re (/airportdrift)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/park\",true ))
{
SetPlayerPos(playerid,1243.57165527,-2377.21777344,12.70239830);
format(string, sizeof(string), \"%s elment a Park-ba (/park)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/getto\",true ))
{
SetPlayerPos(playerid,2480.0852,-1724.6663,13.5547);
format(string, sizeof(string), \"%s elment a Getto-ba (/getto)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/beach\",true ))
{
SetPlayerPos(playerid,348.4581,-1787.3589,5.1991);
format(string, sizeof(string), \"%s elment a Beach-re (/beach)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/gokartpalya\",true ))
{
SetPlayerPos(playerid,-2078.9170,-107.5986,35.3203);
format(string, sizeof(string), \"%s elment a Gokartpályá-ra (/gokartpalya)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/bmxstunt\",true ))
{
SetPlayerPos(playerid,1467.47875977,-1337.23303223,163.32752991);
format(string, sizeof(string), \"%s elment a BMX Stunt-ra (/bmxstunt)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/koviland\",true ))
{
SetPlayerPos(playerid,853.28637695,-1651.48767090,14.74783707);
format(string, sizeof(string), \"%s elment a KOVI Land-ra (/koviland)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/pakitoparkour\",true ))
{
SetPlayerPos(playerid,1538.6139,-1358.1578,329.4646);
format(string, sizeof(string), \"%s elment a Pakito Parkour-re (/pakitoparkour)!\", PlayerName(playerid) ); // 853.28637695,-1651.48767090,13.74783707
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( !strcmp(cmdtext,\"/partyhaz\",true ))
{
SetPlayerPos(playerid,-2132.4055,907.6841,80.0000);
format(string, sizeof(string), \"%s elment a Party Ház-hoz (/partyhaz)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if (strcmp(\"/crossparkour\", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 1912.2168,1242.4399,62.8863);
format(string, sizeof(string), \"%s elment a CrOsS Parkour-re (/crossparkour)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if( strcmp( cmdtext, \"/skatepark\", true ) == 0 ){
if( IsPlayerInAnyVehicle( playerid ) )
SetVehiclePos( GetPlayerVehicleID( playerid ), 1914.2083,-1441.6256,13.5225 );
else
SetPlayerPos( playerid, 1914.2083,-1441.6256,13.5225 );
format(string, sizeof(string), \"%s elment a Skatepark-ba (/skatepark)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, 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 a 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, \"/monsterpalya\", true) == 0) {
SetPlayerPos(playerid,1042.8033, -350.5787, 73.9922);
format(string, sizeof(string), \"%s elment a MONSTER Pályá-ra (/monsterpalya)!\", 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, \"/golfpalya\", true) == 0) {
SetPlayerPos(playerid,-2510.2209,-248.2650,38.6821);
format(string, sizeof(string), \"%s elment a Golf Pályá-ra (/golfpalya)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/hosszucso\", true) == 0) {
SetPlayerPos(playerid,3175.2937011719,-1315.8389892578,13.602363586426);
format(string, sizeof(string), \"%s elment a Hosszú Cső-höz (/hosszucso)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/drag3\", true) == 0) {
SetPlayerPos(playerid,1399.6589,1769.6134,10.8203);
format(string, sizeof(string), \"%s elment a Drag3-ra (/drag3)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/army\", true) == 0) {
SetPlayerPos(playerid,2174.89111328,-2244.90161133,29.66923904);
format(string, sizeof(string), \"%s elment az ARMY Bázis-ra (/army)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/drag\", true) == 0) {
SetPlayerPos(playerid,1579.7064,-1217.7115,277.9128);
format(string, sizeof(string), \"%s elment a Drag-ra (/drag)!\", PlayerName(playerid) );
SendClientMessageToAll(COLOR_ORANGE, string);
return 1;
}
if(strcmp(cmdtext, \"/fb\", true) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),1363.6738,-1281.6801,13.5469);
format(string, sizeof(string), \"%s fegyvert vesz /fb-nél\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
} else {
SetPlayerPos(playerid,1363.6738,-1281.6801,13.5469);
format(string, sizeof(string), \"%s fegyvert vesz /fb-nél\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext, \"/fb2\", true) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),2399.6040,-1978.7483,13.5469);
format(string, sizeof(string), \"%s fegyvert vesz /fb2-nél\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
} else {
SetPlayerPos(playerid,2399.6040,-1978.7483,13.5469);
format(string, sizeof(string), \"%s fegyvert vesz /fb2-nél\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext, \"/pig\", true) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),2421.4846,-1228.8204,24.8816);
format(string, sizeof(string), \"%s el telézett /pig-re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
} else {
SetPlayerPos(playerid,2421.4846,-1228.8204,24.8816);
format(string, sizeof(string), \"%s el telézett /pig-re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext, \"/sf-tuning\", true) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),-2665.8552,217.8053,4.2721);
format(string, sizeof(string), \"%s el telézett /sf-tuning-hoz\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
} else {
SetPlayerPos(playerid,-2665.8552,217.8053,4.2721);
format(string, sizeof(string), \"%s el telézett /sf-tuning-hoz\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext, \"/desert\", true) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid),424.4062,2524.0320,16.4844);
format(string, sizeof(string), \"%s el telézett /desert-re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
} else {
SetPlayerPos(playerid,424.4062,2524.0320,16.4844);
format(string, sizeof(string), \"%s el telézett /desert-re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext, \"/ls-police\", true) == 0) {
SetPlayerPos(playerid,1476.0229,-1674.6694,14.0469);
format(string, sizeof(string), \"%s el telézett /ls-police re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
return 1;
}
if(strcmp(cmdtext, \"/sf-police\", true) == 0) {
SetPlayerPos(playerid,-1630.9163,680.9893,6.8976);
format(string, sizeof(string), \"%s el telézett /sf-police re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
return 1;
}
if(strcmp(cmdtext, \"/lv-police\", true) == 0) {
SetPlayerPos(playerid,2288.0662,2427.3845,10.8203);
format(string, sizeof(string), \"%s el telézett /lv-police re\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
return 1;
}
if(strcmp(cmdtext,\"/sf-dm\", true) ==0)
{
if(IsPlayerInAnyVehicle(playerid)) {
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
} else {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,27,50000);
GivePlayerWeapon(playerid,29,50000);
SetPlayerPos(playerid,-1983.4791,634.1285,145.3203);
format(string, sizeof(string), \"%s használta a /sf-dm parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
}
return 1;
}
if (strcmp(cmdtext, \"/blood\", true)==0) {
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid,-1435.2532,937.9446,1036.5415);
format(string, sizeof(string), \"%s használta a /blood parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
return 1;
}
if (strcmp(cmdtext, \"/k-start\", true)==0) {
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid,-1464.2322,1557.5720,1052.5313);
format(string, sizeof(string), \"%s használta a /kickstart parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
return 1;
}
if (strcmp(cmdtext, \"/8track\", true)==0) {
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid,-1398.1716,-205.5023,1051.3197);
format(string, sizeof(string), \"%s használta a /8track parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
return 1;
}
if (strcmp(cmdtext, \"/cross\", true)==0) {
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 4);
SetPlayerPos(playerid,-1376.5844,-665.4345,1055.9453);
format(string, sizeof(string), \"%s használta a /cross parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
return 1;
}
if(strcmp(cmdtext, \"/sexbar\", true) == 0) {
SetPlayerPos(playerid, 960.99,-50.9142,1001.15);
SetPlayerInterior(playerid,3);
format(string, sizeof(string), \"%s használta a /sexbar parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
return 1;
}
if (strcmp(cmdtext, \"/libcity\", true)==0) {
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid,-750.80,491.00,1371.70);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
format(string, sizeof(string), \"%s használta a /libcity parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
return 1;
}
if(strcmp(cmdtext,\"/sawn-dm\", true) ==0)
{
if(IsPlayerInAnyVehicle(playerid)) {
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
} else {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,26,500);
SetPlayerPos(playerid,-1112.04,1060.73,1343.31);
SetPlayerInterior(playerid,10);
format(string, sizeof(string), \"%s használta a /sawn-dm parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
GameTextForPlayer(playerid,\"~p~Kilepes /exit!\",4000,3);
}
return 1;
}
if(strcmp(cmd, \"/MP5-dm\", true) == 0) {
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,29,5000);
SetPlayerPos(playerid,1169.7445,-2036.9768,69.0006);
format(string, sizeof(string), \"%s használta a /MP5-dm parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
return 1;
}
if(strcmp(cmd, \"/shotgun-dm\", true) == 0) {
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,25,80);
SetPlayerPos(playerid,1394.1060,-1202.2986,202.4453);
format(string, sizeof(string), \"%s használta a /shotgun-dm parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
return 1;
}
if(strcmp(cmd, \"/colt-dm\", true) == 0) {
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,23,200);
SetPlayerPos(playerid,1283.3875,-1644.9395,34.7991);
format(string, sizeof(string), \"%s használta a /colt-dm parancsot\", PlayerName(playerid));
SendClientMessageToAll( 0x99FFFFAA, string);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
GameTextForPlayer(playerid,\"~p~Kilepes /dm-exit!\",4000,3);
return 1;
}
Bocsi, hogy így irtam le! De az sokáig tartana, hogy egyesével mellé írom a kordinátákat!
Lécci aki megcsinálja az úgy csinálja meg, hogy csak az embert telézze! (A járművet ne!)
Előre is THX!