SA-MP Forums Archive
Problems with compiling - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problems with compiling (/showthread.php?tid=377079)



Problems with compiling - Zeyo - 12.09.2012

When I compile I get the following errors:
Код:
C:\Users\Zeid\Desktop\SAMPSERVER\gamemodes\ZGM.pwn(67) : error 001: expected token: "}", but found "]"
C:\Users\Zeid\Desktop\SAMPSERVER\gamemodes\ZGM.pwn(74) : error 010: invalid function or declaration
On these lines (35 - 74) I got this:
Код:
new Spawn[37][PlayerSpawnInfo] =
{
{1371.8715,-2430.1865,13.5547}, //lsa1
{1386.8047,-2421.9448,13.5547}, //lsa2
{1395.6001,-2420.0723,13.5547}, //lsa3
{1393.1112,-2436.6660,13.5547}, //lsa4
{1385.8973,-2432.9019,13.5547}, //lsa5
{1381.3210,-2421.2976,13.5547}, //lsa6
{1381.4877,-2410.7712,13.5547}, //lsa7
{1390.4999,-2415.4182,13.5547}, //lsa8
{1372.4266,-2426.3191,13.5547}, //lsa9
{1393.7889,-2417.6030,13.5547}, //lsa10
{-1382.3594,-222.4081,14.1484}, // sfa1
{-1378.6113,-223.0488,14.1484}, // sfa2
{-1377.7073,-219.2982,14.1484}, // sfa3
{-1374.2185,-224.0128,14.1440}, // sfa4
{-1374.4713,-228.4353,14.1484}, // sfa5
{-1378.6239,-231.4735,14.1484}, // sfa6
{-1381.5692,-227.9137,14.1484}, // sfa7
{368.0311,2536.1819,16.6517}, // lva1
{366.3920,2536.3730,16.6597}, // lva2
{365.9662,2534.4780,16.6618}, // lva3
{364.4006,2538.6638,16.6694}, // lva4
{368.4187,2539.2371,16.6123}, // lva5
{368.4795,2535.6187,16.6495}, // lva6
{366.1010,2532.6189,16.6611}, // lva7
{364.3806,2532.9656,16.6695}, // lva8
{365.3848,2537.6299,16.6646}, // lva9
{365.3572,2540.1333,16.6351}, // lva10
{1494.4642,721.9148,10.8203}, // lv1
{1488.2775,722.8793,10.8203}, // lv2
{1488.1169,729.4306,10.8203}, // lv3
{1493.6400,730.2703,10.8203], // lv4
{1496.4402,726.1259,10.8203}, // lv5
{1495.1013,719.5363,10.8279}, // lv6
{1486.2097,717.2479,10.8203}, // lv7
{1484.5281,727.7122,10.8203}, // lv8
{1494.6228,731.5815,10.8203}, // lv9
{1484.5420,718.5717,10.8203}  // lv10
};
Any ideas? Btw, i checked the includes... nothing wrong there


Re: Problems with compiling - detter - 12.09.2012

this line
Код:
{1493.6400,730.2703,10.8203], // lv4
use this

Код:
{1493.6400,730.2703,10.8203}, // lv4



Re: Problems with compiling - Zeyo - 12.09.2012

So, it is my blindness ._.
Thanx!