Dini problem
#1

When i compile my script with Dini i get these errors
pawn Код:
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : error 017: undefined symbol "fexist"
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : warning 215: expression has no effect
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : error 001: expected token: ";", but found ")"
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : error 029: invalid expression, assumed zero
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : fatal error 107: too many error messages on one line
The errors are in the Dini file.
pawn Код:
stock dini_Exists(filename[]) {
    return fexist(filename);
}
Reply
#2

pawn Код:
stock dini_Exists(filename[]) {
    return fexist(filename[]);
}
Try this.
Reply
#3

Thanks.
Reply
#4

pawn Код:
C:\Users\Danny\Desktop\Server\pawno\include\Dini.inc(32) : error 029: invalid expression, assumed zero
pawn Код:
stock dini_Exists(filename[]) {
    return fexist(filename[]);
}
Reply
#5

Change
pawn Код:
stock dini_Exists(filename[]) {
    return fexist(filename[]);
}
to
pawn Код:
if (dini_Exists(filename[])) {
   //Your code;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)