Giving a variable problem
#10

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new file[128];
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(file,sizeof(file),"/Users/%s.ini",name);
    if(dini_Exists(file))
    {
  dini_IntSet(file, "score", GetPlayerScore(playerid));
  dini_IntSet(file, "money", GetPlayerMoney(playerid));
    dini_IntSet(file, "Cookies",GetPVarInt(playerid,"Cookies"));
    }
    logged[playerid] = 0;
    dm[playerid] =0;
    God[playerid] =0;
    return 1;
}
no ! in if(Dini_Exists
Reply


Messages In This Thread
Giving a variable problem - by -Rebel Son- - 05.06.2010, 23:26
Re: Giving a variable problem - by (SF)Noobanatior - 05.06.2010, 23:29
Re: Giving a variable problem - by -Rebel Son- - 05.06.2010, 23:32
Re: Giving a variable problem - by (SF)Noobanatior - 05.06.2010, 23:44
Re: Giving a variable problem - by -Rebel Son- - 05.06.2010, 23:54
Re: Giving a variable problem - by (SF)Noobanatior - 05.06.2010, 23:56
Re: Giving a variable problem - by -Rebel Son- - 05.06.2010, 23:57
Re: Giving a variable problem - by (SF)Noobanatior - 06.06.2010, 00:01
Re: Giving a variable problem - by -Rebel Son- - 06.06.2010, 00:07
Re: Giving a variable problem - by (SF)Noobanatior - 06.06.2010, 00:09

Forum Jump:


Users browsing this thread: 1 Guest(s)