dini_IntSet help
#1

I have this script:

Код:
public OnPlayerDisconnect(playerid, reason)
{
  new levelname[24], PlayerFile[50];
  GetPlayerName(playerid, levelname, sizeof(levelname));
  format(PlayerFile, sizeof(PlayerFile), "/users/%s.ini", levelname);
  dini_Create(PlayerFile);
  dini_IntSet(PlayerFile, "Level", pLevel);
But why does it sets the "Level" to "128" ? I mean, everything is defined, but I don't understand. May someone help me out!?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)