Autosave timer and if(inputtext) error
#3

the other line is placed on its own it doesnt have anything with it

Код:
forward Save_PlayerInfo();
public Save_PlayerInfo() //Saves all the garages, changed to a public because of the autosave timer
{
	new playerid;
    if(Logged[playerid] == true)
    {
			    new path[64];
			    format(path,sizeof(path),"/Players/%s.ini");
		     	new INI:file = INI_Open(path);
				INI_WriteInt(file, "Admin", PlayerInfo[playerid][pAdmin]);
	  		  	INI_WriteInt(file, "Level", PlayerInfo[playerid][pLevel]);
	    		INI_WriteInt(file, "Skin", GetPlayerSkin(playerid));
				INI_WriteInt(file, "Registered", PlayerInfo[playerid][Registered]);
				INI_WriteInt(file, "HandMoney", GetPlayerMoney(playerid));
				INI_Close(file);
	 }
}

/*#if AUTOSAVE == true
		SetTimerEx("Save_Players",AUTOSAVE_INTERVAL*1000,true); //Start the autosave timer if enabled
	#endif*/
Thats the SetTimerEx line that i have the issues with
Reply


Messages In This Thread
Autosave timer and if(inputtext) error - by CSLangdale - 31.05.2016, 16:40
Re: Autosave timer and if(inputtext) error - by Kaliber - 31.05.2016, 17:21
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 12:39
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 12:42
Re: Autosave timer and if(inputtext) error - by Vince - 01.06.2016, 12:55
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 13:31
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)