JS: Alle Dateien mit UTF8-BOM abgespeichert
This commit is contained in:
@@ -122,3 +122,5 @@ csharp_preserve_single_line_blocks = true
|
|||||||
[*.vb]
|
[*.vb]
|
||||||
# Modifier preferences
|
# Modifier preferences
|
||||||
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
|
visual_basic_preferred_modifier_order = Partial,Default,Private,Protected,Public,Friend,NotOverridable,Overridable,MustOverride,Overloads,Overrides,MustInherit,NotInheritable,Static,Shared,Shadows,ReadOnly,WriteOnly,Dim,Const,WithEvents,Widening,Narrowing,Custom,Async:suggestion
|
||||||
|
[*.js]
|
||||||
|
encoding=utf-8-bom
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import * as NativeUI from '../libs/NativeUI';
|
import * as NativeUI from '../libs/NativeUI';
|
||||||
const Menu = NativeUI.Menu;
|
const Menu = NativeUI.Menu;
|
||||||
const UIMenuItem = NativeUI.UIMenuItem;
|
const UIMenuItem = NativeUI.UIMenuItem;
|
||||||
const UIMenuListItem = NativeUI.UIMenuListItem;
|
const UIMenuListItem = NativeUI.UIMenuListItem;
|
||||||
@@ -62,7 +62,7 @@ export default function carDealer(globalData: IGlobalData) {
|
|||||||
shopMenu.AddItem(priceItem);
|
shopMenu.AddItem(priceItem);
|
||||||
|
|
||||||
var targetsCollection = new ItemsCollection(availableOptions);
|
var targetsCollection = new ItemsCollection(availableOptions);
|
||||||
var targetItem = new UIMenuListItem("Kaufen f<EFBFBD>r", "W<EFBFBD>hle den Besitzer aus", targetsCollection);
|
var targetItem = new UIMenuListItem("Kaufen für", "Wähle den Besitzer aus", targetsCollection);
|
||||||
shopMenu.AddItem(targetItem);
|
shopMenu.AddItem(targetItem);
|
||||||
|
|
||||||
shopMenu.ListChange.on((item, index) => {
|
shopMenu.ListChange.on((item, index) => {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const fathers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 42, 43, 44];
|
const fathers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 42, 43, 44];
|
||||||
const mothers = [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45];
|
const mothers = [21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45];
|
||||||
const fatherNames = ["Benjamin", "Daniel", "Joshua", "Noah", "Andrew", "Juan", "Alex", "Isaac", "Evan", "Ethan", "Vincent", "Angel", "Diego", "Adrian", "Gabriel", "Michael", "Santiago", "Kevin", "Louis", "Samuel", "Anthony", "Claude", "Niko", "John"];
|
const fatherNames = ["Benjamin", "Daniel", "Joshua", "Noah", "Andrew", "Juan", "Alex", "Isaac", "Evan", "Ethan", "Vincent", "Angel", "Diego", "Adrian", "Gabriel", "Michael", "Santiago", "Kevin", "Louis", "Samuel", "Anthony", "Claude", "Niko", "John"];
|
||||||
const motherNames = ["Hannah", "Aubrey", "Jasmine", "Gisele", "Amelia", "Isabella", "Zoe", "Ava", "Camila", "Violet", "Sophia", "Evelyn", "Nicole", "Ashley", "Gracie", "Brianna", "Natalie", "Olivia", "Elizabeth", "Charlotte", "Emma", "Misty"];
|
const motherNames = ["Hannah", "Aubrey", "Jasmine", "Gisele", "Amelia", "Isabella", "Zoe", "Ava", "Camila", "Violet", "Sophia", "Evelyn", "Nicole", "Ashley", "Gracie", "Brianna", "Natalie", "Olivia", "Elizabeth", "Charlotte", "Emma", "Misty"];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// shitcode will be better in the future
|
// shitcode will be better in the future
|
||||||
// , \u00dc, \u00fc
|
// , \u00dc, \u00fc
|
||||||
// , \u00c4, \u00e4
|
// , \u00c4, \u00e4
|
||||||
// , \u00d6, \u00f6
|
// , \u00d6, \u00f6
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import InputHelper from '../../inputhelper';
|
import InputHelper from '../../inputhelper';
|
||||||
|
|
||||||
export default function inventory(globalData: IGlobalData) {
|
export default function inventory(globalData: IGlobalData) {
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import InputHelper from '../../inputhelper';
|
import InputHelper from '../../inputhelper';
|
||||||
|
|
||||||
export default function inventory(globalData: IGlobalData) {
|
export default function inventory(globalData: IGlobalData) {
|
||||||
var q;
|
var q;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
* @overview Life of German Reallife - Gui Playerlist playerlist.js
|
* @overview Life of German Reallife - Gui Playerlist playerlist.js
|
||||||
* @author VegaZ. Siga.
|
* @author VegaZ. Siga.
|
||||||
* @copyright (c) 2008 - 2018 Life of German
|
* @copyright (c) 2008 - 2018 Life of German
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import InputHelper from '../inputhelper';
|
import InputHelper from '../inputhelper';
|
||||||
|
|
||||||
let browser: BrowserMp;
|
let browser: BrowserMp;
|
||||||
let price: Number;
|
let price: Number;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
let player = mp.players.local;
|
let player = mp.players.local;
|
||||||
|
|
||||||
export default function speedometer(globalData: IGlobalData) {
|
export default function speedometer(globalData: IGlobalData) {
|
||||||
var dictLoaded = false;
|
var dictLoaded = false;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const vehicleColors = {
|
const vehicleColors = {
|
||||||
"Klassisch (Util)": {
|
"Klassisch (Util)": {
|
||||||
"Schwarz": 15,
|
"Schwarz": 15,
|
||||||
"Silber": 18,
|
"Silber": 18,
|
||||||
@@ -126,7 +126,7 @@ const vehicleColors = {
|
|||||||
"Lila": 148,
|
"Lila": 148,
|
||||||
"Dunkellila": 149,
|
"Dunkellila": 149,
|
||||||
"W\u00fcstenbraun": 153,
|
"W\u00fcstenbraun": 153,
|
||||||
"W\u00fcstenbr<62>une": 154
|
"W\u00fcstenbr<62>une": 154
|
||||||
},
|
},
|
||||||
"Spezial": {
|
"Spezial": {
|
||||||
"Geb\u00fcrsteter Stahl": 117,
|
"Geb\u00fcrsteter Stahl": 117,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
* @overview Life of German Reallife - Voice Main main.ts
|
* @overview Life of German Reallife - Voice Main main.ts
|
||||||
* @author Zeuto
|
* @author Zeuto
|
||||||
* @copyright (c) 2008 - 2019 Life of German
|
* @copyright (c) 2008 - 2019 Life of German
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export default function coloredHeadLights() {
|
export default function coloredHeadLights() {
|
||||||
function setHeadlightsColor(vehicle, color) {
|
function setHeadlightsColor(vehicle, color) {
|
||||||
if (typeof color !== "number" || isNaN(color) || color < 0 || color === 255) {
|
if (typeof color !== "number" || isNaN(color) || color < 0 || color === 255) {
|
||||||
// Disable
|
// Disable
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IGame, IUi, IEvents, IPlayerPool, IVehiclePool, IEntityAttachmentPool } from "../../game";
|
import { IGame, IUi, IEvents, IPlayerPool, IVehiclePool, IEntityAttachmentPool } from "../../game";
|
||||||
import RageEvents from "./events";
|
import RageEvents from "./events";
|
||||||
import RageUi from "./ui";
|
import RageUi from "./ui";
|
||||||
import { RagePlayerPool, RageVehiclePool, RageEntityAttachmentPool } from "./entities";
|
import { RagePlayerPool, RageVehiclePool, RageEntityAttachmentPool } from "./entities";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { IUi, IBrowser } from "../../game";
|
import { IUi, IBrowser } from "../../game";
|
||||||
import { Menu } from "../../libs/NativeUI/index";
|
import { Menu } from "../../libs/NativeUI/index";
|
||||||
import { GlobalData } from "../..";
|
import { GlobalData } from "../..";
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/**
|
/**
|
||||||
* @overview Life of German Reallife - Login index.js
|
* @overview Life of German Reallife - Login index.js
|
||||||
* @author VegaZ, hydrant
|
* @author VegaZ, hydrant
|
||||||
* @copyright (c) 2008 - 2018 Life of German
|
* @copyright (c) 2008 - 2018 Life of German
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//This script will make vehicles have smoother acceleration.
|
//This script will make vehicles have smoother acceleration.
|
||||||
//To disable the script call an event and set "GlobalDisable" to true.
|
//To disable the script call an event and set "GlobalDisable" to true.
|
||||||
//To disable individual sections, set "DisableAntiReverse" or "DisableSmoothThrottle" to true.
|
//To disable individual sections, set "DisableAntiReverse" or "DisableSmoothThrottle" to true.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import game from '../index';
|
import game from '../index';
|
||||||
import { IVehicle, EntityType, IEntity, VehicleSeat, DoorState } from '../game';
|
import { IVehicle, EntityType, IEntity, VehicleSeat, DoorState } from '../game';
|
||||||
import { parseJson } from '../util';
|
import { parseJson } from '../util';
|
||||||
import { VehicleData } from '../game';
|
import { VehicleData } from '../game';
|
||||||
|
|||||||
Reference in New Issue
Block a user