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
@Stuyk
Stuyk / weaponList.ts
Created Jan 26, 2021
Stuyk's Hand Typed Weapon List
View weaponList.ts
// This took me like 1.5 Hours. Fuck yall for not releasing this publicly.
export interface Weapon {
hash: number;
name: string;
desc?: string;
type?: string;
price?: number;
clip?: number;
stats?: {
@Stuyk
Stuyk / stylesheet.less
Last active Sep 18, 2020
Drag and Drop Inventory for alt:V
View stylesheet.less
Vue.component('inventory', {
data: () => {
return {
inventory: [],
targetDrag: null,
hoveredItem: null,
targetTooltip: null,
mouseX: 0,
mouseY: 0
};
@Stuyk
Stuyk / clothing.js
Created Jul 13, 2020
Non-RP Clothes
View clothing.js
const blackList = {
// Hats
0: {
isProp: true,
male: [
1,
38,
46,
47,
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' },