[Map] Delegacia de LS
#1

Delegacia de LS



Fiz essa delegacia do 0 no MTA, com a ajuda de Ivan_Mota(Administrador da NVC Games) fizemos o fs ^^
Ela contйm 2 portхes com comandos de abrir e fechar /abrir1 /abrir 2 /fechar1 /fechar2 !


Vнdeo


[ame]http://www.youtube.com/watch?v=iWarXVLPqlo[/ame]

FilterScript


pawn Код:
// Delegacia feita do 0 por Arthenry
// Nгo retire os creditos!


#include <a_samp>


#define COR_Vermelho                 0xF60000AA


new p1, p2;


public OnFilterScriptInit()
{
   
    p1 = CreateObject(980,1541.69921875,-1627.5,15.199999809265,0.0,0.0,90.0); //object(airportgate) (1)
    p2 = CreateObject(980,1587.7998046875,-1637.8994140625,15,0.0,0.0,0.0); //object(airportgate) (1)


// ~~~~~~~~~~~~~~ Veiculos Delegacia LS ~~~~~~~~~~~~~~

AddStaticVehicleEx(599,1604.90002441,-1607.90002441,13.89999962,180.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1601.09997559,-1608.00000000,13.89999962,180.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1597.50000000,-1607.90002441,13.80000019,180.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1593.59997559,-1607.90002441,13.80000019,180.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1589.59997559,-1608.00000000,13.80000019,180.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1604.59997559,-1627.19995117,13.89999962,90.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(599,1604.50000000,-1622.59997559,13.89999962,90.00000000,-1,-1,15); //Police Ranger
AddStaticVehicleEx(598,1583.80004883,-1608.09997559,13.30000019,180.00000000,-1,1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,1576.30004883,-1608.00000000,13.30000019,180.00000000,-1,1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,1580.00000000,-1608.00000000,13.30000019,180.00000000,-1,1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,1572.50000000,-1608.00000000,13.30000019,180.00000000,-1,1,15); //Police Car (LVPD)
AddStaticVehicleEx(598,1568.50000000,-1608.00000000,13.30000019,180.00000000,-1,1,15); //Police Car (LVPD)
AddStaticVehicleEx(497,1550.69995117,-1610.09997559,13.60000038,90.00000000,-1,-1,15); //Police Maverick
AddStaticVehicleEx(427,1538.69995117,-1646.40002441,6.09999990,180.00000000,-1,1,15); //Enforcer
AddStaticVehicleEx(427,1534.90002441,-1646.30004883,6.09999990,180.00000000,-1,1,15); //Enforcer
AddStaticVehicleEx(427,1530.59997559,-1646.40002441,6.09999990,180.00000000,-1,1,15); //Enforcer
AddStaticVehicleEx(427,1526.50000000,-1646.30004883,6.09999990,180.00000000,-1,1,15); //Enforcer
AddStaticVehicleEx(597,1601.00000000,-1688.19995117,5.59999990,90.00000000,-1,1,15); //Police Car (SFPD)
AddStaticVehicleEx(597,1601.09997559,-1691.90002441,5.59999990,90.00000000,-1,1,15); //Police Car (SFPD)
AddStaticVehicleEx(597,1600.69995117,-1695.80004883,5.59999990,90.00000000,-1,1,15); //Police Car (SFPD)
AddStaticVehicleEx(597,1600.59997559,-1699.90002441,5.59999990,90.00000000,-1,1,15); //Police Car (SFPD)
AddStaticVehicleEx(601,1544.80004883,-1671.69995117,5.80000019,90.00000000,-1,-1,15); //S.W.A.T. Van
AddStaticVehicleEx(601,1544.80004883,-1675.59997559,5.80000019,90.00000000,-1,-1,15); //S.W.A.T. Van
AddStaticVehicleEx(601,1545.00000000,-1680.50000000,5.80000019,90.00000000,-1,-1,15); //S.W.A.T. Van
AddStaticVehicleEx(596,1591.19995117,-1710.00000000,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(596,1587.40002441,-1709.69995117,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(596,1583.80004883,-1709.59997559,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(596,1595.00000000,-1710.00000000,5.69999981,0.00000000,-1,-1,15); //Police Car (LSPD)
AddStaticVehicleEx(490,1559.50000000,-1711.19995117,5.90000010,0.00000000,-1,-1,15); //FBI Rancher
AddStaticVehicleEx(490,1563.09997559,-1710.40002441,6.19999981,0.00000000,-1,-1,15); //FBI Rancher
AddStaticVehicleEx(490,1566.59997559,-1710.80004883,5.90000010,0.00000000,-1,-1,15); //FBI Rancher
AddStaticVehicleEx(490,1570.19995117,-1710.90002441,5.69999981,0.00000000,-1,-1,15); //FBI Rancher
AddStaticVehicleEx(490,1574.40002441,-1710.69995117,5.90000010,0.00000000,-1,-1,15); //FBI Rancher
AddStaticVehicleEx(411,1586.40002441,-1671.59997559,5.69999981,270.00000000,-1,1,15); //Infernus
AddStaticVehicleEx(523,1603.00000000,-1675.40002441,5.40000010,90.00000000,-1,1,15); //HPV1000
AddStaticVehicleEx(523,1603.00000000,-1676.50000000,5.40000010,90.00000000,-1,1,15); //HPV1000
AddStaticVehicleEx(523,1602.80004883,-1677.59997559,5.40000010,90.00000000,-1,1,15); //HPV1000
AddStaticVehicleEx(523,1602.90002441,-1674.30004883,5.40000010,90.00000000,-1,1,15); //HPV1000
AddStaticVehicleEx(523,1603.09997559,-1678.90002441,5.59999990,90.00000000,-1,1,15); //HPV1000
AddStaticVehicleEx(523,1603.19995117,-1673.09997559,5.40000010,90.00000000,-1,1,15); //HPV1000

// ~~~~~~~~~~~~~~~~~~~~~ Objetos da Delegacia ~~~~~~~~~~~~~~

CreateObject(3749,1541.69921875,-1627.69921875,18.00000000,0.00000000,0.00000000,90.00000000); //object(clubgate01_lax) (1)
CreateObject(987,1539.69995117,-1606.00000000,15.89999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (1)
CreateObject(987,1539.59997559,-1602.30004883,15.89999962,0.00000000,0.00000000,269.99450684); //object(elecfence_bar) (2)
CreateObject(987,1551.80004883,-1602.40002441,15.89999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (3)
CreateObject(987,1563.19921875,-1602.39941406,15.89999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (4)
CreateObject(987,1575.40002441,-1602.59997559,15.89999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (5)
CreateObject(987,1586.90002441,-1602.40002441,15.89999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (6)
CreateObject(987,1598.80004883,-1602.59997559,15.89999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (7)
CreateObject(987,1608.00000000,-1602.80004883,15.89999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (8)
CreateObject(987,1607.80004883,-1614.90002441,15.80000019,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (9)
CreateObject(987,1607.80004883,-1626.09997559,15.80000019,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (10)
CreateObject(987,1607.80004883,-1637.30004883,15.89999962,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (12)
CreateObject(987,1602.50000000,-1639.00000000,21.89999962,0.00000000,90.00000000,15.00000000); //object(elecfence_bar) (14)
CreateObject(987,1591.69995117,-1639.19995117,18.20000076,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (15)
CreateObject(987,1579.69995117,-1639.19995117,18.20000076,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (16)
CreateObject(987,1568.30004883,-1639.19995117,18.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (17)
CreateObject(994,1554.29980469,-1622.79980469,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (2)
CreateObject(994,1548.09997559,-1622.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (3)
CreateObject(994,1560.40002441,-1622.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (2)
CreateObject(994,1567.19995117,-1622.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (2)
CreateObject(17036,1585.30004883,-1671.59997559,4.90000010,0.00000000,0.00000000,90.00000000); //object(cuntw_carport1_) (1)

return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/abrir1", cmdtext, true) == 0)
    {
        MoveObject(p1,1541.6999511719,-1627.5,8.6999998092651,4.0,0.0,0.0,90.0);
        SendClientMessage(playerid, 0xF60000AA, "| INFO | Abrindo portгo da delegacia!");
        return 1;
    }
    if(strcmp("/fechar1", cmdtext, true) == 0)
    {
        MoveObject(p1,1541.69921875,-1627.5,15.199999809265,4.0,0.0,0.0,90.0);
        SendClientMessage(playerid, 0xF60000AA, "| INFO | Fechando o portгo da delegacia!");
        return 1;
    }
    if(strcmp("/abrir2", cmdtext, true) == 0)
    {
        MoveObject(p2,1599.5,-1638.5,15,4.0,0.0,0.0,0.0);
        SendClientMessage(playerid, 0xF60000AA, "| INFO | Abrindo o portгo da delegacia!");
        return 1;
    }
    if(strcmp("/fechar2", cmdtext, true) == 0)
    {
        MoveObject(p2,1587.7998046875,-1637.8994140625,15,4.0,0.0,0.0,0.0);
        SendClientMessage(playerid, 0xF60000AA, "| INFO | Fechando o portгo da delegacia!");
        return 1;
    }
 
    return 0;
}

Crйditos

Ivan_Mota - FS
Vinicius - Mapa
Reply


Messages In This Thread
Delegacia de LS - by Arthenry - 23.07.2012, 16:40
AW: Delegacia de LS - by billy the kid - 23.07.2012, 16:43
Re: Delegacia de LS - by Arthenry - 23.07.2012, 17:09
Re: Delegacia de LS - by @Riichard - 23.07.2012, 18:29
Re: Delegacia de LS - by Arthenry - 23.07.2012, 18:40
Re: Delegacia de LS - by mau.tito - 23.07.2012, 19:07
Re: Delegacia de LS - by F_Cinco - 23.07.2012, 19:10
Re: Delegacia de LS - by Arthenry - 23.07.2012, 20:47
Re: Delegacia de LS - by DouglasRodrigues - 23.07.2012, 20:48
Re: Delegacia de LS - by PhilBittencourt - 23.07.2012, 20:50

Forum Jump:


Users browsing this thread: 2 Guest(s)