22.10.2013, 23:22
OBS:. TODOS MAP COLOCADOS NO FS EU QUE CRIEI
Contem 5 Menus Com 21 Teleportes sao elesAero Portos Avenidas Racings Hospitais Outros
--
Aero Portos
SF,
LV,
LS.
--
Avenidas
SF,
LV,
LS
--
Rancings
SF,
LV,
LS.
--
Hospitais
LS 1,
LS 2,
LV,
SF.
--
Outros
Jump Ask,
Monte Chiliad,
Antena,
Death 1,
Death 2,
Tubo da Morte,
Navio Parkour,
Obra.
pawn Код:
#include <a_samp>
#define AeroPorto 1
#define Avenidas 2
#define Racings 3
#define Hospitais 4
#define Outros 5
#define Menutodos 6
public OnFilterScriptInit()
{
//paraquedas
CreateObject(2898,2059.5000000,-481.0000000,1015.7000100,0.0000000,0.0000000,0.0000000); //object(funturf_law) (1)
CreateObject(2898,2059.5000000,-476.6000100,1015.7000100,0.0000000,0.0000000,0.0000000); //object(funturf_law) (2)
CreateObject(2898,2055.5000000,-481.0000000,1015.7000100,0.0000000,0.0000000,0.0000000); //object(funturf_law) (3)
CreateObject(2898,2055.5000000,-476.6000100,1015.7000100,0.0000000,0.0000000,0.0000000); //object(funturf_law) (4)
CreateObject(2898,2061.5000000,-476.6000100,1017.5999800,0.0000000,270.0000000,0.0000000); //object(funturf_law) (5)
CreateObject(2898,2061.5000000,-481.0000000,1017.5999800,0.0000000,270.0000000,0.0000000); //object(funturf_law) (6)
CreateObject(2898,2059.5000000,-473.8999900,1016.9000200,90.0000000,0.0000000,0.0000000); //object(funturf_law) (7)
CreateObject(2898,2053.5000000,-476.6000100,1017.5999800,0.0000000,90.0000000,0.0000000); //object(funturf_law) (8)
CreateObject(2898,2053.5000000,-481.0000000,1017.5999800,0.0000000,90.0000000,0.0000000); //object(funturf_law) (9)
CreateObject(2898,2059.1999500,-481.6000100,1017.5999800,0.0000000,90.0000000,90.0000000); //object(funturf_law) (10)
CreateObject(2631,2055.5000000,-474.8994100,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat1) (1)
CreateObject(2631,2055.5000000,-476.7999900,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat1) (2)
CreateObject(2631,2059.3999000,-474.8999900,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat1) (3)
CreateObject(2631,2059.3999000,-476.7999900,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat1) (4)
CreateObject(2632,2055.5000000,-478.7999900,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat02) (1)
CreateObject(2632,2055.5000000,-480.7000100,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat02) (2)
CreateObject(2632,2059.3999000,-478.7999900,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat02) (3)
CreateObject(2632,2059.3999000,-480.7000100,1015.7999900,0.0000000,0.0000000,0.0000000); //object(gym_mat02) (4)
CreateObject(2898,2055.7998000,-481.5996100,1017.5999800,0.0000000,90.0000000,90.0000000); //object(funturf_law) (11)
CreateObject(2898,2059.5000000,-474.0000000,1016.9000200,90.0000000,180.0000000,0.0000000); //object(funturf_law) (12)
CreateObject(2632,2055.5000000,-480.7000100,1019.4000200,0.0000000,180.0000000,0.0000000); //object(gym_mat02) (5)
CreateObject(2632,2055.5000000,-478.7999900,1019.4000200,0.0000000,180.0000000,0.0000000); //object(gym_mat02) (6)
CreateObject(2632,2059.3999000,-480.7000100,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat02) (7)
CreateObject(2632,2059.3999000,-478.7999900,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat02) (8)
CreateObject(2631,2059.3999000,-474.8999900,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat1) (5)
CreateObject(2631,2059.3999000,-476.7999900,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat1) (6)
CreateObject(2631,2055.5000000,-474.8999900,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat1) (7)
CreateObject(2631,2055.5000000,-476.7999900,1019.4000200,180.0000000,0.0000000,0.0000000); //object(gym_mat1) (8)
CreateObject(1359,2054.3999000,-480.7000100,1016.5999800,0.0000000,0.0000000,0.0000000); //object(cj_bin1) (1)
//tubo
CreateObject(3502,3878.1001000,324.8999900,822.9000200,0.0000000,0.0000000,0.0000000); //object(vgsn_con_tube) (1)
CreateObject(3502,3878.1001000,333.3999900,822.9000200,0.0000000,0.0000000,180.0000000); //object(vgsn_con_tube) (2)
CreateObject(3502,3878.1001000,316.1000100,822.9000200,0.0000000,0.0000000,180.0000000); //object(vgsn_con_tube) (3)
CreateObject(3502,3878.1001000,307.1000100,822.9000200,0.0000000,0.0000000,0.0000000); //object(vgsn_con_tube) (4)
CreateObject(1381,3878.1999500,302.1000100,822.7000100,0.0000000,270.0000000,90.0000000); //object(magnocrane_04) (1)
CreateObject(1381,3878.0000000,338.7000100,823.0000000,0.0000000,90.0000000,90.0000000); //object(magnocrane_04) (2)
print("\n--------------------------------------");
print(" iTeles By: iLase");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
print("\n----------------------------------");
print(" iTeles By: iLase");
print("----------------------------------\n");
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/teles", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, Menutodos, DIALOG_STYLE_LIST, "Teles", "Aeros Porto\n Avenidas\n Racings\n Hospitais\n Outros", "OK", "Cancelar");
return 1;
}
return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == Menutodos)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid, AeroPorto, DIALOG_STYLE_LIST, "Aero Portos", "San Fiero \n Las Venturas \n Los Santos", "OK", "Cancelar");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid, Avenidas, DIALOG_STYLE_LIST, "Avenidas", "San Fiero \n Las Venturas \n Los Santos", "OK", "Cancelar");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, Racings, DIALOG_STYLE_LIST, "Racings", "San Fiero \n Las Venturas \n Los Santos", "OK", "Cancelar");
}
if(listitem == 3)
{
ShowPlayerDialog(playerid, Hospitais, DIALOG_STYLE_LIST, "Hospitais", "San Fiero \n Las Venturas \n Los Santos \n Los Santos 2", "OK", "Cancelar");
}
if(listitem == 4)
{
ShowPlayerDialog(playerid, Outros, DIALOG_STYLE_LIST, "Outros", "Jump Ask \n Monte Chiliad \n Antena \n Death \n Death 2 \n Tubo Da Morte \n Navio Parkour \n Obra", "OK", "Cancelar");
}
}
}
if(dialogid == AeroPorto)
{
if(response)
{
if(listitem == 0) //SF
{
SetPlayerPos(playerid, -1317.1999511719, -448.89999389648, 14.10000038147);
return true;
}
else if(listitem == 1)//LV
{
SetPlayerPos(playerid, 1396.1999511719, 1771.5999755859, 10.800000190735);
return true;
}
else if(listitem == 2)//LS
{
SetPlayerPos(playerid, 1884.4000244141, -2542.6999511719, 17.200000762939);
return true;
}
}
return true;
}
if(dialogid == Avenidas)
{
if(response)
{
if(listitem == 0) //SF
{
SetPlayerPos(playerid, -2141.6000976563, -342.20001220703, 35.099998474121);
return true;
}
else if(listitem == 1)//LV
{
SetPlayerPos(playerid, 2052.6000976563, 842.90002441406, 6.6999998092651);
return true;
}
else if(listitem == 2)//LS
{
SetPlayerPos(playerid, 1622.9000244141, -1241.8000488281, 49);
return true;
}
}
return true;
}
if(dialogid == Racings)
{
if(response)
{
if(listitem == 0) //SF
{
SetPlayerPos(playerid, -1974, -443.5, 35.5);
return true;
}
else if(listitem == 1)//LV
{
SetPlayerPos(playerid, 1097.6999511719, 1687.6999511719, 11);
return true;
}
else if(listitem == 2)//LS
{
SetPlayerPos(playerid, 2653.6000976563, -1667.5999755859, 10.899999618);
return true;
}
}
return true;
}
if(dialogid == Hospitais)
{
if(response)
{
if(listitem == 0) //SF
{
SetPlayerPos(playerid, -2654.8999023438, 634.40002441406, 14.5);
return true;
}
else if(listitem == 1)//LV
{
SetPlayerPos(playerid, 1580.8000488281, 1769, 10.800000190735);
return true;
}
else if(listitem == 2)//LS
{
SetPlayerPos(playerid, 1177.6999511719, -1323.5999755859, 14.10000038147);
return true;
}
else if(listitem == 3)//LS2
{
SetPlayerPos(playerid, 2035.9000244141, -1413.6999511719, 17);
return true;
}
}
return true;
}
if(dialogid == Outros)
{
if(response)
{
if(listitem == 0) //Jump Ask
{
SetPlayerPos(playerid, 2057.3000488281, -479.60000610352, 1018.299987793);
return true;
}
else if(listitem == 1)//Monte Chiliad
{
SetPlayerPos(playerid, -2237.8000488281, -1742.5, 480.79998779297);
return true;
}
else if(listitem == 2)//Antena
{
SetPlayerPos(playerid, -370.70001220703, 1578.0999755859, 76.099998474121);
return true;
}
else if(listitem == 3)//Death1
{
SetPlayerPos(playerid, 1498.1999511719, -1570.0999755859, 23.5);
return true;
}
else if(listitem == 4)//Death2
{
SetPlayerPos(playerid, 1498.5, -1578.0999755859, 13.5);
return true;
}
else if(listitem == 5)//Tubo Da Morte
{
SetPlayerPos(playerid, 3878.1999511719, 318, 824.70001220703);
return true;
}
else if(listitem == 6)//Navio Parkour
{
SetPlayerPos(playerid, -2307.1999511719, 1545.5, 18.799999237061);
return true;
}
else if(listitem == 7)//Obra
{
SetPlayerPos(playerid, 2696, 822, 24.5);
return true;
}
}
return true;
}
return false;
}
Todos a iLase = Eu Ј_¬