error 001: expected token: ";", but found "new"
#1

pawn Код:
new Float:gBallaSP[5][4] = { //line 386
{1700.44, -1514.54, 13.38},//Spawn1
{1706.92, -1527.90, 13.55},//Spawn2
{1693.10, -1491.20, 13.55},//Spawn3
{1695.63, -1548.36, 13.38}//Spawn4
};
and the error:
pawn Код:
C:\Documents and Settings\R3dZerg\Desktop\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\original samp server mod\gamemodes\gangwars4bykawasaki.pwn(386) : error 001: expected token: ";", but found "new"
Reply
#2

Show the lines above line 386 (380-385)
Reply
#3

pawn Код:
new Float:gGroveSP[5][4] = {
{2519.2893, -1678.6359, 14.6777,    57.8480},//Spawn1 //Line 380
{2495.1663, -1687.7219, 13.5156,    5.8342},//Spawn2
{2486.7285, -1647.9874, 14.0703,    181.6159},//Spawn3
{2459.4380, -1689.9401, 13.5448,    358.9641},//Spawn4
{2495.63, -1671.45, 13.34} //Spawn5
} //Line 385
Reply
#4

You forgot a ; at the end

pawn Код:
new Float:gGroveSP[5][4] = {
{2519.2893, -1678.6359, 14.6777,    57.8480},//Spawn1 //Line 380
{2495.1663, -1687.7219, 13.5156,    5.8342},//Spawn2
{2486.7285, -1647.9874, 14.0703,    181.6159},//Spawn3
{2459.4380, -1689.9401, 13.5448,    358.9641},//Spawn4
{2495.63, -1671.45, 13.34} //Spawn5
}; //<== This ; was added
Reply
#5

