Skip to content

Instantly share code, notes, and snippets.

View R3DIANCE's full-sized avatar
🎆

R3DIANCE

🎆
  • localhost
View GitHub Profile
@R3DIANCE
R3DIANCE / client.js
Created October 2, 2022 09:19 — forked from xxshady/client.js
alt:V player look sync
import alt from "alt-client"
import native from "natives"
const localPlayer = alt.Player.local
const SYNC_MS_DELAY = 500
const SYNC_MS_DELAY_REMOTE = 100
const MAX_HEADING_DIST = 70.0
const BACKWARDS_HEADING_DIST = 145.0
const TASK_LOOK_AT_COORD_DURATION = 300
const LOOKING_AT_POS_OFFSET = 5.0

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

// https://gist.github.com/FDiskas/3dd4163d23bbdb77b54852b8cfb71720
export const enum NativeKey {
InputNextCamera = 0, // V
InputLookLr = 1, // MOUSE RIGHT
InputLookUd = 2, // MOUSE DOWN
InputLookUpOnly = 3, // (NONE)
InputLookDownOnly = 4, // MOUSE DOWN
InputLookLeftOnly = 5, // (NONE)
InputLookRightOnly = 6, // MOUSE RIGHT
InputCinematicSlowmo = 7, // (NONE)
import * as alt from 'alt';
import * as native from 'natives';
let NPCS = [
{ "model": "-1022961931", "x": 147.86373901367188, "y": -1041.9560546875, "z": 28.5, "rot": 340 }, //fleeca
{ "model": "1767447799", "x": 149.3274688720703, "y": -1042.4176025390625, "z": 28.5, "rot": 340 }, //fleeca
{ "model": "1767447799", "x": 313.74066162109375, "y": -280.8527526855469, "z": 53.20, "rot": 340 }, //fleeca
{ "model": "-1022961931", "x": 312.052734375, "y": -280.4439697265625, "z": 53.20, "rot": 340 }, //fleeca
{ "model": "1055701597", "x": 127.43736267089844, "y": -224.3340606689453, "z": 54.5545654296875, "rot": 90 }, //urban clothes shop
];
@R3DIANCE
R3DIANCE / clothing.js
Created October 30, 2020 02:35 — forked from Stuyk/clothing.js
Non-RP Clothes
const blackList = {
// Hats
0: {
isProp: true,
male: [
1,
38,
46,
47,
@R3DIANCE
R3DIANCE / cameraPedEdit.js
Created June 22, 2020 07:50 — forked from Stuyk/cameraPedEdit.js
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;
@R3DIANCE
R3DIANCE / gist:8f91986900f6dfe293ec9f80f1aa8fde
Created April 15, 2019 19:55
Timezones supported by PHP
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
@R3DIANCE
R3DIANCE / index.html
Created October 18, 2018 11:47
Letter Avatars
<h1>Letter Avatars</h1>
<small><strong>Usage:</strong></small>
<pre>
<code>&lt;img width=&quot;60&quot; height=&quot;60&quot; avatar=&quot;Andy Dandy&quot;&gt;</code>
</pre>
<div>
<img width="60" height="60" avatar="Andy Dandy">
<img class="round" width="60" height="60" avatar="Andy Dandy">