Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum CHO { Float:radius, model, lodmodel, Float:posx, Float:posy, Float:posz, Float:rx, Float:ry, Float:rz }
- new ChilliadObject[][CHO] = {
- {171.82286, 18319, 18585, -2239.6406, -1762.7266, 381.95313, 0.0, 0.0, 0.0},
- {133.94284, 18310, 18570, -2249.3594, -1572.8672, 418.76563, 0.0, 0.0, 0.0},
- {192.56535, 18309, 18399, -2426.9375, -1530.4531, 440.96875, 0.0, 0.0, 0.0},
- {198.2549, 18317, 18571, -2431.6797, -1759.6641, 403.86719, 0.0, 0.0, 0.0},
- {145.884, 18307, 18580, -2624.3047, -1562.8828, 353.45313, 0.0, 0.0, 0.0},
- {186.48999, 18302, 18578, -2426.5, -1347.3125, 300.80469, 0.0, 0.0, 0.0},
- {213.80518, 18316, 18581, -2655.2812, -1781.0078, 265.14063, 0.0, 0.0, 0.0},
- {146.00269, 18308, 18582, -2724.3203, -1555.9609, 222.89063, 0.0, 0.0, 0.0},
- {180.84946, 18306, 18594, -2874.2812, -1547.9766, 41.125, 0.0, 0.0, 0.0},
- {181.54652, 18300, 18593, -2872.8437, -1321.2812, 42.38281, 0.0, 0.0, 0.0},
- {177.65182, 18469, 18583, -2700.2812, -1345.7969, 213.46094, 0.0, 0.0, 0.0},
- {163.05664, 18301, 18579, -2583.4297, -1343.4531, 270.84375, 0.0, 0.0, 0.0},
- {159.12022, 18311, 18575, -2145.1953, -1576.7187, 259.64844, 0.0, 0.0, 0.0},
- {189.03941, 18318, 18574, -2181.4687, -1774.8125, 217.39844, 0.0, 0.0, 0.0},
- {167.61906, 18328, 18573, -2237.0000, -1951.5234, 297.5625, 0.0, 0.0, 0.0},
- {184.84959, 18329, 18600, -2233.2031, -1980.7812, 153.67969, 0.0, 0.0, 0.0},
- {186.30592, 18320, 18599, -1970.7109, -1785.9844, 107.98438, 0.0, 0.0, 0.0},
- {183.82045, 18312, 18598, -1985.5078, -1562.5078, 84.46875, 0.0, 0.0, 0.0},
- {150.30363, 18305, 18586, -1980.375, -1330.4922, 74.85156, 0.0, 0.0, 0.0},
- {176.05472, 18304, 18577, -2182.2266, -1358.7109, 135.24219, 0.0, 0.0, 0.0},
- {185.88399, 18299, 18587, -2186.75, -1147.7344, 108.15625, 0.0, 0.0, 0.0},
- {150.10739, 18295, 18588, -2291.7812, -993.40625, 63.57813, 0.0, 0.0, 0.0},
- {142.19221, 18294, 18589, -2492.4297, -943.60156, 54.49219, 0.0, 0.0, 0.0},
- {152.17165, 18298, 18584, -2421.1562, -1134.0937, 168.78125, 0.0, 0.0, 0.0},
- {200.95982, 18297, 18590, -2646.3516, -1116.9297, 111.75781, 0.0, 0.0, 0.0},
- {141.34471, 18296, 18592, -2870.9844, -1117.6484, 24.63281, 0.0, 0.0, 0.0},
- {175.93555, 18315, 18595, -2872.4453, -1765.0000, 48.10938, 0.0, 0.0, 0.0},
- {164.99448, 18324, 18602, -2871.5469, -1975.625, 35.42969, 0.0, 0.0, 0.0},
- {195.7074, 18325, 18597, -2656.6797, -1992.9531, 80.17188, 0.0, 0.0, 0.0},
- {185.31372, 18335, 18601, -2643.4219, -2197.5391, 45.84375, 0.0, 0.0, 0.0},
- {177.76416, 18336, 18603, -2426.3594, -2217.1875, 67.05469, 0.0, 0.0, 0.0},
- {141.69708, 18337, 18494, -2217.6484, -2172.4531, 64.98438, 0.0, 0.0, 0.0},
- {179.37691, 18330, 18404, -2010.9766, -1981.1719, 103.24219, 0.0, 0.0, 0.0},
- {192.04485, 18326, 18596, -2444.5, -1991.6719, 198.69531, 0.0, 0.0, 0.0},
- {146.02296, 18327, 18572, -2438.4375, -1949.0547, 310.91406, 0.0, 0.0, 0.0},
- {181.70287, 18303, 18576, -2221.8359, -1367.7969, 300.46094, 0.0, 0.0, 0.0}
- };
- public OnFilterScriptInit() {
- SetDynamicObjectMaterialText(CreateDynamicObject(3334, -2432.28394, -1619.69836, 529.01434, 0.00000, 0.00000, 31.14679, 0, 0, -1, 500.0, 500.0), 0, "Készítette:\nPedró és CasHiis", 50, "Arial", 14, 1, -8092540, -16777216, 1);
- SetDynamicObjectMaterialText(CreateDynamicObject(3334, -2239.65869, -1749.54541, 483.33408, 0.00000, 0.00000, 97.14301, 0, 0, -1, 500.0, 500.0), 0, "Boldog karácsonyt\nMindenkinek!", 50, "Arial", 12, 1, -8092540, -16777216, 1);
- new objectid[2];
- for(new x; x < sizeof(ChilliadObject); x++) {
- objectid[0] = CreateDynamicObject(ChilliadObject[x][model], ChilliadObject[x][posx], ChilliadObject[x][posy], ChilliadObject[x][posz], ChilliadObject[x][rx], ChilliadObject[x][ry], ChilliadObject[x][rz], 0, 0, -1, 500.0, 500.0);
- objectid[1] = CreateDynamicObject(ChilliadObject[x][lodmodel], ChilliadObject[x][posx], ChilliadObject[x][posy], ChilliadObject[x][posz], ChilliadObject[x][rx], ChilliadObject[x][ry], ChilliadObject[x][rz], 0, 0, -1, 500.0, 500.0);
- for(new y; y < 5; y++) {
- for(new z; z < 2; z++) SetDynamicObjectMaterial(objectid[z], y, 3922, "bistro", "mp_snow", 0xFFFFFFFF);
- }
- }
- return 1;
- }
- public OnPlayerConnect(playerid) {
- for(new x; x < sizeof(ChilliadObject); x++) {
- RemoveBuildingForPlayer(playerid, ChilliadObject[x][model], ChilliadObject[x][posx], ChilliadObject[x][posy], ChilliadObject[x][posz], 100.0);
- RemoveBuildingForPlayer(playerid, ChilliadObject[x][lodmodel], ChilliadObject[x][posx], ChilliadObject[x][posy], ChilliadObject[x][posz], 100.0);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement