15.10.2010, 00:08
eai pessoal to comeзando mecher com dini entгo vejam se esse cod ai que em fiz uma bagunзa =D ta certo tipo pra salvar os vips no meu sv entendem...
pawn Код:
case 10:
{
PlayerInfo[giveplayerid][pVIP] = quantidade;
format(string, sizeof(string), " Vocк setou VIP %d para o jogador", quantidade);
new year, month,day;
getdate(year, month, day);
new hour, minute;
gettime(hour,minute);
format(string, sizeof(string), "%s deu vip ao %s nнvel %d ( %d/%d/%d - %d:%d)",editarnome,editarnome2,quantidade,year, month, day,hour, minute);
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nome, sizeof(Nome));
new vipowned[50];
format(vipowned, sizeof(vipowned), "vips/%s.ini", Nome);
dini_IntSet(vipowned,"VipLevel", PlayerInfo[giveplayerid][pVIP] = quantidade);
SaveVip();
VipsLog(string);
}
}

