[Map] HQ Admin String01
#1

[MAP]HQ Admin

The Command "/open" Open the door
Sorry on my bad english( i not, used ****** translate. )

Ss











Variable
pawn Код:
new String01;
Map
pawn Код:
//=====================================[ String01 ]======================================//
   
    CreateObject(3605,835.7998000,-2054.5000000,18.0000000,0.0000000,0.0000000,180.5660000);
    CreateObject(3578,848.5000000,-2030.0000000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(3578,848.5000000,-2025.2002000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(3578,848.5000000,-2020.2002000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(3578,848.5000000,-2015.2998000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(3578,848.5000000,-2009.7998000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(3578,848.5000000,-2004.9004000,11.2000000,0.0000000,0.0000000,0.0000000);
    CreateObject(982,853.0999800,-2027.7000000,13.6000000,0.0000000,0.0000000,0.0000000);
    CreateObject(982,819.7999900,-2027.7000000,13.6000000,0.0000000,0.0000000,0.0000000);
    CreateObject(982,853.0000000,-2003.7000000,13.6000000,0.0000000,0.0000000,0.0000000);
    CreateObject(982,819.7000100,-2003.7000000,13.6000000,0.0000000,0.0000000,0.0000000);
    CreateObject(9482,836.2998000,-1990.7002000,18.5000000,0.0000000,0.0000000,90.0000000);

    String01 = CreateObject(980,836.2998000,-1990.5996000,14.6000000,0.0000000,0.0000000,0.0000000);

    CreateObject(2921,841.7999900,-1990.4000000,16.9000000,0.0000000,352.0000000,346.0000000);
    CreateObject(792,821.0996100,-1987.4004000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(1231,851.7998000,-2022.5996000,14.6000000,0.0000000,0.0000000,286.0000000);
    CreateObject(792,851.7998000,-2007.5000000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(792,851.7998000,-2027.7002000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(792,851.7998000,-2037.0000000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(1231,851.7998000,-1998.7000000,14.6000000,0.0000000,0.0000000,286.0000000);
    CreateObject(792,852.2998000,-1992.7002000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(792,820.7998000,-1992.7002000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(1231,820.9000200,-1983.1000000,14.6000000,0.0000000,0.0000000,285.9960000);
    CreateObject(3934,826.2000100,-2030.5000000,12.0000000,0.0000000,0.0000000,90.0000000);
    CreateObject(792,851.7998000,-2017.5000000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(1231,851.7998000,-2012.6000000,14.6000000,0.0000000,0.0000000,286.0000000);
    CreateObject(792,851.9000200,-1988.4004000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(792,820.7000100,-2037.0000000,12.1000000,0.0000000,0.0000000,0.0000000);
    CreateObject(1231,820.9000200,-2010.8000000,14.6000000,0.0000000,0.0000000,285.9910000);
    CreateObject(980,824.5999800,-1990.5000000,14.6000000,0.0000000,0.0000000,180.0000000);
    CreateObject(980,847.9000200,-1990.4000000,14.6000000,0.0000000,0.0000000,179.9950000);

//===================================================================================//
Remove
pawn Код:
//====================================================================================//

        RemoveBuildingForPlayer(playerid, 1461, 820.1484, -2061.0625, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 820.1484, -2055.2422, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 820.2813, -2019.0000, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 820.2813, -2015.0625, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 820.2813, -2002.9688, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 820.2813, -1999.0313, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 638, 820.3438, -2058.1641, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 820.9297, -2066.1797, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 820.9297, -2036.6953, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 820.9297, -2008.9141, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 820.7891, -2011.7969, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 820.9297, -1991.4922, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 820.7891, -2005.9844, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 821.0078, -1986.0938, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 821.5469, -2048.8984, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1281, 821.8125, -2042.2969, 12.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1281, 824.7969, -2036.6797, 12.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1281, 821.8125, -2031.3516, 12.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 821.1094, -2023.7422, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 821.0703, -1996.2500, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 851.7969, -2049.0000, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 851.7969, -2066.3594, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 852.4531, -2060.3359, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 852.7344, -2055.2422, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 638, 852.5313, -2058.1641, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 852.6094, -2042.5547, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 852.4531, -2039.6875, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 638, 852.5313, -2036.3906, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 852.7344, -2033.4688, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 852.6094, -2030.4531, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 851.7578, -2023.7422, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 852.6094, -2026.5234, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 851.7969, -2018.0313, 12.1719, 0.25);
    RemoveBuildingForPlayer(playerid, 1281, 851.0078, -1992.5781, 12.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 851.7578, -2012.7031, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1231, 851.7578, -1994.9375, 14.5703, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 852.6094, -2008.8906, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1280, 852.6094, -2004.9609, 12.2344, 0.25);
    RemoveBuildingForPlayer(playerid, 1461, 852.7344, -1997.3672, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 638, 852.5313, -2000.6406, 12.5391, 0.25);
    RemoveBuildingForPlayer(playerid, 1281, 848.5625, -1986.6719, 12.6172, 0.25);
    RemoveBuildingForPlayer(playerid, 792, 851.9766, -1986.8828, 12.1719, 0.25);

//====================================================================================//
Vehicles

pawn Код:
//====================================================================================//

    CreateVehicle(411,847.0000000,-2027.7000000,12.7000000,270.0000000,0,0, 300);
    CreateVehicle(411,847.0000000,-2007.3999000,12.7000000,270.0000000,0,0, 300);
    CreateVehicle(522,848.0000000,-2017.6000000,12.5000000,272.0000000,0,0, 300);
    CreateVehicle(487,826.2000100,-2031.2000000,13.1000000,0.0000000,0,0, 300);

//====================================================================================//
Callback

pawn Код:
//====================================================================================//

forward CloseDoor();
public CloseDoor()
{
    MoveObject(String01, 836.2998000,-1990.5996000,14.6000000, 3.0, 0, 0, 0);
    return 1;
}

//====================================================================================//
Command's

pawn Код:
//====================================================================================//

CMD:open(playerid)
{
    MoveObject(String01, 836.2998000,-1990.5996000,20.6000000, 3.0, 0.0000000, 0.0000000, 0.0000000);
    SetTimer("CloseDoor", 4000, false);
    return 1;
}

CMD:spawn(playerid)
{
    SetPlayerPos(playerid, 836.0849,-1953.3676,12.8672);
    CreateVehicle(411, 836.0849,-1953.3676,12.8672, 90, 10, 10, 60);
        return 1;
}

//====================================================================================//
By

Pedro Eduardo( String01 ) Create Map
and MTA Editor ^^'


Код:
 __ _        _              ___  _ 
/ _\ |_ _ __(_)_ __   __ _ / _ \/ |
\ \| __| '__| | '_ \ / _` | | | | |
_\ \ |_| |  | | | | | (_| | |_| | |
\__/\__|_|  |_|_| |_|\__, |\___/|_|
                     |___/
Reply
#2


Something simple, worse will serve some!
Reply
#3

try texturing this map. good work.
Reply
#4

Decent.
Reply
#5

Seems fine. + Rep.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)