16.11.2014, 09:18
(
Последний раз редактировалось semara123; 16.11.2014 в 09:20.
Причина: wrong copy
)
hmmm try use this :
//--------------------------------------------------------------------------------
stock SaveStats (playerid)
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File, "Player's Data");
INI_WriteString(File, "LastActive", TimeAndDate());
INI_WriteString(File, "AltName", PlayerInfo[playerid][AltName]);
INI_WriteString(File, "Registered_On", PlayerInfo[playerid][RegOn]);
INI_WriteHex(File, "Color", GetPlayerColor(playerid));
INI_WriteInt(File, "Hours", PlayerInfo[playerid][Hours]);
INI_WriteInt(File, "Minutes", PlayerInfo[playerid][Minutes]);
INI_Close(File);
return 1;
}
//-----------------------------------------------------------------------------------
hope this help
dont forget to give me +rep if this helped
//--------------------------------------------------------------------------------
stock SaveStats (playerid)
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File, "Player's Data");
INI_WriteString(File, "LastActive", TimeAndDate());
INI_WriteString(File, "AltName", PlayerInfo[playerid][AltName]);
INI_WriteString(File, "Registered_On", PlayerInfo[playerid][RegOn]);
INI_WriteHex(File, "Color", GetPlayerColor(playerid));
INI_WriteInt(File, "Hours", PlayerInfo[playerid][Hours]);
INI_WriteInt(File, "Minutes", PlayerInfo[playerid][Minutes]);
INI_Close(File);
return 1;
}
//-----------------------------------------------------------------------------------
hope this help
dont forget to give me +rep if this helped