[Map] Garagem em LS
#1

Garagem em LS

Й a mesma garagem de SF sу que sem aqueles erro de vocк passar pelos objetos, com a rampa ajeitada, coloquei tambйm tipo um elevador para carros, e algumas coisinhas a mais.

O meu primeiro Mapa , espero que gostem















pawn Код:
/*
Garagem by: Adriano_MQD
*/


#include <a_samp>
#include <zcmd>

forward Closegaragem(garagemid);
forward IsPlayerAtToll();

new garagem;
new elevador;

public OnFilterScriptInit()
{
    garagem = CreateObject(1966,1623.5999755859,-2163.8999023438,14.199999809265,0,0,0);
    SetTimer("IsPlayerAtToll", 5000, true);
    elevador = CreateObject(991,1599.8000488281,-2151.3999023438,12.699999809265,270,180.54357910156,178.54357910156);
    //MAPA
    CreateObject(11387,1595.39941406,-2163.69921875,15.80000019,0.00000000,0.00000000,270.00000000); //object(oldgarage_sfs) (8)
    CreateObject(11389,1611.59960938,-2154.50000000,15.69999981,0.00000000,0.00000000,267.99499512); //object(hubinterior_sfs) (1)
    CreateObject(11388,1611.59960938,-2154.50000000,19.29999924,0.00000000,0.00000000,267.99499512); //object(hubintroof_sfse) (2)
    CreateObject(11391,1603.79980469,-2146.19921875,13.80000019,0.00000000,1.99951172,267.99499512); //object(hubprops6_sfse) (1)
    CreateObject(1966,1595.59960938,-2149.59960938,15.10000038,0.00000000,0.00000000,87.97851562); //object(imcompmovedr1_las) (1)
    CreateObject(1966,1595.09960938,-2149.69921875,15.10000038,0.00000000,0.00000000,270.00000000); //object(imcompmovedr1_las) (2)
    CreateObject(1966,1615.00000000,-2163.59960938,15.30000019,0.00000000,0.00000000,177.98950195); //object(imcompmovedr1_las) (3)
    CreateObject(11392,1610.19921875,-2153.89941406,12.60000038,0.00000000,0.00000000,283.99658203); //object(hubfloorstains_sfse) (1)
    CreateObject(11393,1606.09960938,-2158.69921875,14.10000038,0.00000000,0.00000000,270.00000000); //object(hubprops1_sfs) (1)
    CreateObject(2893,1622.69995117,-2152.00000000,13.60000038,10.00588989,359.95413208,358.59863281); //object(kmb_ramp) (1)
    CreateObject(2893,1624.59997559,-2152.19995117,13.60000038,10.00305176,359.95056152,358.59375000); //object(kmb_ramp) (2)
    CreateObject(2893,1622.89941406,-2146.39941406,13.80000019,345.99792480,0.00000000,358.84094238); //object(kmb_ramp) (3)
    CreateObject(2893,1622.69921875,-2153.00000000,13.10000038,357.00000000,0.00000000,357.98950195); //object(kmb_ramp) (3)
    CreateObject(2893,1624.59960938,-2153.09960938,13.10000038,357.00000000,0.00000000,357.98950195); //object(kmb_ramp) (3)
    CreateObject(2893,1624.69995117,-2146.50000000,13.80000019,345.99792480,0.00000000,358.84094238); //object(kmb_ramp) (3)
    CreateObject(2773,1609.89941406,-2146.39941406,13.10000038,0.00000000,0.00000000,85.99548340); //object(cj_airprt_bar) (1)
    CreateObject(2893,1614.50000000,-2146.00000000,13.80000019,345.99792480,0.00000000,358.83544922); //object(kmb_ramp) (3)
    CreateObject(2893,1616.40002441,-2146.10009766,13.80000019,345.99792480,0.00000000,358.84094238); //object(kmb_ramp) (3)
    CreateObject(1234,1614.19995117,-2151.60009766,12.00000000,0.00000000,178.00000000,0.00000000); //object(phonesign) (1)
    CreateObject(1234,1616.40002441,-2151.69995117,12.10000038,0.00000000,180.00000000,1.99993896); //object(phonesign) (2)
    CreateObject(1234,1614.40002441,-2146.80004883,12.19999981,0.00000000,177.99499512,0.00000000); //object(phonesign) (4)
    CreateObject(1234,1616.50000000,-2146.80004883,12.19999981,0.00000000,177.99499512,0.00000000); //object(phonesign) (5)
    CreateObject(3096,1619.19995117,-2164.00000000,17.00000000,0.00000000,0.00000000,0.00000000); //object(bb_pickup) (1)
    CreateObject(1676,1602.59997559,-2175.89990234,14.19999981,0.00000000,0.00000000,0.00000000); //object(washgaspump) (1)
    CreateObject(1676,1600.19921875,-2176.00000000,14.19999981,0.00000000,0.00000000,0.00000000); //object(washgaspump) (2)
    CreateObject(982,1578.50000000,-2156.19995117,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit) (1)
    CreateObject(982,1578.50000000,-2172.00000000,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit) (2)
    CreateObject(982,1578.50000000,-2172.00000000,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit) (3)
    CreateObject(982,1590.69995117,-2139.50000000,13.19999981,0.00000000,2.00000000,108.00000000); //object(fenceshit) (4)
    CreateObject(982,1615.00000000,-2131.69995117,13.19999981,0.00000000,1.99951172,107.99560547); //object(fenceshit) (5)
    CreateObject(982,1627.59997559,-2140.19995117,13.19999981,0.00000000,1.99951172,181.99562073); //object(fenceshit) (6)
    CreateObject(982,1628.50000000,-2165.69995117,13.19999981,0.00000000,1.99951172,181.99401855); //object(fenceshit) (8)
    CreateObject(982,1628.69921875,-2172.09960938,13.19999981,0.00000000,1.99951172,181.98852539); //object(fenceshit) (9)
    CreateObject(2679,1596.69995117,-2161.50000000,12.60000038,0.00000000,90.00000000,94.00164795); //object(cj_chris_crate_rd) (1)
    CreateObject(2679,1596.69995117,-2159.80004883,12.60000038,0.00000000,90.00000000,87.99835205); //object(cj_chris_crate_rd) (2)
    CreateObject(2679,1597.00000000,-2157.19995117,12.60000038,0.00000000,90.00000000,87.99499512); //object(cj_chris_crate_rd) (3)
    CreateObject(2679,1601.39941406,-2162.09960938,13.10000038,0.00000000,179.99450684,357.98950195); //object(cj_chris_crate_rd) (4)
    CreateObject(2679,1602.30004883,-2162.39990234,12.30000019,0.00000000,179.99450684,45.98953247); //object(cj_chris_crate_rd) (5)
    CreateObject(2679,1603.80004883,-2162.30004883,12.30000019,0.00000000,179.99450684,45.98876953); //object(cj_chris_crate_rd) (6)
    CreateObject(2679,1600.69995117,-2146.00000000,12.60000038,0.00000000,90.00000000,175.99426270); //object(cj_chris_crate_rd) (7)
    CreateObject(2679,1606.40002441,-2145.60009766,12.60000038,0.00000000,90.00000000,195.98953247); //object(cj_chris_crate_rd) (8)
    CreateObject(2679,1606.29980469,-2145.50000000,12.60000038,0.00000000,90.00000000,151.97937012); //object(cj_chris_crate_rd) (9)
    CreateObject(2679,1610.00000000,-2146.39990234,12.60000038,0.00000000,90.00000000,177.97863770); //object(cj_chris_crate_rd) (10)
    CreateObject(2679,1608.69995117,-2145.60009766,12.39999962,0.00000000,0.00000000,85.97845459); //object(cj_chris_crate_rd) (11)
    CreateObject(2679,1611.09997559,-2145.69995117,12.39999962,0.00000000,0.00000000,85.97351074); //object(cj_chris_crate_rd) (12)
    CreateObject(2679,1613.59997559,-2147.60009766,12.00000000,0.00000000,0.00000000,51.97351074); //object(cj_chris_crate_rd) (13)
    CreateObject(2679,1613.59997559,-2148.10009766,12.00000000,0.00000000,0.00000000,323.97082520); //object(cj_chris_crate_rd) (14)
    CreateObject(2679,1620.69995117,-2151.10009766,11.89999962,0.00000000,0.00000000,319.97030640); //object(cj_chris_crate_rd) (15)
    CreateObject(2679,1620.00000000,-2151.10009766,11.89999962,0.00000000,0.00000000,227.96582031); //object(cj_chris_crate_rd) (16)
    CreateObject(2679,1619.69995117,-2148.69995117,12.39999962,0.00000000,0.00000000,227.96081543); //object(cj_chris_crate_rd) (17)
    CreateObject(2679,1619.50000000,-2148.50000000,12.39999962,0.00000000,0.00000000,227.96081543); //object(cj_chris_crate_rd) (18)
    CreateObject(2679,1619.30004883,-2148.10009766,12.39999962,0.00000000,0.00000000,123.96081543); //object(cj_chris_crate_rd) (19)
    CreateObject(2679,1619.69995117,-2147.89990234,12.39999962,0.00000000,0.00000000,97.95874023); //object(cj_chris_crate_rd) (20)
    CreateObject(2679,1619.90002441,-2146.80004883,12.39999962,0.00000000,0.00000000,113.95410156); //object(cj_chris_crate_rd) (21)
    CreateObject(2679,1619.69995117,-2146.89990234,12.39999962,0.00000000,0.00000000,97.95410156); //object(cj_chris_crate_rd) (22)
    CreateObject(2679,1621.00000000,-2148.00000000,12.39999962,0.00000000,0.00000000,113.95019531); //object(cj_chris_crate_rd) (23)
    CreateObject(2679,1620.69995117,-2148.10009766,12.39999962,0.00000000,0.00000000,113.95019531); //object(cj_chris_crate_rd) (24)
    CreateObject(2679,1620.80004883,-2146.89990234,12.39999962,0.00000000,0.00000000,113.95019531); //object(cj_chris_crate_rd) (25)
    CreateObject(2679,1621.19995117,-2146.80004883,12.39999962,0.00000000,0.00000000,113.95019531); //object(cj_chris_crate_rd) (26)
    CreateObject(2679,1606.09997559,-2156.00000000,12.30000019,0.00000000,0.00000000,113.95019531); //object(cj_chris_crate_rd) (27)
    CreateObject(2679,1606.09997559,-2156.80004883,12.30000019,0.00000000,0.00000000,101.95019531); //object(cj_chris_crate_rd) (28)
    CreateObject(2679,1606.00000000,-2157.39990234,12.30000019,0.00000000,0.00000000,101.94763184); //object(cj_chris_crate_rd) (29)
    CreateObject(2679,1606.50000000,-2160.50000000,12.30000019,0.00000000,0.00000000,75.94763184); //object(cj_chris_crate_rd) (30)
    CreateObject(2679,1606.30004883,-2161.00000000,12.30000019,0.00000000,0.00000000,99.94299316); //object(cj_chris_crate_rd) (31)
    CreateObject(2679,1606.40002441,-2161.69995117,12.30000019,0.00000000,0.00000000,123.94262695); //object(cj_chris_crate_rd) (32)
    CreateObject(2679,1606.00000000,-2162.00000000,13.39999962,0.00000000,0.00000000,189.94226074); //object(cj_chris_crate_rd) (33)
    CreateObject(2679,1617.80004883,-2147.80004883,12.10000038,0.00000000,0.00000000,175.95874023); //object(cj_chris_crate_rd) (34)
    CreateObject(2679,1618.19995117,-2148.30004883,12.10000038,0.00000000,0.00000000,263.95703125); //object(cj_chris_crate_rd) (35)
    CreateObject(2679,1602.40002441,-2149.89990234,13.60000038,0.00000000,0.00000000,0.00000000); //object(cj_chris_crate_rd) (36)
    CreateObject(2679,1598.59997559,-2149.80004883,13.60000038,0.00000000,0.00000000,0.00000000); //object(cj_chris_crate_rd) (37)
    CreateObject(2679,1597.90002441,-2149.80004883,13.60000038,0.00000000,0.00000000,178.00000000); //object(cj_chris_crate_rd) (38)
    CreateObject(2679,1597.90002441,-2149.80004883,16.00000000,0.00000000,0.00000000,177.99499512); //object(cj_chris_crate_rd) (39)
    CreateObject(2679,1598.59997559,-2149.80004883,16.00000000,0.00000000,0.00000000,359.99499512); //object(cj_chris_crate_rd) (40)
    CreateObject(2679,1602.40002441,-2149.89990234,16.00000000,0.00000000,0.00000000,0.00000000); //object(cj_chris_crate_rd) (41)
    CreateObject(2679,1601.69995117,-2149.89990234,16.00000000,0.00000000,0.00000000,176.00000000); //object(cj_chris_crate_rd) (42)
    CreateObject(2679,1601.69995117,-2149.89990234,13.60000038,0.00000000,0.00000000,175.99548340); //object(cj_chris_crate_rd) (43)
    CreateObject(2679,1601.59997559,-2153.10009766,13.60000038,0.00000000,0.00000000,175.99548340); //object(cj_chris_crate_rd) (44)
    CreateObject(2679,1601.59997559,-2153.10009766,16.00000000,0.00000000,0.00000000,175.99548340); //object(cj_chris_crate_rd) (45)
    CreateObject(2679,1602.30004883,-2153.10009766,16.00000000,0.00000000,0.00000000,355.99551392); //object(cj_chris_crate_rd) (46)
    CreateObject(2679,1602.30004883,-2153.10009766,13.60000038,0.00000000,0.00000000,355.98999023); //object(cj_chris_crate_rd) (47)
    CreateObject(2679,1598.50000000,-2152.89990234,13.60000038,0.00000000,0.00000000,355.98999023); //object(cj_chris_crate_rd) (48)
    CreateObject(2679,1598.50000000,-2152.89990234,16.00000000,0.00000000,0.00000000,357.98999023); //object(cj_chris_crate_rd) (49)
    CreateObject(2679,1597.80004883,-2152.89990234,16.00000000,0.00000000,0.00000000,177.98950195); //object(cj_chris_crate_rd) (50)
    CreateObject(2679,1597.80004883,-2152.89990234,13.60000038,0.00000000,0.00000000,177.98950195); //object(cj_chris_crate_rd) (51)
    CreateObject(2886,1602.00000000,-2149.80004883,14.19999981,0.00000000,0.00000000,176.00000000); //object(sec_keypad) (1)
    CreateObject(2886,1626.59997559,-2164.00000000,14.19999981,0.00000000,0.00000000,357.99545288); //object(sec_keypad) (2)
    CreateObject(3666,1578.50000000,-2184.89990234,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (2)
    CreateObject(3666,1578.30004883,-2170.89990234,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (3)
    CreateObject(3666,1578.40002441,-2158.60009766,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (4)
    CreateObject(3666,1578.30004883,-2143.60009766,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (5)
    CreateObject(3666,1592.30004883,-2139.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (6)
    CreateObject(3666,1609.50000000,-2133.60009766,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (7)
    CreateObject(3666,1620.50000000,-2129.89990234,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (8)
    CreateObject(3666,1627.09997559,-2127.69995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (9)
    CreateObject(3666,1627.69995117,-2141.50000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (10)
    CreateObject(3666,1628.40002441,-2164.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (11)
    CreateObject(3666,1629.09997559,-2184.80004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(airuntest_las) (12)

    return 1;
}

public IsPlayerAtToll()
{
    for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
    {
        if(IsPlayerInRangeOfPoint(playerid,7.0,1623.5999755859,-2163.8999023438,14.199999809265))
        {
            MoveObject(garagem,1614.9000244141,-2163.6000976563,14.199999809265,3.0);
            SetTimerEx("Closegaragem", 10000, false, "i", garagem);
        }
    }
    return 1;
}

public Closegaragem(garagemid)
{
    if(garagemid == garagem)
    {
    MoveObject(garagem,1623.5999755859,-2163.8999023438,14.199999809265,3.0);
    }
    return 1;
}

CMD:subir(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1602.0624,-2148.6074,13.5547))
    {
    MoveObject(elevador,1599.8000488281,-2151.3999023438,15.699999809265,1.0);
    }
    return 1;
}

CMD:descer(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid,7.0, 1602.0624,-2148.6074,13.5547))
    {
    MoveObject(elevador,1599.8000488281,-2151.3999023438,12.699999809265,1.0);
    }
    return 1;
}
Reply


Messages In This Thread
Garagem em LS - by Adriano_MQD - 06.07.2012, 16:50
Re: Garagem em LS - by OakleyBrasil - 06.07.2012, 17:49
Re: Garagem em LS - by Edu33 - 06.07.2012, 17:53
Re: Garagem em LS - by .FuneraL. - 06.07.2012, 19:02
Respuesta: Garagem em LS - by Luciano* - 06.07.2012, 19:07
Re: Garagem em LS - by Adriano_MQD - 06.07.2012, 19:30
Re: Garagem em LS - by ipsBruno - 06.07.2012, 19:36
Re: Garagem em LS - by StrondA_ - 06.07.2012, 19:36
Re: Garagem em LS - by Kuddy - 06.07.2012, 20:04
Re: Garagem em LS - by Edy2014665 - 05.10.2014, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)