SA-MP Forums Archive
[ajuda]Dini to comeзando.... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda]Dini to comeзando.... (/showthread.php?tid=183316)



[ajuda]Dini to comeзando.... - Gabriel_Halls - 15.10.2010

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);
                            }
                            }



Re: [ajuda]Dini to comeзando.... - GTA.Drifter - 16.10.2010

Nao entendi oque vocк quis dizer.