So after lot of time I created one more map, my imagination is a bit rusty so map is not something much.. Hope you guys like it.
Код:
#include <a_samp>
#include <streamer>
new gate;
new garage;
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
CreateObject(3606,-1519.0000000,155.7000000,6.0000000,0.0000000,0.0000000,316.0000000); //object(bevbrkhus1) (1)
CreateObject(3603,-1677.5000000,61.2000000,-6.4000000,0.0000000,0.0000000,316.0000000); //object(bevman_law2) (2)
CreateObject(987,-1716.8000000,61.7000000,2.5000000,0.0000000,0.0000000,42.0000000); //object(elecfence_bar) (1)
CreateObject(987,-1711.6000000,66.4000000,2.5000000,0.0000000,0.0000000,41.9950000); //object(elecfence_bar) (2)
CreateObject(987,-1709.4000000,43.8000000,2.5000000,0.0000000,0.0000000,111.9950000); //object(elecfence_bar) (3)
CreateObject(987,-1706.7000000,32.7000000,2.5000000,0.0000000,0.0000000,103.9950000); //object(elecfence_bar) (4)
CreateObject(2990,-1716.4000000,3.1000000,6.5000000,0.0000000,0.0000000,314.0000000); //object(wongs_gate) (1)
CreateObject(4597,-1678.3000000,86.9000000,-11.8000000,0.0000000,0.0000000,316.0000000); //object(crprkblok4_lan2) (1)
CreateObject(4597,-1651.6000000,61.2000000,-11.8000000,0.0000000,0.0000000,315.9950000); //object(crprkblok4_lan2) (2)
CreateObject(9833,-1661.8000000,74.5000000,-9.0000000,0.0000000,0.0000000,338.0000000); //object(fountain_sfw) (1)
CreateObject(9833,-1665.2000000,78.5000000,-9.0000000,0.0000000,0.0000000,338.0000000); //object(fountain_sfw) (2)
CreateObject(3515,-1651.0000000,75.1000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (1)
CreateObject(3515,-1644.7000000,81.3000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (2)
CreateObject(3515,-1639.4000000,86.6000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (3)
CreateObject(3515,-1634.0000000,92.1000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (4)
CreateObject(3515,-1627.9000000,98.2000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (5)
CreateObject(3515,-1621.9000000,104.2000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (6)
CreateObject(3515,-1616.3000000,109.8000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (7)
CreateObject(3515,-1610.5000000,115.7000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (8)
CreateObject(3515,-1605.3000000,120.8000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (9)
CreateObject(3515,-1599.2000000,126.3000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (10)
CreateObject(3515,-1592.3000000,129.3000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (11)
CreateObject(3515,-1586.0000000,134.0000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (12)
CreateObject(3515,-1665.2000000,88.8000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (13)
CreateObject(3515,-1659.2000000,95.4000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (14)
CreateObject(3515,-1653.7000000,101.0000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (15)
CreateObject(3515,-1648.0000000,106.1000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (16)
CreateObject(3515,-1641.6000000,112.6000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (17)
CreateObject(3515,-1636.0000000,118.1000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (18)
CreateObject(3515,-1630.5000000,123.9000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (19)
CreateObject(3515,-1624.0000000,129.8000000,-11.8000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (20)
CreateObject(987,-1671.6000000,105.0000000,2.6000000,0.0000000,0.0000000,32.7410000); //object(elecfence_bar) (5)
CreateObject(6965,-1563.9000000,112.6000000,6.3000000,0.0000000,0.0000000,0.0000000); //object(venefountain02) (1)
CreateObject(6964,-1563.8000000,112.6000000,2.0000000,0.0000000,0.0000000,356.0000000); //object(venefountwat02) (1)
CreateObject(14537,-1536.3000000,136.2000000,4.5000000,0.0000000,0.0000000,314.0000000); //object(pdomesbar) (1)
CreateObject(1702,-1572.7000000,131.7000000,2.6000000,0.0000000,0.0000000,48.0000000); //object(kb_couch06) (1)
CreateObject(1702,-1569.4000000,131.5000000,2.6000000,0.0000000,0.0000000,227.9990000); //object(kb_couch06) (2)
CreateObject(1433,-1571.1000000,131.7000000,2.7000000,0.0000000,0.0000000,318.0000000); //object(dyn_table_1) (1)
CreateObject(1702,-1571.1000000,129.6000100,2.6000000,0.0000000,0.0000000,227.9940000); //object(kb_couch06) (3)
CreateObject(1702,-1574.3000000,129.8999900,2.6000000,0.0000000,0.0000000,47.9990000); //object(kb_couch06) (4)
CreateObject(1433,-1572.7000000,129.8000000,2.7000000,0.0000000,0.0000000,317.9990000); //object(dyn_table_1) (2)
CreateObject(4874,-1554.4000000,187.3000000,6.4000000,0.0000000,0.0000000,315.0000000); //object(helipad1_las) (1)
CreateObject(1633,-1582.2000000,125.1000000,3.8000000,0.0000000,0.0000000,354.0000000); //object(landjump) (1)
CreateObject(1633,-1581.6000000,131.1000100,5.8000000,5.0000000,0.0000000,353.9960000); //object(landjump) (2)
CreateObject(14467,-1534.2000000,133.7000000,9.2000000,0.0000000,0.0000000,274.2500000); //object(carter_statue) (1)
CreateObject(14467,-1538.5000000,138.1000100,9.2000000,0.0000000,0.0000000,302.2470000); //object(carter_statue) (2)
CreateObject(14467,-1539.0000000,133.7000000,9.2000000,0.0000000,0.0000000,284.2460000); //object(carter_statue) (3)
CreateObject(14637,-1696.8000000,22.7000000,9.7000000,0.0000000,0.0000000,46.0000000); //object(triad_dragon) (1)
CreateObject(3434,-1672.6000000,3.5000000,8.0000000,0.0000000,0.0000000,310.0000000); //object(skllsgn01_lvs) (1)
CreateObject(14791,-1603.2000000,103.2000000,4.6000000,0.0000000,0.0000000,46.0000000); //object(a_vgsgymboxa) (1)
CreateObject(2627,-1609.4000000,98.0000000,2.6000000,0.0000000,0.0000000,46.0000000); //object(gym_treadmill) (1)
CreateObject(2628,-1611.0000000,96.3000000,2.6000000,0.0000000,0.0000000,42.0000000); //object(gym_bench2) (1)
CreateObject(2629,-1612.9000000,95.2000000,2.6000000,0.0000000,0.0000000,46.0000000); //object(gym_bench1) (1)
CreateObject(2630,-1614.0000000,93.9000000,2.6000000,0.0000000,0.0000000,226.0000000); //object(gym_bike) (1)
CreateObject(17950,-1595.4000000,110.6000000,4.8000000,0.0000000,0.0000000,222.0000000); //object(cjsaveg) (1)
//gates
gate = CreateObject(969,-1673.3000000,6.9000000,2.6000000,0.0000000,0.0000000,314.0000000); //object(electricgate) (1)
garage = CreateObject(971,-1696.9000000,23.1000000,5.2000000,0.0000000,0.0000000,315.7500000); //object(subwaygate) (1)
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/opengate",true)==0)//second front gateopen
{
MoveObject(gate, -1678.3000000,12.9000000,2.6000000, 5.0);
SendClientMessage(playerid,0xFFFF00AA, "Gates Opened. Don't forget to close! /closegate");
return 1;
}
if(strcmp(cmdtext,"/closegate",true)==0)//second front gate closed
{
MoveObject(gate, -1673.3000000,6.9000000,2.6000000, 5.0);
SendClientMessage(playerid,0xFFFF00AA, "Gates Closed.");
return 1;
}
if(strcmp(cmdtext,"/opengarage",true)==0)//second front gateopen
{
MoveObject(garage, -1696.9000000,23.1000000,-3.000000, 5.0);
SendClientMessage(playerid,0xFFFF00AA, "Gates Opened. Don't forget to close! /closegarage");
return 1;
}
if(strcmp(cmdtext,"/closegarage",true)==0)//second front gate closed
{
MoveObject(garage, -1696.9000000,23.1000000,5.2000000, 5.0);
SendClientMessage(playerid,0xFFFF00AA, "Gates Closed.");
return 1;
}
return 0;
}