Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Take care of your mental health. Sometimes you just need a strong break.

Stuyk Stuyk

💭
Take care of your mental health. Sometimes you just need a strong break.
View GitHub Profile
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
@Stuyk
Stuyk / _manifest.ymf
Created Mar 12, 2020
Template Files for MLOs created by Breze & Tarkayne
View _manifest.ymf
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<CPackFileMetaData>
<MapDataGroups/>
<HDTxdBindingArray/>
<imapDependencies/>
<imapDependencies_2>
<Item>
<imapName>YMAP_NAME</imapName>
<manifestFlags>INTERIOR_DATA</manifestFlags>
<itypDepArray>
View content.xml example
<?xml version="1.0" encoding="UTF-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
<disabledFiles />
<includedXmlFiles />
<includedDataFiles />
<dataFiles>
<Item>
<filename>dlc_stuyk:/objects.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="false" />
View timecycle list
AP1_01_B_IntRefRange
AP1_01_C_NoFog
AirRaceBoost01
AirRaceBoost02
AmbientPUSH
ArenaEMP
ArenaEMP_Blend
ArenaWheelPurple01
ArenaWheelPurple02
Bank_HLWD