• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
  1. #1
    Awatar Xart Irok
    Xart Irok jest nieaktywny Początkujący
    Dołączył
    Mar 2009
    Przegląda
    Radom, Poland
    Posty
    5

    Domyślnie [vb0.4] Zaawansowany [code]

    Szukam czegoś podobnego do tego:


    W praktyce wygląda mniej więcej to tak:

    [code=lua]function onUse(cid)
    -- tralala[/code]

    [code=xml]<?xml version="1.0"?>
    <quests>
    <!--
    <quest name="OpenTibia Example" startstorageid="1000" startstoragevalue="1">
    <mission name="Mission I" storageid="1000" startvalue="1" endvalue="1">
    <missionstate id="1" description="This is description of Mission I." />
    </mission>
    </quest>
    -->
    <quest name="OpenTibia Example" startstorageid="1000" startstoragevalue="1">
    <mission name="Mission I" storageid="1000" startvalue="1" endvalue="1">
    <missionstate id="1" description="This is description of Mission I." />
    </mission>
    </quest>
    </quests>[/code]

    [code=cpp]#include "otpch.h"

    #include "mount.h"
    #include "tools.h"
    #include "player.h"
    #include <libxml/xmlmemory.h>
    #include <libxml/parser.h>
    #include <iostream>

    bool Mounts::reload()
    {
    mounts.clear();
    bool result = loadFromXml(m_datadir);
    if(result){
    for(AutoList<Player>::listiterator it = Player::listPlayer.list.begin();
    it != Player::listPlayer.list.end();
    ++it)
    {
    it->second->setSex(it->second->getSex());
    it->second->setCurrentOutfit(it->second->getCurrentOutfit());
    }
    }
    return result;
    }[/code]

    ale był bym bardziej pocieszony z takiej wersji
    [code=lua] = [lua], [/code] = [/lua]
    [code=xml] = [xml], [/code] = [/xml]
    [code=cpp] = [cpp], [/code] = [/cpp]


    z góry dzięki za pomoc.
    Ostatnio edytowane przez Xart Irok ; 08.01.2011 o 11:46



  2. #2
    Seba jest nieaktywny Advanced Member
    Dołączył
    Feb 2009
    Posty
    1 059
    Przydatne posty
    44

    Domyślnie

    Profesjonalne modyfikacje vBulletin oraz style - gg 1981480 badz PW


Podobne wątki

  1. Ukrywatnie [code] z cache postu LUB parsowanie url w code
    By jendrek9 in forum Pytania i problemy
    Odpowiedzi: 0
    Ostatni post / autor: 27.08.2010, 12:24
  2. Zaawansowany Edytor
    By Lager in forum Pytania i problemy
    Odpowiedzi: 4
    Ostatni post / autor: 12.11.2009, 13:43
  3. Zaawansowany Edytor (WYSIWYG)
    By meschiash in forum Pytania i problemy
    Odpowiedzi: 4
    Ostatni post / autor: 05.08.2009, 21:21
  4. Oferta IONIC.pl Zaawansowany Hosting.
    By najdmen in forum Oferty od firm
    Odpowiedzi: 6
    Ostatni post / autor: 26.12.2008, 11:21
  5. CODE - bez innych BB Code - tylko tekst - jak?
    By Twee in forum Pytania i problemy
    Odpowiedzi: 6
    Ostatni post / autor: 17.07.2008, 14:54
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67