Доступ к готовым решениям

Переход в группу "Пользователь"

300.00 ₽
Одноразовый платёж
Быстрый переход в группу "Пользователи", без надобности написания постов и ожидания.

Покупка дает возможность:
Быть полноправным участником форума
Нормальное копирование кода
Создавать темы
Скачивать файлы
Доступ к архиву Pawno-Info
  • Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.

MAP Новогодняя площадка+фура кока-колы у мэрии

EaLighT

Умник
Халло всем!
Решил сделать для вас красивую новогоднюю площадку у мэрии!
В неё входит:
1. Домик Санты
2. Танцпол
3. Фура Кока-колы
4. Ёлка

Собственно код:
Ко всем new:
PHP:
new ealightobj, ealightfura, ealighttext[6];
В public OnGameModeInit:
PHP:
	ealightfura = AddStaticVehicleEx(403,1476.2089844,-1705.8850098,14.6470003,212.2481689,3,3,15); //Linerunner
	SetVehicleParamsEx(ealightfura, -1, -1, -1, 1, -1, -1, -1);
	ealightobj = CreateDynamicObject(4186,1479.445,-1693.050,19.578,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
	SetDynamicObjectMaterial(ealightobj, 0, 2702, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 1, 16322, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 3, 16322, "a51_stores", "wtmetal3", 0);
	ealightobj = CreateDynamicObject(3985,1479.562,-1631.453,12.078,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
	SetDynamicObjectMaterial(ealightobj, 0, 16322, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 1, 16322, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 3, 16322, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 4, 16322, "a51_stores", "wtmetal3", 0);
	ealightobj = CreateDynamicObject(3569,1469.852,-1695.303,15.409,0.000,0.000,211.250,-1,-1,-1,300.000,300.000);
	SetDynamicObjectMaterial(ealightobj, 0, 1975, "texttest", "kb_red", 0);
	SetDynamicObjectMaterial(ealightobj, 3, 1975, "texttest", "kb_red", 0);
	SetDynamicObjectMaterial(ealightobj, 4, 1975, "texttest", "kb_red", 0);
	ealightobj = CreateDynamicObject(3583,1482.603,-1687.189,15.968,0.000,0.000,182.000,-1,-1,-1,300.000,300.000);
	SetDynamicObjectMaterial(ealightobj, 0, 16322, "a51_stores", "wtmetal3", 0);
	SetDynamicObjectMaterial(ealightobj, 3, 1975, "texttest", "kb_red", 0);
	SetDynamicObjectMaterial(ealightobj, 4, 1975, "texttest", "kb_red", 0);
	SetDynamicObjectMaterial(ealightobj, 6, 10412, "hotel1", "carpet_red_256", 0);
	SetDynamicObjectMaterial(ealightobj, 7, 10412, "hotel1", "carpet_red_256", 0);
	SetDynamicObjectMaterial(ealightobj, 8, 10412, "hotel1", "carpet_red_256", 0);
	CreateDynamicObject(19076,1480.463,-1700.357,12.972,0.000,0.000,355.250,-1,-1,-1,300.000,300.000);
	CreateDynamicObject(19058,1482.994,-1702.066,13.703,0.000,0.000,32.000,-1,-1,-1,300.000,300.000);
	CreateDynamicObject(19057,1481.746,-1703.083,13.703,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
	CreateDynamicObject(19056,1482.552,-1703.220,14.949,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
	CreateDynamicObject(19129,1478.753,-1705.121,13.034,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
	CreateDynamicObject(970,1473.1979980,-1704.2099609,13.6560001,0.0000000,0.0000000,301.5000000);
	CreateDynamicObject(970,1475.3420410,-1707.7259521,13.6560001,0.0000000,0.0000000,301.4978027);
	CreateDynamicObject(970,1478.4040527,-1706.5909424,13.6560001,0.0000000,0.0000000,302.2478027);
	CreateDynamicObject(970,1476.1700439,-1703.0930176,13.6560001,0.0000000,0.0000000,302.2448730);
	ealighttext[0] = CreateObject(19353, 1465.3319, -1687.7995, 16.1541, -20.4000, 0.0000, 119.2576);
	SetObjectMaterialText(ealighttext[0], "by EaLighT", 0, 140, "Arial", 50, 0, -1, 0, 1);
	ealighttext[1] = CreateObject(19479, 1473.1715, -1697.5898, 16.9067, 0.0000, 0.0000, 31.2265);
	SetObjectMaterialText(ealighttext[1], "Coca", 0, 140, "Arial", 120, 0, -1, 0, 1);
	ealighttext[2] = CreateObject(19479, 1470.9852, -1694.0118, 15.6695, 0.2999, 0.3999, 31.0554);
	SetObjectMaterialText(ealighttext[2], "Cola", 0, 140, "Arial", 120, 0, -1, 0, 1);
	ealighttext[3] = CreateObject(19353, 1484.1865, -1692.7253, 18.1343, 0.0000, 0.0000, -87.0057);
	SetObjectMaterialText(ealighttext[3], "CAHTA", 0, 50, "Arial", 24, 0, -1, 0, 1);
	ealighttext[4] = CreateObject(19479, 1467.0780, -1694.0618, 16.9670, -0.3000, 0.0000, -149.0350);
	SetObjectMaterialText(ealighttext[4], "Coca", 0, 140, "Arial", 120, 0, -1, 0, 1);
	ealighttext[5] = CreateObject(19479, 1470.1109, -1699.0679, 15.7073, 0.0000, 0.4000, -148.9817);
	SetObjectMaterialText(ealighttext[5], "Cola", 0, 140, "Arial", 120, 0, -1, 0, 1);
В public OnPlayerConnect
PHP:
	RemoveBuildingForPlayer(playerid, 4057, 1479.554, -1693.140, 19.578, 0.250);
	RemoveBuildingForPlayer(playerid, 4210, 1479.562, -1631.453, 12.078, 0.250);
	RemoveBuildingForPlayer(playerid, 713, 1496.867, -1707.820, 13.406, 0.250);
	RemoveBuildingForPlayer(playerid, 1231, 1479.695, -1716.703, 15.625, 0.250);
	RemoveBuildingForPlayer(playerid, 673, 1457.726, -1710.062, 12.398, 0.250);
	RemoveBuildingForPlayer(playerid, 620, 1461.656, -1707.687, 11.835, 0.250);
	RemoveBuildingForPlayer(playerid, 700, 1463.062, -1701.570, 13.726, 0.250);
	RemoveBuildingForPlayer(playerid, 1231, 1479.695, -1702.531, 15.625, 0.250);
	RemoveBuildingForPlayer(playerid, 673, 1457.554, -1697.289, 12.398, 0.250);
	RemoveBuildingForPlayer(playerid, 1231, 1479.382, -1692.390, 15.632, 0.250);
	RemoveBuildingForPlayer(playerid, 4186, 1479.554, -1693.140, 19.578, 0.250);
	RemoveBuildingForPlayer(playerid, 620, 1461.125, -1687.562, 11.835, 0.250);
	RemoveBuildingForPlayer(playerid, 700, 1463.062, -1690.648, 13.726, 0.250);
	RemoveBuildingForPlayer(playerid, 641, 1458.617, -1684.132, 11.101, 0.250);
	RemoveBuildingForPlayer(playerid, 712, 1471.406, -1666.179, 22.257, 0.250);
	RemoveBuildingForPlayer(playerid, 1231, 1479.382, -1682.312, 15.632, 0.250);
	RemoveBuildingForPlayer(playerid, 3985, 1479.562, -1631.453, 12.078, 0.250);
	RemoveBuildingForPlayer(playerid, 700, 1494.210, -1694.437, 13.726, 0.250);
	RemoveBuildingForPlayer(playerid, 620, 1496.976, -1686.851, 11.835, 0.250);
	RemoveBuildingForPlayer(playerid, 641, 1494.140, -1689.234, 11.101, 0.250);
	RemoveBuildingForPlayer(playerid, 712, 1480.609, -1666.179, 22.257, 0.250);
	RemoveBuildingForPlayer(playerid, 712, 1488.226, -1666.179, 22.257, 0.250);
	RemoveBuildingForPlayer(playerid, 673, 1498.960, -1684.609, 12.398, 0.250);

Скриншоты:







У кого не грузит:
 
Последнее редактирование:
Сверху Снизу