Citizen.CreateThread(function()
function Initialize(scaleform)
scaleform = RequestScaleformMovie(scaleform)
while not HasScaleformMovieLoaded(scaleform) do
Citizen.Wait(0)
end
PushScaleformMovieFunction(scaleform, "SET_VEHICLE_INFOR_AND_STATS")
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files\nodejs\node.exe" "C:\Users\Liabear\Development\Discord Bots\Zoph\test2.js" | |
Pass #1: Generated 7 Players: [5374, 2224, 2382, 3158, 4824, 3534, 5331] | |
GREED & SENSIBILITY | |
Split 7 players into 2 teams, with a desired team MMR of 13414, actual average team MMR 13414. MMR Ratio 1.39 | |
Team Blue: [Team MMR: 11247, Players: 2382, 3534, 5331] | |
Team Orange: [Team MMR: 15580, Players: 2224, 3158, 4824, 5374] | |
WARNING POSSIBLY IMBALANCED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local Areas = { | |
BoxZone:Create(vector3(-321.31, -125.83, 39.01), 19.4, 7.2, {name="ghost",heading=340,minZ=37.26,maxZ=41.26}), | |
BoxZone:Create(vector3(-326.94, -144.67, 39.01), 5.4, 7.4, {name="ghostpaint",heading=340,minZ=38.01,maxZ=40.61}) | |
} | |
local area = GetPedBoneCoords(PlayerPedId(), 0x796e) | |
function IsInWhitelistedArea() | |
local PlayerBoneCoords = GetPedBoneCoords(PlayerPedId(), 0x796e) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* REQUIREMENTS | |
* | |
*/ | |
const {build: buildEnvironmentConfig} = require('./bootstrap/environment.js'); | |
const {build: buildFileConfiguration} = require('./bootstrap/flatfile.js'); | |
const {LOG_LEVELS} = require('../src/javascript/shared/constants/index.js'); | |
const {general: {mergeDeep, fetchValueFromObject, fillObject}} = require('../src/javascript/shared/utilities/index.js'); | |
const NPMPackageJSON = require('../package.json'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* DEPENDENCIES | |
* | |
*/ | |
const fs = require('fs'); | |
const path = require('path'); | |
const JustAnotterPlatform = require('../src/index.js'); | |
const {Logger, LEVELS: LogLevels} = require('../src/utilities/logger.js'); | |
const {mergeDeep} = require('../src/utilities/index.js'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AVAILABLE_LETTERS = [ | |
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', | |
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' | |
]; | |
const CURRENT_STATE = [0, 0, 0, 0, 0, 0, 0]; | |
const PLATES = []; | |
const incrementCurrent = () => { | |
CURRENT_STATE[CURRENT_STATE.length - 1]++; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {MongoClient} = require('mongodb'); | |
const MONGODB_URI = 'mongodb://localhost:27017/KoalatyEconomy'; | |
const LOWEST_NUMBER = '0000000'; | |
const MAX_NUMBER = 9999999; | |
const MAX_BATCH_SIZE = 98000; | |
const AREA_CODES = [420, 469]; | |
const generateNumbers = (area_codes) => { | |
let numbers = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {MongoClient} = require('mongodb'); | |
const MONGODB_URI = 'mongodb://localhost:27017/KoalatyEconomy'; | |
const LOWEST_NUMBER = '0000000'; | |
const MAX_NUMBER = 9999999; | |
const MAX_BATCH_SIZE = 98000; | |
const AREA_CODES = [420, 469]; | |
const generateNumbers = (area_codes) => { | |
let numbers = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function LoadModel (model) | |
if not IsModelInCdimage(model) then return end | |
RequestModel(model) | |
while not HasModelLoaded(model) do Citizen.Wait(0) end | |
return model | |
end |
NewerOlder