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 playFieldCoord = { x: -1212.79, y: -1673.52, z: 7 }; | |
| const airportCoord = { x: -1466.79, y: -2507.52, z: 0 }; | |
| export const Execute = async (extra: any[]) => { | |
| const ped: Ped = Ped.GetPlayerPed(alt.Player.local); | |
| native.prepareMusicEvent('GLOBAL_KILL_MUSIC'); | |
| native.prepareMusicEvent('FM_INTRO_START'); |
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"; | |
| export let checkpoints: Record<number, Checkpoint> = {}; | |
| const player = alt.Player.local; | |
| export class Checkpoint { | |
| pos: { x1: number; y1: number; z1: number; x2: number; y2: number; z2: number; }; | |
| cpRadius: number; | |
| cp: number; |
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
| /// <reference types="@altv/types-server" /> | |
| import * as alt from "alt-server"; | |
| let markers = {}; | |
| export class Marker { | |
| /** | |
| * Creates a brand new marker. | |
| * @param {number} type | |
| * @param {alt.Vector3} position |