#1

Hello,

My skin is saving when I /q. But when I throw a server restart, it's setted back to CJ.
What's wrong with my GMX? Nothing I think so.
GMX:
pawn Код:
//-----[Server GMX]-----
CMD:gmx(playerid, params[])
{
    SaveUserDate(playerid);

    SetTimer("Gmx",3000,false);
    SendRconCommand("gmx");
    return 1;
}
SaveUserDate
pawn Код:
forward SaveUserDate(playerid);
public SaveUserDate(playerid)
{
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Skin",GetPlayerSkin(playerid));
    INI_Close(File);
    return true;
}
Reply


Messages In This Thread
GMX - by Kingunit - 30.08.2011, 13:28
Re: GMX - by Kingunit - 30.08.2011, 13:38
Re: GMX - by Kayaque - 30.08.2011, 13:40
Re: GMX - by Kingunit - 30.08.2011, 13:42
Re: GMX - by Venice - 30.08.2011, 13:43
Re: GMX - by Kingunit - 30.08.2011, 13:49
Re: GMX - by Kingunit - 30.08.2011, 14:09
Re: GMX - by Kingunit - 30.08.2011, 14:19
Re: GMX - by Universal - 30.08.2011, 14:31
Re: GMX - by Kingunit - 30.08.2011, 14:32

Forum Jump:


Users browsing this thread: 5 Guest(s)