Skip to content

Instantly share code, notes, and snippets.

💭
Never Stop Refactoring

Stuyk Stuyk

💭
Never Stop Refactoring
View GitHub Profile
View gist:66f039a21076c6aa2f4995e04ddb1e7e
export const VehicleData = [
{
displayName: 'Zhaba',
manufacturer: 'RUNE',
price: 1200000,
weightKG: 1600,
drivetrain: 'AWD',
realMaxSpeedMPH: null,
gameMaxSpeedKPH: 92.5,
model: 'zhaba',
@Stuyk
Stuyk / cameraPedEdit.js
Last active Jun 22, 2020
Ped Edit Camera
View cameraPedEdit.js
import * as alt from 'alt';
import * as native from 'natives';
let cameraControlsInterval;
let camera;
let zpos = 0;
let fov = 90;
let startPosition;
let startCamPosition;
let timeBetweenAnimChecks = Date.now() + 100;
View gist:0e949b324eeb975b21769a7edc833b53
const TATTOO_GROUPS = {
mpairraces_overlays: [
{
name: 'Turbulence',
male: 'MP_Airraces_Tattoo_000_M',
female: 'MP_Airraces_Tattoo_000_F',
zone: 'ZONE_TORSO'
},
{
name: 'Pilot Skull',
View gist:d134315df8ae55482d14c6c784aa6c08
const pedHeadOverlays = [
{
label: 'Facial Hair',
key: 'facialhair',
value: 0,
min: 0,
max: 28,
increment: 1,
id: 1,
colorType: 1
View gist:ed191dc92528a58765048ee72b8899fb
const StructureGroup: [
{
label: 'Nose Width',
key: 'nosewidth',
value: 0,
min: -1,
max: 1,
increment: 0.1,
id: 0
},
@Stuyk
Stuyk / gist:76f8f31c1a08bd04afc88917f3aeb829
Created Apr 15, 2020
GTA:V Incorrect Hairstyle Names and Colors
View gist:76f8f31c1a08bd04afc88917f3aeb829
export const maleHairNames = [
'Close Shave',
'Buzzcut',
'Faux Hawk',
'Shaved Sides Slicked Back',
'Raised Front Same Length',
'Col De Sacs and Long Back',
'Close Shave and Loose Mohawk',
'Ponytail',
'Corn Rows',
View gist:c65f345b73a7eab4a0ee30b540e57c76
export const HairOverlaysMale = {
0: { collection: 'mpbeach_overlays', overlay: 'FM_Hair_Fuzz' },
1: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_001' },
2: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_002' },
3: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_003' },
4: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_004' },
5: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_005' },
6: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_006' },
7: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_007' },
8: { collection: 'multiplayer_overlays', overlay: 'NG_M_Hair_008' },
View oAuth2DiscordAltV
import * as alt from 'alt';
import * as path from 'path';
import cors from 'cors';
import http from 'http';
import express from 'express';
import chalk from 'chalk';
import request from 'request';
import { userIsVerified } from '../discord/bot';
const htmlPath = path.join(alt.getResourcePath('life'), 'server/express/html');
View gist:eaf4c9aa908d069c74a8ee24b36a55e8
import * as alt from 'alt';
import { Interaction } from '../systems/interaction.js';
import { Job, Objectives, ObjectiveFlags } from '../systems/job.js';
import { PedStream } from '../systems/pedstream.js';
import { distance } from '../utility/vector.js';
import { addXP } from '../systems/skills.js';
import { shuffle } from '../utility/array.js';
let bestTime = null;
let bestTimeOwner = null;
View particle effects for gta:v
# Thanks to CodeWalker for the code to read .ypt files: https://github.com/dexyfex/CodeWalker
#
# Format:
# [asset_name]
# effect_name_1
# effect_name_2
#
[core]
bul_gravel_heli
You can’t perform that action at this time.