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
| CreateThread(function() | |
| local isShaking = false | |
| while true do | |
| local playerPed = PlayerPedId() | |
| local inVehicle = IsPedInAnyVehicle(playerPed, false) | |
| -- Intense burnout vibration | |
| if inVehicle and IsVehicleInBurnout(GetVehiclePedIsIn(playerPed, false)) then | |
| if not isShaking then |
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
| <?php | |
| use Discord\Discord; | |
| use Discord\Parts\Channel\Message; | |
| use Psr\Http\Message\ResponseInterface; | |
| use React\EventLoop\Factory; | |
| require __DIR__ . '/vendor/autoload.php'; | |
| $discord = new Discord([ | |
| 'token' => 'ODUxMDU1Njc5OTgwNTY4NTc2.YLytXQ.vXIhW7iCr7ClrTGj2mjcTrqQHBQ', // Big Smoke |
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
| // https://github.com/Renegade334/gpci-js/blob/master/src/index.ts | |
| package main | |
| import ( | |
| "crypto/sha1" | |
| "encoding/binary" | |
| "encoding/hex" | |
| "fmt" | |
| "os/user" |
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
| dpkg --add-architecture i386 | |
| apt update | |
| https://stackoverflow.com/questions/61590804/how-to-install-gcc-9-on-debianlatest-docker | |
| apt-get install libuuid1:i386 | |
| apt-get install libstdc++6:i386 | |
| uuid-dev:i386 |
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
| /* | |
| AC client connects to GS through socket | |
| Server stores IP and username in buffer | |
| OnPlayerConnect -> check name/IP is in buffer | |
| if so: query that IP for AC, get hardware info | |
| Player = an in-game player who is connected to the game server | |
| Client = anti-cheat client application connected to the server | |
| */ |
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
| { | |
| "AMPHIBIOUS_QUADBIKE": { | |
| "OFF_ROAD": { | |
| "blazer5": "Blazer Aqua" | |
| } | |
| }, | |
| "SUBMARINECAR": { | |
| "SPORT_CLASSIC": { | |
| "stromberg": "Stromberg", | |
| "toreador" : "Toreador" |
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 struct | |
| from utils import * | |
| class IMGArchive: | |
| sectorsize = 2048 | |
| headersize = 8 | |
| dentrysize = 32 | |
| def __init__(self, filepath, callback=None): | |
| self.filestream = open(filepath, 'rb') |
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
| { | |
| "1032823388": { | |
| "hash": 1032823388, | |
| "name": "ninef", | |
| "displayName": "NINEF", | |
| "localizedName": "9F", | |
| "manufacturerName": "OBEY", | |
| "localizedManufacturer": "Obey", | |
| "vehicleClass": 6, | |
| "vehicleClassName": "VEH_CLASS_6", |
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
| Write-Host "Downloading .NET Framework 4.5.2..." | |
| $outputFile = "dotNetFramework452.exe" | |
| Try { | |
| Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=397673&clcid=0x409" -OutFile $outputFile | |
| If (Test-Path $outputFile) { | |
| Write-Host "Download complete. Installing..." | |
| Start-Process $outputFile -Args "/quiet /norestart" -Wait | |
| Write-Host ".NET Framework 4.5.2 installed successfully." | |
| } Else { |
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
| """ | |
| Author: https://github.com/VIRUXE | |
| This script is intended to scan actual script `.lua` files inside a FXServer (CFX/FiveM server) `resources` folder, looking for translation keys. | |
| The ESX framework uses two functions called Translate and TranslateCap to retrieve translations from their respective locale files. | |
| Once it finds all the keys used in the script files, it will scan the `pt.lua` file inside the `locales` folder. | |
| In order to find out which keys are missing, it will compare the keys found in the script files with the keys found in the `pt.lua` file. | |
| The script will then print the keys that are missing and/or unused from the `pt.lua` file |