Problem oko cuvanja prilikom registracije

Započeo realivchaa, Decembar 01, 2022, 15:50:59 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ne cuva mi skin i ne cuva NeedRespect
Deo skripte: [pawn]Dialog:d_register(const playerid, response, listitem, string: inputtext[])
{
   if(!response) return PlayerKick(playerid);
   if(response)
   {
      if(!strlen(inputtext)) return Dialog_Show(playerid, "d_register", DIALOG_STYLE_INPUT, ""c_srv"SV "c_white">> "c_srv"Register", ""c_white"Unesite zeljenu lozinku\nLozinka moze sadrzavati maximalno 6 znakova", ""c_white"Register", ""c_white"Izlaz");
      new INI:File = INI_Open(UserPath(playerid));
      INI_SetTag(File, "data");
      INI_WriteInt(File, "Password", udb_hash(inputtext));
      INI_WriteInt(File, "Money", 5000);
      INI_WriteInt(File, "Score", 2);
      INI_WriteInt(File, "Respect", 0);
      INI_WriteInt(File, "NeedRespect", 18);
      INI_WriteInt(File, "Skin", 7);
      INI_WriteInt(File, "Admin", 0);
      INI_WriteInt(File, "Kills", 0);
      INI_WriteInt(File, "Deaths", 0);
      INI_Close(File);
      PlayerInfo[playerid][pMoney] = 5000;
      PlayerInfo[playerid][pSkin] = 7;
      PlayerInfo[playerid][pScore] = 2;
      GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
      SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
      SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
      SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0);
        SpawnPlayer(playerid);
   }
   return 1;
}[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]/[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): Ma nije ingame problem nego sam ja nesto zeznuo 100% po starom obicaju xd