28.07.2012, 23:35
try
pawn Код:
public OnPlayerDisconnect(playerid,reason)
{
new dcbank[128];
pBankInfo[playerid][PLAYER_INBANK] = 0;
new Name[24]; GetPlayerName(playerid,Name,24);
new file[100]; format(file,100,dcbank,Name);
dini_IntSet(file,"Balance",pBankInfo[playerid][PLAYER_BALANCE]);
dini_IntSet(file,"InBank",pBankInfo[playerid][PLAYER_INBANK]);
return 1;
}