Skip to content

Instantly share code, notes, and snippets.

AP1_01_B_IntRefRange
AP1_01_C_NoFog
AirRaceBoost01
AirRaceBoost02
AmbientPUSH
ArenaEMP
ArenaEMP_Blend
ArenaWheelPurple01
ArenaWheelPurple02
Bank_HLWD
<?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" />
# 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 / gist:eaf4c9aa908d069c74a8ee24b36a55e8
Created March 23, 2020 16:34
Shooting Range Job Framework
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;
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');
@Stuyk
Stuyk / database.js
Last active April 9, 2020 00:21
MongoDB Wrapper for alt:V
import * as alt from 'alt';
import mongodb from 'mongodb';
import config from './configuration.json';
const MongoClient = mongodb.MongoClient;
const ObjectID = mongodb.ObjectID;
let instance;
export default class ConnectionInfo {
/**
@Stuyk
Stuyk / _manifest.ymf
Created March 12, 2020 17:08
Template Files for MLOs created by Breze & Tarkayne
<?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>
@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 / gist:c3bec0a0b80628ee4c47510b0e9c156a
Created April 30, 2021 22:48
Athena Roleplay Framework - Face Name Locales and Shit
const DefaultLocales = {
titles: ['Appearance', 'Facial Structure', 'Hair', 'Details', 'Makeup', 'Info', 'Done'],
appearanceComponent: {
LABEL_FRAME: 'Physical Frame',
DESC_FRAME: 'How does your character model look?',
LABEL_MASCULINE: 'Masculine',
LABEL_FEMININE: 'Feminine',
LABEL_PRESETS: 'Presets',
DESC_PRESETS: 'Not feeling creative? Choose a preset.',
LABEL_FATHER: 'Father',
@Stuyk
Stuyk / clothing.js
Created July 13, 2020 17:50
Non-RP Clothes
const blackList = {
// Hats
0: {
isProp: true,
male: [
1,
38,
46,
47,