Skip to content

Instantly share code, notes, and snippets.

@Stuyk
Stuyk / weaponList.ts
Created January 26, 2021 01:16
Stuyk's Hand Typed Weapon List
// 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 March 3, 2022 05:05
Drag and Drop Inventory for alt:V
Vue.component('inventory', {
data: () => {
return {
inventory: [],
targetDrag: null,
hoveredItem: null,
targetTooltip: null,
mouseX: 0,
mouseY: 0
};
@Stuyk
Stuyk / clothing.js
Created July 13, 2020 17:50
Non-RP Clothes
const blackList = {
// Hats
0: {
isProp: true,
male: [
1,
38,
46,
47,
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 May 26, 2021 16:47
Ped Edit Camera
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;
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',
@Stuyk
Stuyk / gist:d134315df8ae55482d14c6c784aa6c08
Created April 15, 2020 16:36
GTA:V Ped Head Overlays
const pedHeadOverlays = [
{
label: 'Facial Hair',
key: 'facialhair',
value: 0,
min: 0,
max: 28,
increment: 1,
id: 1,
colorType: 1
@Stuyk
Stuyk / gist:ed191dc92528a58765048ee72b8899fb
Created April 15, 2020 16:31
GTA:V Face Structure List
const StructureGroup: [
{
label: 'Nose Width',
key: 'nosewidth',
value: 0,
min: -1,
max: 1,
increment: 0.1,
id: 0
},
@Stuyk
Stuyk / gist:76f8f31c1a08bd04afc88917f3aeb829
Created April 15, 2020 16:24
GTA:V Incorrect Hairstyle Names and Colors
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',
@Stuyk
Stuyk / gist:c65f345b73a7eab4a0ee30b540e57c76
Created April 15, 2020 16:20
GTA:V Hair Overlay Values
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' },