This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as alt from 'alt-server'; | |
import { BlipController } from '../../client/systems/blip'; | |
import { playerFuncs } from '../../server/extensions/Player'; | |
import { InteractionController } from '../../server/systems/interaction'; | |
import { Job } from '../../server/systems/job'; | |
import { TextLabelController } from '../../server/systems/textlabel'; | |
import { CurrencyTypes } from '../../shared/enums/currency'; | |
import { SYSTEM_EVENTS } from '../../shared/enums/system'; | |
import { ANIMATION_FLAGS } from '../../shared/flags/AnimationFlags'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as alt from 'alt-client'; | |
import * as native from 'natives'; | |
import { SYSTEM_EVENTS } from '../../shared/enums/system'; | |
import { requestScaleForm, Scaleform } from '../utility/scaleform'; | |
import { Timer } from '../utility/timers'; | |
const SCALEFORM_NAME = 'mp_mm_card_freemode'; | |
const MAX_PLAYERS = 16; | |
let index = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as alt from 'alt-client'; | |
interface TimerInfo { | |
name?: string; | |
id: number; | |
ms: number; | |
} | |
const TIMER_CATEGORIES = { | |
SMALLEST: [0, 1], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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?: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('inventory', { | |
data: () => { | |
return { | |
inventory: [], | |
targetDrag: null, | |
hoveredItem: null, | |
targetTooltip: null, | |
mouseX: 0, | |
mouseY: 0 | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const blackList = { | |
// Hats | |
0: { | |
isProp: true, | |
male: [ | |
1, | |
38, | |
46, | |
47, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const VehicleData = [ | |
{ | |
displayName: 'Zhaba', | |
manufacturer: 'RUNE', | |
price: 1200000, | |
weightKG: 1600, | |
drivetrain: 'AWD', | |
realMaxSpeedMPH: null, | |
gameMaxSpeedKPH: 92.5, | |
model: 'zhaba', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', |