Using inline function gives me errors. How to fix it? - 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: Using inline function gives me errors. How to fix it? (
/showthread.php?tid=486680)
Using inline function gives me errors. How to fix it? -
Cameryn - 09.01.2014
I have included "y_inline" but it's still giving me errors.
Errors:
Code:
****.pwn(17) : error 009: invalid array size (negative, zero or out of bounds)
****.pwn(17) : warning 215: expression has no effect
****.pwn(17) : error 001: expected token: ")", but found ";"
****.pwn(17) : error 036: empty statement
****.pwn(17) : fatal error 107: too many error messages on one line
Code:
pawn Code:
inline Load(name[], value[]) // Error line
{
....
}
INI_ParseFile("***.ini", using inline Load);
Re: Using inline function gives me errors. How to fix it? -
Scrillex - 09.01.2014
INI_ParseFile("settings.ini", "Load");
Here is tutorial..
Check me out I'm a link
Re: Using inline function gives me errors. How to fix it? -
Cameryn - 09.01.2014
I was following this tutorial and it worked for every other people. I want to know what I am doing wrong here.
https://sampforum.blast.hk/showthread.php?tid=445765