ok brozesus btw its your script... AND +rep for all
btw i was sure some problem with the limit of integer i was just gonna do printf("%d",exp); but i got the reply so thanks

and i was not sure that string will work so thanks for it once more.
edit it won't work idk but its always an unban that way and i see the ini file and its
Code:
[data]
Banexp = 1411659986
BanPerm = 0
BanPlayer = Sasuke_Uchiha
BanAdmin = Anti-Cheat
Reason = Weapon Hack
ok so i did some more testing and got to know that the part of converting string into integer in not working
Code:
[21:33:21] banned loading account 0 time loded after converting to string
[21:33:21] banned loading account 0 time loaded after converting to string
[21:33:21] banned loading account 0 time loaded after converting to string
[21:33:21] banned loading account 0 time loaded after converting to string
pawn Code:
forward LoadBanUser_data(playerid,name[],value[]);
public LoadBanUser_data(playerid,name[],value[])
{
new temp[30];
INI_String("Banexp",temp,30);
PlayerInfo[playerid][pBanexp] = strval(temp);
printf("banned loading account %d time loaded after converting to string ",PlayerInfo[playerid][pBanexp]);
INI_Int("BanPerm",PlayerInfo[playerid][pBanPerm]);
INI_String("BanAdmin", PlayerInfo[playerid][pBanAdmin], 20);
INI_String("Reason",PlayerInfo[playerid][pBanres],100);
return 1;
}
edit my english makes no sense in this print but it was just for testing and i understand it like i accidentally write string in place of integer
edit 2: i tried some more tests problem in loading the string its loading empty script
pawn Code:
INI_String("Banexp",temp,30);
printf("%s loaded string",temp);
result
Code:
[00:23:09] loaded string
so the string loaded was empty but the saved string was fine
Code:
Banexp = 1409945031
Fixed All the problem was its not loading it as an string but loading it as an integer will work.