Compile script - 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: Compile script (
/showthread.php?tid=342087)
Compile script -
dxslide - 12.05.2012
Hy when i want to compile one fs i get than error:Error 029: invalid expression, assumed zero!
Where is the problem pls help?
Код:
new VehIDs[][] =
{;
"402"
"451"
"410"
"445"
"426"
"409"
"419"
"424"
"489"
"477"
"458"
"402"
"541"
"562"
"558"
"565"
"551"
"559"
"560"
"560"
"468"
"415"
"471"
"471"
"421"
"461"
"461"
"463"
"463"
"489"
"480"
"494"
"541"
"495"
"496"
"500"
}
Re: Compile script -
Jstylezzz - 12.05.2012
Try this
pawn Код:
new VehIDs[][] =
{
"402",
"451",
"410",
"445",
"426",
"409",
"419",
"424",
"489",
"477",
"458",
"402",
"541",
"562",
"558",
"565",
"551",
"559",
"560",
"560",
"468",
"415",
"471",
"471",
"421",
"461",
"461",
"463",
"463",
"489",
"480",
"494",
"541",
"495",
"496",
"500"
};
Re: Compile script -
IceCube! - 12.05.2012
pawn Код:
new VehIDs[][] =
{
"402",
"451",
"410",
"445",
"426",
"409",
"419",
"424",
"489",
"477",
"458",
"402",
"541",
"562",
"558",
"565",
"551",
"559",
"560",
"560",
"468",
"415",
"471",
"471",
"421",
"461",
"461",
"463",
"463",
"489",
"480",
"494",
"541",
"495",
"496",
"500"
};
YOu have forgot the Commas, try the above.
EDIT: He beat me by ha;lf a second ;(
Re: Compile script -
dxslide - 12.05.2012
Thanks Jari_Johnson Resolved!