para o criador do topico, lembra-te que isto vai apagar todas as setas, e dai para a frente, tu й que vais criar o teu proprio interior, vou deixar aqui uma ajuda como eu uso:
pawn Код:
#define MAX_ENTERS 65 -> Maximo de entrada que usas
new Float:E_enterdist = 2.0; // Distancia para entrar
new Float:E_exitdist = 2.0; // Distancia para sair
//definir as entradas, saidas, interiores e virtual worlds
new enters[MAX_ENTERS][e_info] =
{
//Department's
{1555.5057,-1675.6614,16.1953, 246.7508,62.3229,1003.6406 ,6,0}, // LSPD
{626.9644,-571.7914,17.9207, 246.7508,62.3229,1003.6407 ,6,1}, // LSPD DILIMORE
{2287.0422,2432.3679,10.8203, 237.9760,138.8796,1003.0234 ,3,0}, // LVPD
//MadDog
{1298.5226,-797.9874,84.1406, 1260.9025,-785.6703,1091.9063, 5,0}, // MadDog
//Drugs Get
{2165.9912,-1671.1353,15.0732, 318.6743,1114.7061,1083.8828, 5,0},
//Jizzy
{-2625.3604,1412.5974,7.0938, -2636.8147,1402.8307,906.4609 ,3,0}, // jizzy
//Donuts
{-144.0474,1225.2198,19.8992, 376.9060,-192.9400,1000.640, 17,0}, // lvdonut
{-1942.1096,2379.3816,49.7031, 376.9060,-192.9400,1000.640, 17,1}, // barcominterior restaurant
{-2524.5073,1216.1080,37.6724, 376.9060,-192.9400,1000.640, 17,2}, // restaurant SF dinners
//BurgerShots
{810.4847,-1616.2009,13.5469, 363.0016,-74.8700,1001.5078 ,10,0}, // burger LS1
{1199.2120,-918.1466,43.1235, 363.0016,-74.8700,1001.5078 ,10,1},// burger LS2
{-2336.8687,-166.8553,35.5547, 363.0016,-74.8700,1001.5078 ,10,2},// burger SF1
{-1912.4048,827.8880,35.2275, 363.0016,-74.8700,1001.5078 ,10,3}, // burger SF2
{2472.8660,2034.1747,11.0625, 363.0016,-74.8700,1001.5078 ,10,4}, // burger LV1
//CluCkinBell
{2419.7942,-1508.9844,24.0000, 364.9470,-11.3761,1001.8516 ,9,0},// cluckin LS1
{2398.5503,-1899.1993,13.5469, 364.9470,-11.3761,1001.8516 ,9,1}, // cluckin LS2
{928.9139,-1352.9656,13.3438, 364.9470,-11.3761,1001.8516 ,9,2}, // clucnkin LS3
{-2673.0479,257.9286,4.6328, 364.9470,-11.3761,1001.8516 ,9,3}, // cluckin sf1
{-1817.3892,618.7050,35.1719, 364.9470,-11.3761,1001.8516 ,9,4}, // clukin sf2
{2101.8926,2228.8242,11.0234, 364.9470,-11.3761,1001.8516 ,9,5},// cluckin LV1
{2393.1460,2041.5586,10.8203, 364.9470,-11.3761,1001.8516 ,9,6}, // cluckin LV2
{1157.9176,2072.2573,11.0625, 364.9470,-11.3761,1001.8516 ,9,7}, // cluckin LV3
{-1213.9159,1830.4548,41.9297, 364.9470,-11.3761,1001.8516 ,9,8}, // cluckin LV4
{172.5446,1177.4912,14.7578, 364.9470,-11.3761,1001.8516 ,9,9}, // cluckin LV5
{1157.9176,2072.2573,11.0625, 364.9470,-11.3761,1001.8516 ,9,10}, // cluckin LV6
//SubUrban
{2112.7886,-1211.4552,23.9629, 203.777999,-48.492397,1001.804687 ,1,0}, // suburban LS1
//Didier Sachs
{499.5316,-1360.6343,16.3691, 207.054992,-138.804992,1003.507812 ,3,0}, // Didier LS
//Pro Laps
{454.2083,-1477.9951,30.8144, 204.332992,-166.694992,1000.523437 ,14,0}, // pro laps
//Victim
{-1694.6265,951.9664,24.8906, 226.293991,-7.431529,1002.210937 ,5,0}, //SF Victim1
{461.7107,-1500.8361,31.0449, 226.293991,-7.431529,1002.210937 ,5,1}, // LS Victim
//Zip
{1456.4036,-1137.6631,23.9482, 161.391006,-93.159156,1001.804687 ,18,0}, // ZIP LS1
{-1882.2866,866.5297,35.1719, 161.391006,-93.159156,1001.804687 ,18,1}, // ZIP SF1
{2090.4727,2224.7012,11.0234, 161.391006,-93.159156,1001.804687 ,18,2}, // ZIP LV1
//Binco
{2244.3103,-1665.5452,15.4766, 207.737991,-109.019996,1005.132812 ,15,0},// bincols1
{2101.8923,2257.3887, 207.737991, 207.737991,-109.019996,1005.132812 ,15,1}, // binco1
//Bar's
{2310.1089,-1643.5573,14.8270, 501.980987,-69.150199,998.757812 ,11,0}, // greenbottle
{2441.1409,2065.4846,10.8203, 501.980987,-69.150199,998.757812 ,11,1}, // CrawBar Mistys
{-2551.4106,194.1882,6.2266, 501.980987,-69.150199,998.757812 ,11,2}, // SF Gay Bar
{-255.1495,2602.8564,62.8582, 501.980987,-69.150199,998.757812 ,11,3}, // V8 Club
{-2242.1431,-88.1361,35.3203, 501.980987,-69.150199,998.757812 ,11,4}, // Mistys
{-89.6034,1378.1903,10.4698, -227.027999,1401.229980,27.765625 ,18,0}, // ovnibar
//Stripers
{2421.4810,-1219.2427,25.5619, 1204.809936,-11.586799,1000.921875 ,2,0}, // pigpen
{2506.8286,2120.2791,10.8398, 1204.809936,-11.586799,1000.921875 ,2,1}, // striplvl1
{693.6900,1967.6849,5.5391, 1204.809936,-11.586799,1000.921875 ,2,2}, // putaslv gang hide
{2543.2395,1025.2428,10.8203, 1204.809936,-11.586799,1000.921875 ,2,3}, // lvnudestripper
// Pizza
{2105.4873,-1806.4778,13.5547, 372.0846,-133.3613,1001.4922 ,5,0}, // pizza LS1
{-1808.7266,945.9039,24.8906, 372.0846,-133.3613,1001.4922 ,5,1}, // pizza SF1
{2082.9375,2224.7009,11.0234, 372.0846,-133.3613,1001.4922 ,5,2}, // pizza LV1
{2351.7512,2533.6289,10.8203, 372.0846,-133.3613,1001.4922 ,5,3}, // pizza LV2
{212.2334,-202.1889,1.5781, 372.0846,-133.3613,1001.4922 ,5,4}, // Pizza BlueBerry
//24/7
{1315.4246,-897.6821,39.5781, 5.0473,-31.4745,1003.5494 ,10,0}, // 24/7 LS1
{1000.6025,-919.9705,42.3281, 5.0473,-31.4745,1003.5494 ,10,1}, // 24/7 LS2
{1833.7754,-1842.5129,13.5781, 5.0473,-31.4745,1003.5494 ,10,2}, // 24/7 LS3
{1352.4050,-1759.2538,13.5078, 5.0473,-31.4745,1003.5494 ,10,3},// 24/7 LS4
{-2442.7327,755.4184,35.1719, 5.0473,-31.4745,1003.5494 ,10,4},// 24/7 SF1
{2247.7036,2396.1680,10.8203, 5.0473,-31.4745,1003.5494 ,10,5}, // 24/7 LV1
{2097.6145,2224.7014,11.0234, 5.0473,-31.4745,1003.5494 ,10,6}, // 24/7 LV2
{2194.9414,1990.9648,12.2969, 5.0473,-31.4745,1003.5494 ,10,7}, // 24/7 LV3
{2452.4976,2065.1912,10.8203, 5.0473,-31.4745,1003.5494 ,10,8}, // 24/7 LV4
{-180.7285,1034.8706,19.7422, 5.0473,-31.4745,1003.5494 ,10,9}, // 24/7 LV5
{1937.8262,2307.2808,10.8203, 5.0473,-31.4745,1003.5494 ,10,10}, // 24/7 LV6
{1937.8262,2307.2808,10.8203, 5.0473,-31.4745,1003.5494 ,10,11}, // 24/7 LV7
//Alhambras
{1837.0397,-1682.3956,13.3228, 493.4867,-24.9608,1000.6719 ,17,0}, // alhambra
{816.1158,-1386.0845,13.5968, 493.4867,-24.9608,1000.6719 ,17,1}, //Club With Alhambra
{725.7031,-1450.8949,17.6953, 493.4867,-24.9608,1000.6719 ,17,2} //Yacht With Alhambra
};
//No OnGameModeInit uso isto para criar uns cones parecidos com as setas
for(new i=0; i<MAX_ENTERS; i++)
{
CreatePickup(19197,23,enters[i][aa_x],enters[i][aa_y],enters[i][aa_z]+0.03,-1);
}
//No Comando /entrar
for(new i = 0;i<sizeof(enters);i++)
{
if(IsPlayerInRangeOfPoint(playerid,E_enterdist,enters[i][aa_x],enters[i][aa_y],enters[i][aa_z]))
{
SetPlayerPos(playerid,enters[i][ii_x],enters[i][ii_y],enters[i][ii_z]);
SetPlayerInterior(playerid,enters[i][einterior]);
SetPlayerVirtualWorld(playerid,enters[i][eworld]);
SetCameraBehindPlayer(playerid);
}
}
//no comando /sair
for(new i = 0;i<sizeof(enters);i++)
{
if(IsPlayerInRangeOfPoint(playerid,E_exitdist,enters[i][ii_x],enters[i][ii_y],enters[i][ii_z]) && GetPlayerVirtualWorld(playerid) == enters[i][eworld])
{
SetPlayerPos(playerid,enters[i][aa_x],enters[i][aa_y],enters[i][aa_z]);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetCameraBehindPlayer(playerid);
}
}