[Map] HQ of a criminal group
#1

❖ HQ of a criminal group ❖
This is an old map I've created in a while, I hope you like it as I do.

❖ Images ❖
http://s1157.photobucket.com/albums/...-SAMP%20Forum/

❖ CODE ❖
pawn Код:
RemoveBuildingForPlayer(playerid, 3744, 2259.3594, -2604.1797, 9.8750, 0.25);
RemoveBuildingForPlayer(playerid, 3744, 2262.8359, -2638.7734, 14.8125, 0.25);
RemoveBuildingForPlayer(playerid, 3574, 2262.8359, -2638.7734, 14.8125, 0.25);
RemoveBuildingForPlayer(playerid, 3574, 2259.3594, -2604.1797, 9.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1306, 2239.3672, -2598.8984, 19.8438, 0.25);
RemoveBuildingForPlayer(playerid, 5324, 2240.9375, -2590.6797, 18.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3578, 2259.3438, -2564.4297, 7.6484, 0.25);
RemoveBuildingForPlayer(playerid, 1306, 2239.3672, -2521.5078, 19.8438, 0.25);
RemoveBuildingForPlayer(playerid, 3578, 2242.3828, -2470.0000, 13.2109, 0.25);

CreateObject(10847,2265.19995117,-2640.00000000,18.80000114,0.00000000,0.00000000,0.00000000); //object(gen_whouse03_sfse01) (1)
CreateObject(3279,2266.30004883,-2621.30004883,12.60000038,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1)
CreateObject(3749,2247.89990234,-2619.30004883,18.00000000,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (1)
CreateObject(987,2254.30004883,-2618.50000000,8.00000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (1)
CreateObject(4100,2261.19995117,-2617.10009766,14.00000000,0.00000000,0.00000000,320.00000000); //object(meshfence1_lan) (1)
CreateObject(4100,2271.39990234,-2617.10009766,14.00000000,0.00000000,0.00000000,319.99877930); //object(meshfence1_lan) (2)
CreateObject(987,2242.19995117,-2617.30004883,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (2)
CreateObject(987,2242.19995117,-2605.39990234,12.50000000,0.00000000,0.00000000,89.99450684); //object(elecfence_bar) (3)
CreateObject(987,2242.19995117,-2593.39990234,12.50000000,0.00000000,0.00000000,89.99450684); //object(elecfence_bar) (4)
CreateObject(987,2242.19995117,-2581.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (5)
CreateObject(987,2242.19995117,-2569.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (6)
CreateObject(987,2242.19995117,-2557.48999023,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (7)
CreateObject(987,2242.19995117,-2545.60009766,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (8)
CreateObject(987,2242.19995117,-2533.60009766,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (9)
CreateObject(987,2242.19995117,-2521.60009766,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (10)
CreateObject(987,2242.19995117,-2509.60009766,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (11)
CreateObject(987,2242.19995117,-2497.60009766,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (12)
CreateObject(987,2242.19995117,-2485.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (13)
CreateObject(3749,2249.00000000,-2471.60009766,18.00000000,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (2)
CreateObject(987,2243.00000000,-2472.30004883,8.00000000,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (14)
CreateObject(4100,2260.80004883,-2473.76000977,14.19999981,0.00000000,0.00000000,319.99877930); //object(meshfence1_lan) (3)
CreateObject(4100,2271.10009766,-2473.76000977,14.19999981,0.00000000,0.00000000,319.99877930); //object(meshfence1_lan) (4)
CreateObject(2400,2255.39990234,-2473.89990234,9.10000038,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall01) (1)
CreateObject(2400,2260.00000000,-2473.89990234,9.10000038,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall01) (2)
CreateObject(3092,2255.89990234,-2474.39990234,9.50000000,0.00000000,0.00000000,178.00000000); //object(dead_tied_cop) (1)
CreateObject(2907,2257.10009766,-2474.10009766,9.89999962,270.00000000,0.00000000,182.00000000); //object(kmb_deadtorso) (1)
CreateObject(3092,2261.10009766,-2474.39990234,10.19999981,0.00000000,85.00000000,177.99499512); //object(dead_tied_cop) (2)
CreateObject(1442,2270.69995117,-2475.00000000,7.90000010,0.00000000,0.00000000,0.00000000); //object(dyn_firebin0) (1)
CreateObject(5816,2268.60009766,-2650.50000000,21.44000053,0.00000000,0.00000000,180.00000000); //object(odrampbit) (1)
CreateObject(3525,2270.69995117,-2475.05004883,7.50000000,0.00000000,0.00000000,0.00000000); //object(exbrtorch01) (1)
Reply
#2

Good, but could you please make the gate move?
Reply
#3

pawn Код:
new portaomafia;
Then trade:
pawn Код:
CreateObject(987,2254.30004883,-2618.50000000,8.00000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (1)
for
pawn Код:
mafiagate = CreateObject(987,2254.30004883,-2618.50000000,8.00000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (1)
pawn Код:
forward timergate();
public timergate()
{
    MoveObject(mafiagate,2254.30004883,-2618.50000000,8.00000000,2);
}
pawn Код:
if (strcmp(cmd, "/opengate", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2,2254.30004883,-2618.50000000,8.00000000))
        {
            MoveObject(mafiagate,2254.30004883,-2618.50000000,2.5, 2);
            SetTimer("timergate", 15000, 0);
            SendClientMessage(playerid, COLOR_GROVE,"You've opened the gate of the Mafia's HQ, it'll close in 15 seconds.");
            return 1;
        }
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)