01.03.2013, 00:32
Have this in gamemode code
Following errors
pawn Code:
//load config file
INI_ParseFile( "settings.ini", "LoadSettings_%s" );
public LoadSettings_info ( name[], value[] )
{
// Every time you write information to the settings file, you have to use INI_SetTag( fileVariable, "info" );
INI_Int("OOC", ooc);
return 1;
}
pawn Code:
F:\SAMP\gamemodes\naterp.pwn(198) : error 025: function heading differs from prototype
F:\SAMP\gamemodes\naterp.pwn(198) : error 021: symbol already defined: "INI_ParseFile"
F:\SAMP\gamemodes\naterp.pwn(200) : warning 235: public function lacks forward declaration (symbol "LoadSettings_info")
F:\SAMP\gamemodes\naterp.pwn(204) : error 033: array must be indexed (variable "ooc")
F:\SAMP\gamemodes\naterp.pwn(206) : warning 217: loose indentation
F:\SAMP\gamemodes\naterp.pwn(206) : error 079: inconsistent return types (array & non-array)