Now i got
pawn Код:
C:\Documents and Settings\R3dZerg\Desktop\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\[B-U-L-G-E-R-I-A-N [G-T-A] [S-E-R-V-E-R]\original samp server mod\gamemodes\gangwars4bykawasaki.pwn(391) : error 052: multi-dimensional arrays must be fully initialized
Reply
#6

Try again, edited my post.
Reply
#7

I eddited too
Reply
#8

-removed
Reply
#9

from 392 to 513
(there i have the same errors like my topic's name)
pawn Код:
new Float:gVagosSP[5][4] = {
{2000.1486, -1115.4435, 27.1318, 182.7438},//Spawn1
{1991.5902, -1112.4312, 32.3125, 216.5842},//Spawn2
{2002.3239, -1107.8307, 34.1563, 170.5564},//Spawn3
{2019.0160, -1120.9814, 26.2031, 106.2991},//Spawn4
{2001.32, -1123.06, 26.61} //Spawn5
}
new Float:gAztecaSP[5][4] = {
{1125.7356, -2037.4923, 69.8801,    268.9949},//Spawn1
{1117.8816, -2037.0114, 78.7500,    262.6394},//Spawn2
{1179.1478, -2036.9592, 69.0078,    267.7978},//Spawn3
{1236.6852, -2005.1129, 59.8516,    268.4807},//Spawn4
{1237.0333, -2068.4148, 59.8516,    269.4207},//Spawn5
{1236.6835 6.41, -2035.9669.01} //Spawn6
}
new Float:gYakuzSP[5][4] = {
{690.3971-1275.8457, 13.5599,    93.7870},//Spawn1
{732.9183-1276.2856, 13.5663,    269.6902},//Spawn2
{691.0696-1308.2473, 13.6287,    54.8170},//Spawn3
{691.3583-1248.2926, 13.6443,    278.4169},//Spawn4
{692.3583, 664.81, -1276.11,    13.46} //Spawn5
}
new Float:gCripzSP[3][4] = {
{299.3948-1155.2202, 80.9099,    131.8964},//Spawn1
{284.2379-1157.2972, 80.9141,    218.3304},//Spawn2
{324.7564-1149.1650, 81.5934,    222.9281},//Spawn3
{292.45, -1168.96, 80.91} //Spawn4
}
new Float:CivilSP[5][4] = {
{1481.2080, -1770.6204, 18.7958,    359.4039},//Spawn1
{1726.8781, -1635.3413, 20.2166,    1.4323},//Spawn2
{2226.6506, -1183.2036, 35.1257,    8.7859},//Spawn3
{394.0295-2054.7871, 13.8372,    78.0802},//Spawn4
{1021.1915, -1339.5734, 13.5502,    133.4082}//Spawn5
}
new Float:PoliceSP[5][4] = {
{1552.6422, -1675.5297, 16.1953,    89.3733},//Spawn1
{1576.8644, -1636.4813, 13.5544,    91.2875},//Spawn2
{1525.5791, -1678.0381, 5.8906,     269.2192},//Spawn3
{1568.5964, -1690.7363, 5.8906,     183.0517},//Spawn4
{1544.7784, -1610.7098, 13.3828,    265.4592},//Spawn5
{1592.30, -1699.67, 5.90} //Spawn6
}
new Float:BadBoys[5][4] = {
{723.3430-1479.9412, 5.4688,     179.6819},//Spawn1
{709.0578-1475.8529, 17.6953,    188.1186},//Spawn2
{741.5574-1475.3569, 17.6953,    181.5386},//Spawn3
{760.0251-1450.1265, 12.9631,    53.1503},//Spawn4
{712.08, -1434.95, 13.54} //Spawn5
}
new Float:Army[5][4] = {
{2729.9392, -2451.3408, 17.5937,    271.9643},//Spawn1
{2721.0901, -2380.7537, 17.3403,    183.9168},//Spawn2
{2731.5554, -2416.7283, 13.6278,    0.3251},//Spawn3
{2756.4751, -2515.5481, 13.6397,    268.4942},//Spawn4
{2775.2883, -2455.7422, 13.6367,    90.2292},//Spawn5
{2768.49, -2429.99, 13.65} //Spawn6
}
new Float:AFArmy[5][4] = {
{-1346.2593,    490.3872,   11.2027,    10.4593},//Spawn1
{-1320.7975,    489.1628,   11.1953,    52.2546},//Spawn2
{-1394.1697,    500.8172,   11.1953,    343.6573},//Spawn3
{-1294.5432,    490.4348,   11.1953,    87.6615},//Spawn4
{-1449.80, 465.70, 7.19} //Spawn5
}
new Float:Jizzy[5][4] = {
{2421.8242, -1245.7108, 23.8771,    7.6884},//Spawn1
{2404.7795, -1243.8693, 23.8125,    307.5279},//Spawn2
{2405.7756, -1221.4858, 25.1784,    223.2404},//Spawn3
{2421.5535, -1222.6992, 25.3383,    179.2283},//Spawn4
{2421.20, -1231.92, 24.63} //Spawn5
}
new Float:Bloods[5][4] = {
{2560.3152, 1561.632610.8203,    93.8683},//Spawn1
{2534.6228, 1507.701511.4516,    271.7220},//Spawn2
{2482.2014  ,1526.4343, 11.5138,    321.1863},//Spawn3
{2461.1553, 1560.319711.5405,    359.1000},//Spawn4
{2453.4131, 1499.106211.4779,    130.1501},//Spawn5
{2460.18, 1570.60, 10.92} //Spawn6
}
new Float:ASIANTRIADS[5][4] = {
{890.9802-1637.2556, 14.9297,    188.1725},//Spawn1
{864.1183-1637.4021, 14.9297,    187.2325},//Spawn2
{850.9799-1688.2657, 14.9446,    271.2628},//Spawn3
{849.4546-1719.0953, 14.9297,    282.5757},//Spawn4
{873.49, -1681.04, 13.55} //Spawn5
}
new Float:BikerBoys[5][4] = {
{681.6822-473.953016.5363,    182.4457},//Spawn1
{710.1332-473.700616.3359,    82.3699},//Spawn2
{710.0514-439.446716.3359,    117.4635},//Spawn3
{690.9225-451.455320.6529,    234.3380},//Spawn4
{667.0425-455.190116.3359,    132.8169},//Spawn5
{665.13, -467.18, 16.34} //Spawn6
}
new Float:MIB[5][4] = {
{931.0774-918.961142.6016,    113.4389},//Spawn1
{928.9284-941.790342.7390,    44.5283},//Spawn2
{899.1355-916.732042.6016,    188.8080},//Spawn3
{897.4551-943.101942.5094,    327.1343},//Spawn4
{903.96, -932.94, 42.60} //Spawn5
}
new Float:RUS[5][4] = {
{2766.6169, -1611.1123, 10.9219,    265.5105},//Spawn1
{2784.9851, -1626.7468, 10.9219,    349.6623},//Spawn2
{2770.9421, -1628.2572, 12.1775,    356.3548},//Spawn3
{2791.6799, -1599.1075, 11.0938,    154.7021},//Spawn4
{2782.88, -1613.12, 10.92} //Spawn5
}

new Float:CIASP[3][4] = {
{-687.9663, 942.6018, 13.6328, 1.2292},//Spawn1
{-707.4527, 941.3864, 12.4507, 36.2994},//Spawn2
{-695.1037, 969.2877, 12.2748, 132.1804} //Spawn3
}
new Float:FBI [5][4] = {
{-1617.1902,661.6687,7.1875,291.0264},//Spawn1
{-1625.6528,745.9573,-5.2422,356.6490},//Spawn2
{-1627.3170,681.7798,-5.2422,260.2568},//Spawn3
{-1615.5123,685.4471,7.1875,241.1370},//Spawn4
{-1669.9283,682.6100,16.1646,270.3068} //Spawn5
}
what now?
Reply
#10

Put ; after the end of every closing curly bracket.

It must be;
pawn Код:
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)