SA-MP Forums Archive
1 EROR! - 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: 1 EROR! (/showthread.php?tid=406191)



1 EROR! - erorche - 09.01.2013

the Eror
pawn Код:
error 001: expected token: ";", but found "if"
the line of the eror
pawn Код:
if(dini_Exists(file))



Re: 1 EROR! - niels44 - 09.01.2013

show me the line BEFORE the if(dini... please


Re: 1 EROR! - erorche - 09.01.2013

here
pawn Код:
public LoadBizz()
{
    new file[128];
    for(new idx = 0; idx < sizeof(BizzInfo) ; idx++)
    {
        format(file, sizeof(file),"Business/%d.ini", idx)
        if(dini_Exists(file))
        {



Re : 1 EROR! - yusei - 09.01.2013

change format(file, sizeof(file),"Business/%d.ini", idx)

To

format(file, sizeof(file),"Business/%d.ini", idx);


Re: 1 EROR! - erorche - 09.01.2013

Thanks. REP+
LOCK