24.09.2012, 19:22
Here is my code:
and here is what i find in scriptfiles
Why Y_Ini didn't want to write is something wrong?
pawn Код:
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
print("1");
INI_WriteInt(File,"Lozinka",udb_hash(inputtext));
print("2");
INI_WriteInt(File,"Novac",5000);
print("3");
INI_WriteInt(File,"Admin",0);
print("4");
INI_WriteInt(File,"Tut",0);
print("5");
INI_WriteInt(File,"Warn",0);
print("6");
INI_WriteInt(File,"Exp",0);
print("7");
INI_WriteInt(File,"Level",1);
print("8");
INI_WriteInt(File,"Sati",1);
print("9");
INI_WriteInt(File,"CHB",0);
print("10");
INI_WriteInt(File,"BandaUgovor",0);
print("11");
INI_WriteInt(File,"Banda",0);
print("12");
INI_WriteInt(File,"PayDayP",0);
print("13");
INI_WriteInt(File,"Ubojstva",0);
print("14");
INI_WriteInt(File,"Smrti",0);
print("15");
INI_Close(File);
print("16");
pawn Код:
[data]
Lozinka = 70058402
Novac = 0
Admin = 0
Tut = 0
Warn = 0
Exp = 0
Level = 0
Sati = 0
CHB = 0
BandaUgovor = 0
Banda = 0
PayDayP = 0
Ubojstva = 0
Smrti = 0