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 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.
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
| 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 }, |
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
| 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 |
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
| #!/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` |