Hi friends, as I have a problem, I would like to close the server to save the data, I use this example to save
function onServerStop()
{
for (local i=0; i<10; i++)
{
WriteIniString( "Datos.ini", "Objectos", i+"","2 3 4 5 6" );
}
}
and it does not work for me I try on onServerStart and it works
that's how it works
function onServerStart()
{
for (local i=0; i<10; i++)
{
WriteIniString( "Datos.ini", "Objectos", i+"","2 3 4 5 6" );
}
}
what is the problem?? :-[
Does the file Datos.ini exist? Is the INIParser plugin loaded?