1 post in this topic

подойдет для опг

Спойлер

new polopg = CreateObject(18981, 2627.03, 1757.43, 1.10,   0.00, 90.00, -2.16);
new polopg1 = CreateObject(18981, 2602.40, 1758.44, 1.10,   0.00, 90.00, -2.16);
new polopg2 = CreateObject(18981, 2603.32, 1782.99, 1.10,   0.00, 90.00, -2.16);
new polopg3 = CreateObject(18981, 2627.99, 1782.11, 1.10,   0.00, 90.00, -2.16);
//=========================== [ ОПГ Полы Материалы ] ===========================
SetObjectMaterial(polopg,0,2618,"m@rs_megashop","brick_uj",0);
SetObjectMaterial(polopg1,0,2618,"m@rs_megashop","brick_uj",0);
SetObjectMaterial(polopg2,0,2618,"m@rs_megashop","brick_uj",0);
SetObjectMaterial(polopg3,0,2618,"m@rs_megashop","brick_uj",0);
//=========================== [ Столбы ОПГ Ретекстур ] =======================
new stolb = CreateObject(18762, 2632.97, 1794.00, 3.71,   0.00, 0.00, -2.16);
new stolb1 = CreateObject(18762, 2624.95, 1794.28, 3.71,   0.00, 0.00, -2.16);
new stolb2 = CreateObject(18762, 2640.46, 1793.64, 3.71,   0.00, 0.00, -2.16);
new stolb3 = CreateObject(18762, 2616.30, 1794.59, 3.71,   0.00, 0.00, -2.16);
new stolb4 = CreateObject(18762, 2607.83, 1794.80, 3.71,   0.00, 0.00, -2.10);
new stolb5 = CreateObject(18762, 2599.73, 1795.08, 3.71,   0.00, 0.00, -2.16);
new stolb6 = CreateObject(18762, 2591.76, 1795.45, 3.71,   0.00, 0.00, -2.16);
new stolb7 = CreateObject(18762, 2591.44, 1787.92, 3.71,   0.00, 0.00, -2.16);
new stolb8 = CreateObject(18762, 2591.15, 1780.28, 3.71,   0.00, 0.00, -2.10);
new stolb9 = CreateObject(18762, 2590.90, 1771.72, 3.71,   0.00, 0.00, -2.16);
new stolb10 = CreateObject(18762, 2590.56, 1763.46, 3.71,   0.00, 0.00, -2.16);
new stolb11 = CreateObject(18762, 2640.18, 1785.79, 3.71,   0.00, 0.00, -2.16);
new stolb12 = CreateObject(18762, 2639.85, 1777.40, 3.71,   0.00, 0.00, -2.16);
new stolb13 = CreateObject(18762, 2639.57, 1769.57, 3.71,   0.00, 0.00, -2.16);
new stolb14 = CreateObject(18762, 2639.25, 1761.65, 3.71,   0.00, 0.00, -2.16);
new stolb15 = CreateObject(18762, 2638.88, 1752.98, 3.71,   0.00, 0.00, -2.16);
new stolb16 = CreateObject(18762, 2638.58, 1744.99, 3.71,   0.00, 0.00, -2.16);
new stolb17 = CreateObject(18762, 2590.25, 1755.00, 3.71,   0.00, 0.00, -2.16);
new stolb18 = CreateObject(18762, 2589.95, 1746.88, 3.71,   0.00, 0.00, -2.16);
new stolb19 = CreateObject(18762, 2598.34, 1746.57, 3.71,   0.00, 0.00, -2.16);
new stolb20 = CreateObject(18762, 2607.00, 1746.25, 3.71,   0.00, 0.00, -2.16);
new stolb21 = CreateObject(18762, 2615.28, 1745.85, 3.71,   0.00, 0.00, -2.16);
new stolb22 = CreateObject(18762, 2623.42, 1745.55, 3.71,   0.00, 0.00, -2.16);
new stolb23 = CreateObject(18762, 2631.25, 1745.24, 3.71,   0.00, 0.00, -2.16);
//=========================== [ Столбы ОПГ Материалы ] ========================
SetObjectMaterial(stolb,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb1,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb2,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb3,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb4,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb5,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb6,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb7,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb8,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb9,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb10,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb11,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb12,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb13,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb14,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb15,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb16,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb17,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb18,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb19,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb20,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb21,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb22,0,1996,"gttdom1","beton",0);
SetObjectMaterial(stolb23,0,1996,"gttdom1","beton",0);
//=========================== [ Заборы ОПГ Ретекстур ] =========================
new zaboropg = CreateObject(3055, 2636.75, 1793.90, 3.31,   0.00, 0.00, -2.16);
new zaboropg1 = CreateObject(3055, 2628.76, 1794.22, 3.31,   0.00, 0.00, -2.16);
new zaboropg3 = CreateObject(3055, 2611.99, 1794.80, 3.31,   0.00, 0.00, -2.16);
new zaboropg4 = CreateObject(3055, 2603.49, 1795.03, 3.31,   0.00, 0.00, -2.16);
new zaboropg5 = CreateObject(3055, 2595.55, 1795.34, 3.31,   0.00, 0.00, -2.16);
new zaboropg6 = CreateObject(3055, 2591.69, 1791.66, 3.31,   0.00, 0.00, -92.16);
new zaboropg7 = CreateObject(3055, 2591.43, 1784.34, 3.31,   0.00, 0.00, -92.16);
new zaboropg8 = CreateObject(3055, 2591.08, 1776.16, 3.31,   0.00, 0.00, -92.16);
new zaboropg9 = CreateObject(3055, 2590.76, 1767.64, 3.31,   0.00, 0.00, -92.10);
new zaboropg10 = CreateObject(3055, 2640.39, 1789.63, 3.31,   0.00, 0.00, -92.16);
new zaboropg11 = CreateObject(3055, 2640.11, 1781.82, 3.31,   0.00, 0.00, -92.16);
new zaboropg12 = CreateObject(3055, 2639.77, 1773.13, 3.31,   0.00, 0.00, -92.70);
new zaboropg13 = CreateObject(3055, 2639.48, 1765.33, 3.31,   0.00, 0.00, -92.16);
new zaboropg14 = CreateObject(3055, 2639.20, 1757.30, 3.31,   0.00, 0.00, -92.16);
new zaboropg15 = CreateObject(3055, 2638.87, 1748.70, 3.31,   0.00, 0.00, -92.16);
new zaboropg16 = CreateObject(3055, 2590.38, 1759.18, 3.31,   0.00, 0.00, -92.16);
new zaboropg17 = CreateObject(3055, 2590.10, 1750.86, 3.31,   0.00, 0.00, -92.16);
new zaboropg18 = CreateObject(3055, 2594.17, 1746.77, 3.31,   0.00, 0.00, -2.22);
new zaboropg19 = CreateObject(3055, 2602.66, 1746.40, 3.31,   0.00, 0.00, -2.22);
new zaboropg20 = CreateObject(3055, 2611.21, 1746.08, 3.31,   0.00, 0.00, -2.22);
new zaboropg21 = CreateObject(3055, 2619.45, 1745.71, 3.31,   0.00, 0.00, -2.16);
new zaboropg22 = CreateObject(3055, 2627.47, 1745.41, 3.31,   0.00, 0.00, -2.16);
new zaboropg23 = CreateObject(3055, 2634.78, 1745.09, 3.31,   0.00, 0.00, -2.16);
//=========================== [ ОПГ Заборы Материалы ] =====
SetObjectMaterial(zaboropg,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg1,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg3,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg4,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg5,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg6,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg7,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg8,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg9,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg10,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg11,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg12,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg13,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg14,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg15,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg16,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg17,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg18,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg19,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg20,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg21,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg22,0,2020,"lodpprops1","Fence2",0);
SetObjectMaterial(zaboropg23,0,2020,"lodpprops1","Fence2",0);
//=========================== [ Остальные Объекты ОПГ Без Ретекстура ] ==
CreateDynamicObject(19493, 2596.11, 1753.75, 6.32,   0.00, 0.00, -92.16);
CreateDynamicObject(19494, 2596.11, 1753.75, 6.32,   0.00, 0.00, -92.16);
CreateDynamicObject(1506, 2592.69, 1757.00, 2.07,   0.00, 0.00, -2.16);
CreateDynamicObject(1506, 2596.09, 1750.26, 2.07,   0.00, 0.00, -92.16);
CreateDynamicObject(3034, 2595.42, 1758.39, 2.57,   0.00, 90.00, 178.20);
CreateDynamicObject(3066, 2636.29, 1750.54, 2.50,   0.00, 0.00, -1.02);
CreateDynamicObject(3066, 2633.42, 1750.58, 2.50,   0.00, 0.00, -1.02);
CreateDynamicObject(3066, 2630.42, 1750.48, 2.50,   0.00, 0.00, -1.02);
CreateDynamicObject(19493, 2604.55, 1752.87, 3.30,   0.00, 0.00, -92.16);
CreateDynamicObject(19494, 2604.55, 1752.87, 3.30,   0.00, 0.00, -92.16);
CreateDynamicObject(1649, 2606.56, 1757.99, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2603.06, 1758.08, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2606.06, 1747.09, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2602.30, 1747.23, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2594.19, 1748.16, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2598.01, 1747.99, 2.61,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2598.25, 1758.91, 6.07,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2594.78, 1759.01, 6.07,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2594.11, 1748.09, 6.07,   0.00, 0.00, -2.16);
CreateDynamicObject(1649, 2597.59, 1747.98, 6.07,   0.00, 0.00, -2.16);
CreateDynamicObject(3427, 2595.66, 1787.00, 2.75,   0.00, 0.00, -182.16);
CreateDynamicObject(19445, 2600.15, 1779.72, -0.14,   0.00, 0.00, -92.16);
CreateDynamicObject(19445, 2600.24, 1783.28, -0.14,   0.00, 0.00, -92.16);
CreateDynamicObject(19445, 2600.24, 1787.00, -0.14,   0.00, 0.00, -92.16);
CreateDynamicObject(19445, 2600.36, 1790.70, -0.14,   0.00, 0.00, -92.16);
CreateDynamicObject(19445, 2600.40, 1794.17, -0.14,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2637.66, 1762.63, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2634.66, 1762.74, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2637.89, 1766.38, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2634.84, 1766.50, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2635.07, 1770.82, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2637.93, 1770.73, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2635.31, 1774.84, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2638.17, 1774.77, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2638.48, 1778.81, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19399, 2635.41, 1778.93, -0.15,   0.00, 0.00, -92.16);
CreateDynamicObject(19373, 2593.45, 1774.41, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(19373, 2593.34, 1771.22, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(19373, 2593.22, 1768.14, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(19373, 2595.45, 1768.06, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(19373, 2595.55, 1771.20, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(19373, 2595.69, 1774.34, 1.53,   0.00, 90.00, -2.16);
CreateDynamicObject(1408, 2594.72, 1775.94, 2.17,   0.00, 0.00, -182.16);
CreateDynamicObject(1408, 2597.41, 1773.25, 2.17,   0.00, 0.00, -272.70);
CreateDynamicObject(1408, 2597.25, 1769.22, 2.17,   0.00, 0.00, -271.80);
CreateDynamicObject(1408, 2594.48, 1766.54, 2.17,   0.00, 0.00, -1.20);
CreateDynamicObject(1408, 2591.74, 1769.28, 2.17,   0.00, 0.00, -91.62);
CreateDynamicObject(1408, 2591.84, 1773.43, 2.17,   0.00, 0.00, -91.62);
CreateDynamicObject(746, 2594.33, 1771.49, 1.55,   0.00, 0.00, 82.56);
CreateDynamicObject(676, 2595.90, 1774.30, 1.57,   0.00, 0.00, 0.00);
CreateDynamicObject(674, 2593.47, 1768.28, 1.43,   0.00, 0.00, 0.00);
CreateDynamicObject(869, 2594.92, 1768.95, 2.21,   0.00, 0.00, 24.78);
CreateDynamicObject(869, 2594.56, 1774.21, 2.21,   0.00, 0.00, -0.84);
CreateDynamicObject(8745, 2595.96, 1767.74, -3.00,   0.00, 0.00, 0.00);
CreateDynamicObject(8745, 2593.11, 1774.63, -3.00,   0.00, 0.00, 0.00);
//=========================== [ Дорога До ОПГ ] =======================
CreateDynamicObject(2246, 2620.74, 1803.98, 1.46,   0.00, 0.00, -1.32);
CreateDynamicObject(2246, 2621.17, 1822.89, 3.40,   10.00, 0.00, -1.00);
CreateDynamicObject(2246, 2621.54, 1841.78, 6.42,   6.00, 0.00, -1.00);
CreateDynamicObject(2246, 2621.87, 1860.55, 8.72,   6.00, 0.00, -1.00);
CreateDynamicObject(2246, 2622.21, 1879.19, 11.00,   6.00, 0.00, -1.00);
CreateDynamicObject(2246, 2622.27, 1883.26, 12.46,   12.00, 0.00, -1.00);
CreateDynamicObject(2246, 2622.28, 1882.50, 12.40,   14.00, 0.00, -0.82);

 

Спойлер

JIMNsL3.jpg

Q6iON5z.jpg

y9y6TVL.jpg

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Tony_Cannabis
      By Tony_Cannabis
      Нужна мне собственно проверка на гараж, я хочу чтобы дом N класса не имел гаража, куда только я проверку эту не сувал, но немогу понять как это работает
       
      Имеем код
      Куда мне ее засунуть просто ума не приложу, думал будет легко но понимаю что без вас не разобратся, проверку которую хотел закинуть см. ниже
      if(gHouses[houseid][houseClass] == 0) return ErrorMessage(playerid, "Недоступно для класса Вашего дома");