24.07.2013, 07:11
pawn Код:
for(new s=0; s<107; s++) {
Cellobj[s] = CreateDynamicObject(10558,404.0000000,143.3999900,894.0999800,0.7305900,0.0000000,170.9802200); //
Cellobj[s] = CreateDynamicObject(10558,407.7798200,142.6992200,893.9000200,0.7305900,0.0000000,91.4776600); //
Cellobj[s] = CreateDynamicObject(10558,412.0696100,143.3994100,894.0000000,0.7141100,0.0000000,182.4774200); //
Cellobj[s] = CreateDynamicObject(10558,407.8999900,141.3000000,892.4000200,0.1272300,90.7393200,93.7460300); //
Cellobj[s] = CreateDynamicObject(10558,265.6000100,44.5000000,916.5999800,0.0000000,180.2417000,269.7418200); //
Cellobj[s] = CreateDynamicObject(10558,257.0000000,44.5000000,916.0000000,0.0000000,180.2417000,269.7418200); //
Cellobj[s] = CreateDynamicObject(10558,260.1000100,52.1000000,916.2000100,0.0000000,180.2417000,269.7418200); //
Cellobj[s] = CreateDynamicObject(10558,265.7000100,52.1000000,916.5000000,0.0000000,180.2417000,269.7418200); //
Cellobj[8] = CreateDynamicObject(10558,269.6000100,47.7000000,913.7999900,0.0000000,180.2417000,359.9918200); //
Cellobj[9] = CreateDynamicObject(10558,269.8999900,40.4800000,917.9000200,0.0000000,180.2417000,0.4890100); //
Cellobj[s] = CreateDynamicObject(10558,269.6616500,51.5996100,917.9000200,0.0000000,180.2417000,359.4835200); //
Cellobj[s] = CreateDynamicObject(10558,269.6396500,40.4755900,917.9000200,0.0000000,180.2417000,0.4888900); //
Cellobj[s] = CreateDynamicObject(10558,269.8999900,45.3000000,919.8060300,0.0000000,180.2417000,0.4888900); //
Cellobj[s] = CreateDynamicObject(10558,421.0000000,135.3999900,888.7000100,0.7360500,0.5000900,92.9767500); //
Cellobj[s] = CreateDynamicObject(10558,417.8999900,135.3999900,892.7000100,0.7305900,0.4998800,90.2218000); //
Cellobj[s] = CreateDynamicObject(10558,423.6000100,135.3000000,892.7000100,0.7305900,0.4998800,91.7218000); //
Cellobj[s] = CreateDynamicObject(10558,367.3999900,215.0000000,881.0999800,0.7305900,0.0000000,180.4802200); //
Cellobj[s] = CreateDynamicObject(10558,367.3999900,219.5000000,881.0999800,0.7251000,0.0000000,179.9779100); //
Cellobj[s] = CreateDynamicObject(10558,455.5199900,234.3000000,881.4000200,0.7141100,0.0000000,180.4754600); //
Cellobj[s] = CreateDynamicObject(10558,455.6000100,235.5000000,882.7999900,0.7086200,0.0000000,180.2253400); //
Cellobj[s] = CreateDynamicObject(10558,455.5496200,226.8994100,881.7999900,0.7086200,0.0000000,179.9722900); //
Cellobj[s] = CreateDynamicObject(10558,449.0000000,218.6000100,882.0000000,0.0416300,180.2501700,269.9668300); //
Cellobj[s] = CreateDynamicObject(10558,449.0000000,218.6000100,879.9000200,358.9615800,359.7527800,89.9572800); //
Cellobj[s] = CreateDynamicObject(10558,310.3999900,55.2000000,913.2999900,0.0000000,270.7470700,89.9945100); //
Cellobj[s] = CreateDynamicObject(10558,274.5996100,40.8994100,913.2000100,0.0000000,270.7470700,89.7473100); //
Cellobj[s] = CreateDynamicObject(10558,274.6000100,51.4000000,913.2000100,0.0000000,270.7470700,89.9973100); //
Cellobj[s] = CreateDynamicObject(10558,273.8593800,38.4980500,915.0999800,0.0000000,180.2471800,359.9945400); //
Cellobj[s] = CreateDynamicObject(10558,283.3999900,40.9000000,913.2000100,0.0000000,270.7499400,90.2500000); //
Cellobj[s] = CreateDynamicObject(10558,277.6300400,38.4990000,915.0999800,0.0000000,180.2471900,359.9945100); //
Cellobj[s] = CreateDynamicObject(10558,281.3996300,38.4990000,915.0999800,0.0000000,180.2498200,359.9973100); //
Cellobj[s] = CreateDynamicObject(10558,285.1499900,38.4990000,915.0999800,0.0000000,180.2498200,359.9973100); //
.
.
.
resume it with this style
}
and for Example:
SetObjectMaterial(Cellobj[s], 0, 19341, "egg_texts", "easter_egg01", 0xFFFFFFFF);