26.11.2016, 16:44
Ola galera, Hoje eu tentei Texturizar uns objetos e nгo funciono...
Код:
new MaterialLS[24]; MaterialLS[0] = CreateDynamicObject(1649, 1286.38794, -1655.26306, 13.39800, 0.00000, 0.00000, 270.00000); MaterialLS[1] = CreateDynamicObject(1649, 1286.39160, -1659.68665, 13.40870, 0.00000, 0.00000, 90.00000); MaterialLS[2] = CreateDynamicObject(1649, 1286.38367, -1659.68726, 16.62570, 0.00000, 0.00000, 270.00000); MaterialLS[3] = CreateDynamicObject(1649, 1286.38367, -1659.68726, 19.94580, 0.00000, 0.00000, 270.00000); MaterialLS[4] = CreateDynamicObject(1649, 1286.38367, -1659.68726, 13.30870, 0.00000, 0.00000, 270.00000); MaterialLS[5] = CreateDynamicObject(1649, 1286.39160, -1659.68665, 16.72660, 0.00000, 0.00000, 90.00000); MaterialLS[6] = CreateDynamicObject(1649, 1286.39160, -1659.68665, 20.04610, 0.00000, 0.00000, 90.00000); MaterialLS[7] = CreateDynamicObject(1649, 1286.40686, -1655.28149, 13.40870, 0.00000, 0.00000, 90.00000); MaterialLS[8] = CreateDynamicObject(1649, 1286.40686, -1655.28149, 16.71609, 0.00000, 0.00000, 90.00000); MaterialLS[9] = CreateDynamicObject(1649, 1286.40686, -1655.28149, 19.99061, 0.00000, 0.00000, 90.00000); MaterialLS[10] = CreateDynamicObject(1649, 1286.38794, -1655.26306, 16.67500, 0.00000, 0.00000, 270.00000); MaterialLS[11] = CreateDynamicObject(1649, 1286.38794, -1655.26306, 19.99700, 0.00000, 0.00000, 270.00000); MaterialLS[12] = CreateDynamicObject(1649, 1286.40686, -1650.84155, 16.73610, 0.00000, 0.00000, 90.00000); MaterialLS[13] = CreateDynamicObject(1649, 1286.40686, -1650.84155, 19.96465, 0.00000, 0.00000, 90.00000); MaterialLS[14] = CreateDynamicObject(1649, 1286.38794, -1650.84314, 16.71500, 0.00000, 0.00000, 270.00000); MaterialLS[15] = CreateDynamicObject(1649, 1286.38794, -1650.84314, 19.96004, 0.00000, 0.00000, 270.00000); MaterialLS[16] = CreateDynamicObject(1649, 1286.38794, -1647.90308, 13.41730, 0.00000, 0.00000, 270.00000); MaterialLS[17] = CreateDynamicObject(1649, 1286.40686, -1646.48157, 16.71610, 0.00000, 0.00000, 90.00000); MaterialLS[18] = CreateDynamicObject(1649, 1286.40686, -1646.48157, 19.98910, 0.00000, 0.00000, 90.00000); MaterialLS[19] = CreateDynamicObject(1649, 1286.40686, -1647.90149, 13.40870, 0.00000, 0.00000, 90.00000); MaterialLS[20] = CreateDynamicObject(1649, 1286.38794, -1646.42310, 16.73500, 0.00000, 0.00000, 270.00000); MaterialLS[21] = CreateDynamicObject(1649, 1286.38794, -1646.42310, 20.03450, 0.00000, 0.00000, 270.00000); MaterialLS[22] = CreateDynamicObject(1649, 1286.38794, -1643.50305, 13.41730, 0.00000, 0.00000, 270.00000); MaterialLS[23] = CreateDynamicObject(1649, 1286.40686, -1643.48145, 13.40870, 0.00000, 0.00000, 90.00000); for(new i; i < sizeof(MaterialLS); i++) { SetObjectMaterial(MaterialLS[i], 0, 3922, "bistro", "StainedGlass", 0xFFFFFFFF); }