01.06.2016, 12:39
the other line is placed on its own it doesnt have anything with it
Thats the SetTimerEx line that i have the issues with
Код:
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*/