06.01.2011, 11:27
pawn Код:
new gMapsID[25][1] =
{
{1946},
{16271},
{420},
{420},
{14560},
{3031},
{2287},
{2112},
{2112},
{2112},
{2112},
{1768},
{1766},
{14820},
{1429},
{2112},
{2168},
{2168},
{2168},
{2168},
{2187},
{2168},
{2168},
{2168},
{2168}
};
pawn Код:
new Float:gMaps[25][6] =
{
{2491.099365,-1683.394409,12.542631,0.000000,0.000000,0.000000},
{1904.390991,-2278.352294,26.715740,0.000000,0.000000,0.000000},
{1806.722656,-1923.280761,13.240963,0.000000,0.000000,0.000000},
{1806.951538,-1912.070068,13.420684,0.000000,0.000000,0.000000},
{1779.069335,-1922.968505,16.876194,0.000000,0.000000,0.000000},
{1780.131835,-1915.404296,13.993168,0.000000,0.000000,0.000000},
{1755.295166,-1943.301269,12.570794,0.000000,0.000000,0.000000},
{1790.232910,-1923.936279,12.782875,0.000000,0.000000,0.000000},
{1795.451293,-1924.293457,12.782699,0.000000,0.000000,0.000000},
{1795.832885,-1916.971679,12.786275,0.000000,0.000000,0.000000},
{1791.435791,-1917.935546,12.785804,0.000000,0.000000,0.000000},
{1785.851440,-1908.762817,12.393603,0.000000,0.000000,0.000000},
{1789.010742,-1908.825805,12.395917,0.000000,0.000000,0.000000},
{1795.945556,-1909.316162,12.507512,0.000000,0.000000,0.000000},
{1794.546875,-1912.423583,13.518214,0.000000,0.000000,0.000000},
{1794.570678,-1912.099731,12.788654,0.000000,0.000000,0.000000},
{1798.652465,-1916.429443,12.394310,0.000000,0.000000,0.000000},
{1798.644775,-1917.612304,12.393733,0.000000,0.000000,0.000000},
{1798.662109,-1918.786499,12.393159,0.000000,0.000000,0.000000},
{1798.631591,-1919.980957,12.392576,0.000000,0.000000,0.000000},
{1798.717773,-1921.121093,12.392019,0.000000,0.000000,0.000000},
{1798.320190,-1924.945312,13.644304,0.000000,0.000000,0.000000},
{1798.801513,-1923.415527,12.390898,0.000000,0.000000,0.000000},
{1798.800781,-1924.579833,12.390330,0.000000,0.000000,0.000000},
{1798.754882,-1925.444580,12.389907,0.000000,0.000000,0.000000}
};
pawn Код:
for(new i = 0; i < sizeof(gMapsID); i++)
{
CreateObject(gMapsID[i][0],gMaps[i][0],gMaps[i][1],gMaps[i][2],gMaps[i][3],gMaps[i][4],gMaps[i][5], 250);
}