__NEW__ |
Дата: Четверг, 16.06.2016, 23:24 | Сообщение # 1
|
Боец
Сообщений: 57
Статус: Offline
|
Делал не я, взял еще с не открытого проекта... В OnPlayerConnect(playerid) Код RemoveBuildingForPlayer(playerid, 4077, 1781.4766, -1648.4219, 26.8359, 0.25); RemoveBuildingForPlayer(playerid, 4078, 1783.1016, -1647.3125, 23.2578, 0.25); RemoveBuildingForPlayer(playerid, 713, 1807.5156, -1625.8828, 12.7031, 0.25); RemoveBuildingForPlayer(playerid, 700, 1777.8516, -1677.1953, 14.3125, 0.25); RemoveBuildingForPlayer(playerid, 700, 1761.4609, -1651.7422, 14.3125, 0.25); RemoveBuildingForPlayer(playerid, 4028, 1781.4766, -1648.4219, 26.8359, 0.25); RemoveBuildingForPlayer(playerid, 3984, 1783.1016, -1647.3125, 23.2578, 0.25); RemoveBuildingForPlayer(playerid, 700, 1792.8047, -1640.9531, 14.3125, 0.25); В OnGameModeInit Код new Respawn[69]; Respawn[0] = CreateObject(19538, 1780.5869100, -1675.8740200, 12.3460000, 0.0000000, 0.0000000, 90.0000000); SetObjectMaterial(Respawn[0], 0, 13006, "sw_office", "ws_carparknew2", 0xFFFFFFFF); Respawn[1] = CreateDynamicObject(19464, 1754.6767600, -1674.3105500, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[2] = CreateDynamicObject(19464, 1754.6870000, -1679.3101000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[3] = CreateDynamicObject(19464, 1754.6767600, -1668.3818400, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[4] = CreateDynamicObject(19464, 1754.6770000, -1662.4520000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[5] = CreateDynamicObject(19464, 1757.7578100, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[6] = CreateDynamicObject(19464, 1763.6875000, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[7] = CreateDynamicObject(19464, 1769.6162100, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[8] = CreateDynamicObject(19464, 1775.5468800, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[9] = CreateDynamicObject(19464, 1781.4668000, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[10] = CreateDynamicObject(19464, 1787.3964800, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[11] = CreateDynamicObject(19464, 1793.3164100, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[12] = CreateDynamicObject(19464, 1799.2460900, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[13] = CreateDynamicObject(19464, 1805.1757800, -1682.1591800, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[14] = CreateDynamicObject(19464, 1808.6884800, -1682.1494100, 11.1220000, 0.0000000, 0.0000000, 90.0000000); Respawn[15] = CreateDynamicObject(19464, 1811.5310000, -1679.0670000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[16] = CreateDynamicObject(19464, 1811.5310000, -1673.1370000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[17] = CreateDynamicObject(19464, 1811.5310000, -1667.2070000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[18] = CreateDynamicObject(19464, 1811.5310000, -1661.2841000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[19] = CreateDynamicObject(19464, 1811.5310000, -1655.3540000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[20] = CreateDynamicObject(19464, 1811.5310000, -1649.4240000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[21] = CreateDynamicObject(19464, 1811.5310000, -1643.4860000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[22] = CreateDynamicObject(19464, 1811.5310000, -1637.5560000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[23] = CreateDynamicObject(19464, 1811.5310000, -1631.6260000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[24] = CreateDynamicObject(19464, 1811.5310000, -1625.6970000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[25] = CreateDynamicObject(19464, 1808.4511700, -1622.3193400, 11.1220000, 0.0000000, 0.0000000, 88.0000000); Respawn[26] = CreateDynamicObject(19464, 1811.5210000, -1625.2660000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[27] = CreateDynamicObject(19464, 1802.5371100, -1622.0918000, 11.1220000, 0.0000000, 0.0000000, 87.7000000); Respawn[28] = CreateDynamicObject(19464, 1796.6132800, -1621.8623000, 11.1220000, 0.0000000, 0.0000000, 87.9000000); Respawn[29] = CreateDynamicObject(19464, 1794.4043000, -1621.7675800, 11.1120000, 0.0000000, 0.0000000, 88.0000000); Respawn[30] = CreateDynamicObject(19464, 1788.5742200, -1621.0263700, 11.1120000, 0.0000000, 0.0000000, 77.4000000); Respawn[31] = CreateDynamicObject(19464, 1782.7841800, -1619.7089800, 11.1120000, 0.0000000, 0.0000000, 256.9000000); Respawn[32] = CreateDynamicObject(19464, 1777.0253900, -1618.3378900, 11.1120000, 0.0000000, 0.0000000, 256.3000000); Respawn[33] = CreateDynamicObject(19464, 1775.2343800, -1617.9150400, 11.1020000, 0.0000000, 0.0000000, 256.7000000); Respawn[34] = CreateDynamicObject(19464, 1769.5253900, -1616.3574200, 11.1020000, 0.0000000, 0.0000000, 252.8000000); Respawn[35] = CreateDynamicObject(19464, 1763.8603500, -1614.6377000, 11.1020000, 0.0000000, 0.0000000, 253.4000000); Respawn[36] = CreateDynamicObject(19464, 1763.1269500, -1614.4111300, 11.1220000, 0.0000000, 0.0000000, 253.4000000); Respawn[37] = CreateDynamicObject(19464, 1758.3037100, -1615.6142600, 11.1220000, 0.0000000, 0.0000000, 314.6000000); Respawn[38] = CreateDynamicObject(19464, 1756.6835900, -1617.2324200, 11.1320000, 0.0000000, 0.0000000, 314.5000000); Respawn[39] = CreateDynamicObject(19464, 1754.6071000, -1628.1230000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[40] = CreateDynamicObject(19464, 1754.6071000, -1634.0510000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[41] = CreateDynamicObject(19464, 1754.6071000, -1639.9810000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[42] = CreateDynamicObject(19464, 1754.6169000, -1645.3900000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); Respawn[43] = CreateDynamicObject(19464, 1754.6071000, -1622.1940000, 11.1220000, 0.0000000, 0.0000000, 0.0000000); for(new i = 1; i < 44; i++) SetDynamicObjectMaterial(Respawn[i], 0, 5408, "tempstuff_lae", "Grass_128HV", 0xFFFFFFFF); Respawn[44] = CreateDynamicObject(19463, 1803.2539100, -1680.4843700, 12.2960000, 0.0000000, 90.0000000, 90.0000000); Respawn[45] = CreateDynamicObject(19463, 1793.6533200, -1680.4843700, 12.2960000, 0.0000000, 90.0000000, 90.0000000); Respawn[46] = CreateDynamicObject(19463, 1784.0244100, -1680.4843700, 12.2960000, 0.0000000, 90.0000000, 90.0000000); Respawn[47] = CreateDynamicObject(19463, 1774.4043000, -1680.4843700, 12.2960000, 0.0000000, 90.0000000, 90.0000000); Respawn[48] = CreateDynamicObject(19463, 1764.7841800, -1680.4843700, 12.2960000, 0.0000000, 90.0000000, 90.0000000); Respawn[49] = CreateDynamicObject(19463, 1759.4941400, -1680.4843700, 12.2860000, 0.0000000, 90.0000000, 90.0000000); Respawn[50] = CreateDynamicObject(19463, 1758.3818400, -1616.7822300, 12.2960000, 0.0000000, 90.0000000, 137.9990000); Respawn[51] = CreateDynamicObject(19463, 1803.3320300, -1623.9101600, 12.2960000, 0.0000000, 90.0000000, 86.8000000); Respawn[52] = CreateDynamicObject(19463, 1796.1689500, -1623.6084000, 12.2860000, 0.0000000, 90.0000000, 87.5000000); Respawn[53] = CreateDynamicObject(19463, 1786.9404300, -1622.4111300, 12.2960000, 0.0000000, 90.0000000, 77.3000000); Respawn[54] = CreateDynamicObject(19463, 1777.5859400, -1620.2480500, 12.2960000, 0.0000000, 90.0000000, 76.7000000); Respawn[55] = CreateDynamicObject(19463, 1768.3525400, -1617.8242200, 12.3060000, 0.0000000, 90.0000000, 73.9000000); Respawn[56] = CreateDynamicObject(19463, 1761.3076200, -1615.8418000, 12.2860000, 0.0000000, 90.0000000, 76.0000000); Respawn[57] = CreateDynamicObject(19463, 1809.8056600, -1650.4013700, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[58] = CreateDynamicObject(19463, 1809.8056600, -1660.0312500, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[59] = CreateDynamicObject(19463, 1809.8056600, -1669.6621100, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[60] = CreateDynamicObject(19463, 1809.8056600, -1679.2832000, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[61] = CreateDynamicObject(19463, 1756.4228500, -1673.9345700, 12.2860000, 0.0000000, 90.0000000, 0.0000000); Respawn[62] = CreateDynamicObject(19463, 1756.4228500, -1664.3037100, 12.2860000, 0.0000000, 90.0000000, 0.0000000); Respawn[63] = CreateDynamicObject(19463, 1809.8056600, -1640.7822300, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[64] = CreateDynamicObject(19463, 1809.8056600, -1631.1630900, 12.2960000, 0.0000000, 90.0000000, 0.0000000); Respawn[65] = CreateDynamicObject(19463, 1809.8056600, -1627.2148400, 12.2860000, 0.0000000, 90.0000000, 0.0000000); Respawn[66] = CreateDynamicObject(19463, 1756.4228500, -1643.5439500, 12.2860000, 0.0000000, 90.0000000, 0.0000000); Respawn[67] = CreateDynamicObject(19463, 1756.4228500, -1633.9228500, 12.2860000, 0.0000000, 90.0000000, 0.0000000); Respawn[68] = CreateDynamicObject(19463, 1756.4228500, -1624.3027300, 12.2860000, 0.0000000, 90.0000000, 0.0000000); for(new i = 44; i < 69; i++) SetDynamicObjectMaterial(Respawn[i], 0, 5412, "glenpark1x_lae", "sjmscorclawn", 0xFFFFFFFF); CreateDynamicObject(19463, 1758.1630000, -1643.5540000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1758.1630000, -1633.9420000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1758.1630000, -1624.3730000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1764.9541000, -1618.6816400, 10.7060000, 0.0000000, 0.0000000, 75.0000000); CreateDynamicObject(19463, 1774.2334000, -1621.1787100, 10.7060000, 0.0000000, 0.0000000, 75.0000000); CreateDynamicObject(19463, 1758.1630000, -1664.3040000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1758.1630000, -1673.9041000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1762.8925800, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1772.5019500, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.1210900, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1791.7299800, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1801.3603500, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1807.9910000, -1673.9160000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1807.9910000, -1664.3060000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1807.9910000, -1654.6760000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1807.9910000, -1645.0439000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1807.9910000, -1635.4240000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1807.9910000, -1630.6610000, 10.7060000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(19463, 1803.2627000, -1678.6845700, 10.7060000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1803.2509800, -1625.7294900, 10.7060000, 0.0000000, 0.0000000, 87.4000000); CreateDynamicObject(19463, 1796.1494100, -1625.4306600, 10.7060000, 0.0000000, 0.0000000, 87.6800000); CreateDynamicObject(19463, 1783.5869100, -1623.4619100, 10.7060000, 0.0000000, 0.0000000, 77.6000000); CreateDynamicObject(19463, 1786.6962900, -1624.1738300, 10.7060000, 0.0000000, 0.0000000, 77.2000000); CreateDynamicObject(19463, 1758.4824200, -1648.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1644.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1663.5722700, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1659.5722700, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1640.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1636.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1632.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1628.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1624.2744100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1667.5722700, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1671.5722700, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1758.4824200, -1675.5722700, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1628.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1632.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1636.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1640.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1644.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1648.5439500, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1676.2539100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1672.2539100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1668.2539100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1664.2539100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19463, 1782.0527300, -1660.2539100, 10.6160000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19371, 1756.4755900, -1648.2753900, 10.7000000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19371, 1756.5654300, -1659.5664100, 10.7000000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(19371, 1759.2646500, -1618.4931600, 10.7000000, 0.0000000, 0.0000000, 135.0000000); CreateDynamicObject(6134, 1795.4736300, -1649.6923800, 16.3590000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(1294, 1753.5090000, -1648.3490000, 17.0360000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1294, 1753.5090000, -1659.6000000, 17.0360000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1756.4310000, -1680.4800000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1756.4310000, -1669.3390000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1756.4310000, -1637.8190000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1758.3230000, -1617.6500000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1768.5220000, -1617.6050000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1780.1530000, -1621.0500000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1792.1600000, -1623.1550000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1809.7880000, -1623.8210000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1809.6025400, -1639.0400400, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1809.4080000, -1654.9790000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1809.2280000, -1669.6960000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1809.0980000, -1680.3860000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1799.0771500, -1680.2636700, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1785.8984400, -1680.1025400, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(781, 1772.7000000, -1679.9420000, 12.3440000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1280, 1803.9960900, -1626.3261700, 12.7240000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(1300, 1807.2570000, -1626.5081000, 12.6660000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1280, 1807.2170000, -1630.8450000, 12.7240000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1300, 1807.2568400, -1635.3007800, 12.6660000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(1280, 1807.2170000, -1640.2770000, 12.7240000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1280, 1807.2170000, -1666.0590000, 12.7240000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1300, 1807.2568400, -1669.5703100, 12.6660000, 0.0000000, 0.0000000, 90.0000000); CreateDynamicObject(1280, 1807.2170000, -1673.3879000, 12.7240000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1300, 1807.2570000, -1678.0900000, 12.6660000, 0.0000000, 0.0000000, 0.0000000); CreateDynamicObject(1280, 1803.5585900, -1678.1181600, 12.7240000, 0.0000000, 0.0000000, 270.0000000); CreateDynamicObject(1257, 1757.2773400, -1686.2275400, 13.7617000, 0.0000000, 0.0000000, 0.0000000); Возможно с цветами не про угадал с того сервера, но так выглядит нормально
Сообщение отредактировал __NEW__ - Четверг, 16.06.2016, 23:27 |
|
|
|