Admin Online Time
#3

I think its y_ini

pawn Код:
public OnPlayerRegister(playerid, password[])
{
    if(IsPlayerConnected(playerid))
    {
            new string3[32];
            new playername3[MAX_PLAYER_NAME];
            GetPlayerName(playerid, playername3, sizeof(playername3));
            format(string3, sizeof(string3), "Smetke/%s.ini", playername3);
            new File: hFile = fopen(string3, io_write);
            if (hFile)
            {
                strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
                new var[64];
                format(var, 64, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
Reply


Messages In This Thread
Admin Online Time - by michomkd - 03.05.2017, 06:02
Re: Admin Online Time - by Toroi - 03.05.2017, 06:14
Re: Admin Online Time - by michomkd - 03.05.2017, 06:22
Re: Admin Online Time - by Sew_Sumi - 03.05.2017, 07:02
Re: Admin Online Time - by michomkd - 03.05.2017, 07:07
Re: Admin Online Time - by Sew_Sumi - 03.05.2017, 07:18
Re: Admin Online Time - by michomkd - 03.05.2017, 07:37
Re: Admin Online Time - by Sew_Sumi - 03.05.2017, 07:56

Forum Jump:


Users browsing this thread: 4 Guest(s)