24.07.2011, 07:03
(
Last edited by JaTochNietDan; 24/07/2011 at 04:23 PM.
Reason: Use the edit button.
)
forgiveness for asking about Yini again, I am sure they are tired of reading about Yini questions, and have read the post about how to use it but just do not find that I'm doing wrong ...
here is my code
and i get these errors
thanks for the answers
I should mention that I'm using the older version of YSI, but I can not upgrade because I'm using systems that do not come in the new version.
here is my code
pawn Code:
new gCID;
main()
{
new file[128];
file = "/Clanes/index.ini";
INI_ParseFile(file, "load_index");
}
forward load_index(name[], value[]);
public load_index(name[], value[])
{ //this is the line 1056
INI_Int("count",gCID); //this is the line 1057
return 0; //this is the line 1058
}
Code:
...\gamemodes\WWSOB.pwn(1057) : error 012: invalid function call, not a valid address ...\gamemodes\WWSOB.pwn(1057) : error 001: expected token: ";", but found ")" ...\gamemodes\WWSOB.pwn(1057) : error 029: invalid expression, assumed zero ...\gamemodes\WWSOB.pwn(1057) : fatal error 107: too many error messages on one line
I should mention that I'm using the older version of YSI, but I can not upgrade because I'm using systems that do not come in the new version.