Skip to content

Instantly share code, notes, and snippets.

View CriMsOnN's full-sized avatar

Tasos CriMsOnN

  • Greece
View GitHub Profile
const axios = require('axios');
const fs = require('fs');
const url = "https://raw.githubusercontent.com/femga/rdr3_discoveries/master/clothes/cloth_hash_names.lua";
const regex = /{hashname="(.+?)",category_hashname="(.+?)",ped_type="(.+?)",is_multiplayer=true,category_hash=(.+?),hash=(.+?),hash_dec_signed=(.+?),category_hash_dec_signed=(.+?)},/g;
let m;
let clothes = [];
; (async () => {
const { data } = await axios.get(url);
while ((m = regex.exec(data)) !== null) {
This file has been truncated, but you can view the full file.
pedClothes = {
["female"] = {
["accessories"] = {
["clothing_f_r2_o4_buckle_000_tint"] = {
["hash"] = 268570922,
["category_hash"] = 0x79D7DF96,
["textures"] = {
{ ["texture_hash"] = 268570922 },
{ ["texture_hash"] = -296497718 },
{ ["texture_hash"] = -594138545 },
@CriMsOnN
CriMsOnN / examples.lua
Last active September 5, 2022 11:21
VORP Examples with the exposed data on client
local VORPcore = nil
CreateThread(function()
while VORPcore == nil do
Wait(0)
TriggerEvent('getCore', function(obj) VORPcore = obj end)
end
-- Wait for the CharacterData table to get populated by the server event
while VORPcore.GetCharacterData().job == nil do
@CriMsOnN
CriMsOnN / idea
Created July 18, 2021 19:01 — forked from chrisdarroch/idea
Open a project in IntelliJ IDEA from your command line!
#!/bin/sh
# check for where the latest version of IDEA is installed
IDEA=`ls -1d /Applications/IntelliJ\ * | tail -n1`
wd=`pwd`
# were we given a directory?
if [ -d "$1" ]; then
# echo "checking for things in the working dir given"
wd=`ls -1d "$1" | head -n1`