[Map] DMV San Fierro
#1

Hello there, this is Licenses center located in San Fierro
Hope you like it,there is no much things in can say...

There is open and closed gate cordinates i was made it so everyone can open it with key H. It was nice and different to map it like that







Code:
RemoveBuildingForPlayer(playerid, 11371, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1497, -2029.0156, -120.0625, 34.2578, 0.25);
RemoveBuildingForPlayer(playerid, 11015, -2028.1328, -111.2734, 36.1328, 0.25);
RemoveBuildingForPlayer(playerid, 11014, -2076.4375, -107.9297, 36.9688, 0.25);
RemoveBuildingForPlayer(playerid, 1532, -2025.8281, -102.4688, 34.2734, 0.25);


CreateDynamicObject(983, -2016.40002, -83.40000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2021.19995, -80.20000, 35.00000,   0.00000, 0.00000, 269.99899);
CreateDynamicObject(983, -2016.40002, -89.80000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2016.40002, -96.20000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2016.40002, -99.40000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2027.59998, -80.20000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2030.80005, -87.90000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2062.19995, -83.50000, 35.00000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(983, -2061.80005, -80.30000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2068.19922, -80.29980, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2074.59961, -80.29980, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2081.00000, -80.30000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2087.39990, -80.30000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2093.80005, -80.30000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2055.39941, -80.29980, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2054.69995, -88.60000, 35.00000,   0.00000, 0.00000, 127.99500);
CreateDynamicObject(983, -2059.69995, -88.60000, 35.00000,   0.00000, 0.00000, 51.98800);
CreateDynamicObject(983, -2052.19922, -83.50000, 35.00000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(1364, -2055.00000, -89.80000, 35.10000,   0.00000, 0.00000, 38.00000);
CreateDynamicObject(1364, -2059.30005, -89.90000, 35.10000,   0.00000, 0.00000, 321.99600);
CreateDynamicObject(1215, -2060.69995, -88.20000, 34.90000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1215, -2053.39990, -88.20000, 34.90000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2019.59998, -80.20000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2037.19995, -84.70000, 35.00000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(983, -2037.19922, -83.39941, 35.00000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(983, -2034.00000, -80.19922, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2034.00000, -87.89941, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2019.59961, -87.89941, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(983, -2026.00000, -87.89941, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(672, -2034.19995, -83.60000, 34.50000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(672, -2020.29980, -84.59961, 34.50000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(8623, -2027.50000, -83.90000, 35.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(862, -2027.30005, -84.30000, 34.50000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(8406, -2081.39990, -80.70000, 39.70000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(737, -2057.19995, -84.10000, 34.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(640, -2052.60010, -83.20000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(640, -2055.00000, -88.20000, 35.00000,   0.00000, 0.00000, 308.00000);
CreateDynamicObject(640, -2061.80005, -83.30000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(640, -2059.59961, -88.19922, 35.00000,   0.00000, 0.00000, 51.99800);
CreateDynamicObject(640, -2055.69995, -80.70000, 35.00000,   0.00000, 0.00000, 269.99600);
CreateDynamicObject(640, -2058.80005, -80.70000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(1229, -2064.50000, -76.50000, 35.90000,   0.00000, 0.00000, 236.00000);
CreateDynamicObject(1257, -2061.69922, -76.89941, 35.60000,   0.00000, 0.00000, 270.00000);
CreateDynamicObject(988, -2032.80005, -102.80000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(994, -2023.50000, -92.80000, 34.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(994, -2029.80005, -92.80000, 34.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(994, -2036.09998, -92.80000, 34.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(988, -2021.80005, -102.80000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(988, -2027.30005, -102.80000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(988, -2047.00000, -102.70000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(9131, -2035.09998, -103.20000, 35.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(988, -2052.50000, -102.70000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(988, -2058.00000, -102.70000, 34.20000,   0.00000, 0.00000, 179.99500);
CreateDynamicObject(9131, -2044.69995, -103.10000, 35.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(4018, -2050.69995, -129.30000, 34.30000,   0.00000, 0.00000, 180.00000);
CreateDynamicObject(3268, -2022.40002, -265.39999, 34.30000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(1522, -2042.40002, -125.90000, 34.40000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(9314, -2013.19995, -103.10000, 42.50000,   0.00000, 0.00000, 270.00000);
CreateDynamicObject(984, -2057.89990, -118.70000, 35.00000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(983, -2054.69995, -112.40000, 35.00000,   0.00000, 0.00000, 269.99500);
CreateDynamicObject(14400, -2054.10010, -118.60000, 35.10000,   0.00000, 0.00000, 274.00000);
CreateDynamicObject(975, -2039.90002, -102.80000, 35.80000,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(975, -2032.90002, -102.90000, 35.80000,   0.00000, 0.00000, 0.00000);
Reply
#2

Nice map but how to make the gate is opened by pressing H ?
Reply
#3

Quote:
Originally Posted by Ayhamm
View Post
Nice map but how to make the gate is opened by pressing H ?
You need "public OnPlayerKeyStateChange" and then define it by the key you press
Keys you can get from here https://sampwiki.blast.hk/wiki/Keys

You should make it something like this under OnPlayerKeyStateChange

pawn Code:
else if(PRESSED(KEY_CROUCH))
    {
        if(IsPlayerInAnyVehicle(playerid) && IsPlayerInRangeOfPoint(playerid, 10, -2039.9000200,-102.8000000,35.8000000))
        {
            if(licg == 0)
            {
                MoveDynamicObject(licgate,-2032.9000200,-102.9000000,35.8000000, 1.0);
                SendClientMessage(playerid, COLOR_LIGHT_BLUE,"You opened the Licence Center gate.");
                SetTimer("LicGateClose", 6000, false);
                licg = 1;
            }
        }
    }
Also you will need

pawn Code:
public LicGateClose()
{
    MoveDynamicObject(licgate,-2039.9000200,-102.8000000,35.8000000, 1.0);
    licg = 0;
    return 1;
}
Reply
#4

Thank You For Your Help. +REP
Reply
#5

Quote:
Originally Posted by Ayhamm
View Post
Thank You For Your Help. +REP
You are welcome.
Reply
#6

....
Reply
#7

Quote:
Originally Posted by manoc
View Post
nice map
Thanks
Reply
#8

Seems nice, not a bad idea
Reply
#9

Nice Map!
Reply
#10

Nice map keep it up
Reply
#11

Quote:
Originally Posted by LeGGGeNNdA
View Post
Seems nice, not a bad idea
Thanks

Quote:
Originally Posted by J4mmyHD
View Post
Nice Map!
Thanks

Quote:
Originally Posted by Dorlevi1506
View Post
Nice map keep it up
Thanks
Reply
#12

Quote:
Originally Posted by ***Niko***
View Post
Thanks
No problem you did great work, i give you REP, can you say something about my mapping?
http://forum.sa-mp.com/showthread.ph...69#post2789669
It's my first work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)