SA-MP Forums Archive
ongamemodeexit didn't do anything. - 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: ongamemodeexit didn't do anything. (/showthread.php?tid=570622)



ongamemodeexit didn't do anything. - Banditukas - 12.04.2015

Hi,

I tried do this:

Код:
public OnGameModeExit()
{
	new ryyy;
	new ttrtrtrt[ 50 ];
    for( ryyy = 0; ryyy < 5; ryyy ++ )
	{
	    format( ttrtrtrt, 49,"Houses/%d.txt", ryyy );

	    if( !dini_Exists( ttrtrtrt ) )
	    {
	    	dini_Create( ttrtrtrt );
	    }
	}
	return 1;
}
When i off server it don't my create 0.txt, 1.txt etc.. nothing. I have created Houses folder in scriptfiles.


Re: ongamemodeexit didn't do anything. - RoW001 - 12.04.2015

You close console from window or with exit writed in console?