This program require Python 3
and the Pillow
module which you can install like so:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow
// Content | |
// 1. Main Settings | |
// 2. Bindings | |
// 3. Crosshair | |
// 4. Hud | |
// 5. Radar | |
// 6. Mouse | |
// 7. Viewmodel | |
// 8. Bob | |
// 9. Network |
Object.defineProperty(Object.prototype, 'isObject', { | |
/** | |
* @param {*} item to be tested | |
* @returns {Boolean} true if the item is an JS Object | |
*/ | |
value: (item) => { return (item && typeof item === 'object' && !Array.isArray(item)) } | |
}) | |
/** | |
* Examples: |
/** https://gist.github.com/Juknum/6750c0ec3a4249359b5be0641185f917 => Object.isObject(object) */ | |
Object.defineProperty(Object.prototype, 'merge', { | |
/** | |
* @param {Object} target | |
* @param {...Object} sources | |
*/ | |
value: (target, ...sources) => { | |
if (!sources.length) return target | |
const source = sources.shift() |
export {}; | |
declare global { | |
interface Object { | |
/** | |
* Deep merge two or more objects into the first one | |
* @param {object} target The object to merge into | |
* @param {...object} sources The objects to merge into the target | |
* | |
* @example Object.merge({ a: 1, b: 2 }, { b: 3, c: 4 }) // { a: 1, b: 3, c: 4 } |