eigene Sprachdatei

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • eigene Sprachdatei

    wie kann ich eine eigen Sprachdatei ( z.B. bonus.php ) mit laden ?
    ich möchte die Custom dadurch etwas übersichtlicher machen ...... bzw. für MODS die eingebaut werden eine eigene Sprachdatei haben

    2 Moons 1.7.3 Xterium
  • To do this you must create a new BONUS.php file in the languages
    then you must replace this line

    PHP Source Code: common.php

    1. $LNG->includeData(array('L18N', 'INGAME', 'TECH', 'CUSTOM'));
    by

    PHP Source Code: common.php

    1. $LNG->includeData(array('L18N', 'INGAME', 'TECH', 'CUSTOM', 'BONUS'));
    enjoy