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 | |
| /* | |
| // Original script by robrotheram from discuss.flarum.org | |
| // Modified by VIRUXE | |
| */ | |
| set_time_limit(0); | |
| ini_set('memory_limit', -1); | |
| ini_set("log_errors", 1); |
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 pickups = {`PICKUP_AMMO_BULLET_MP`,`PICKUP_AMMO_FIREWORK`,`PICKUP_AMMO_FLAREGUN`,`PICKUP_AMMO_GRENADELAUNCHER`,`PICKUP_AMMO_GRENADELAUNCHER_MP`,`PICKUP_AMMO_HOMINGLAUNCHER`,`PICKUP_AMMO_MG`,`PICKUP_AMMO_MINIGUN`,`PICKUP_AMMO_MISSILE_MP`,`PICKUP_AMMO_PISTOL`,`PICKUP_AMMO_RIFLE`,`PICKUP_AMMO_RPG`,`PICKUP_AMMO_SHOTGUN`,`PICKUP_AMMO_SMG`,`PICKUP_AMMO_SNIPER`,`PICKUP_ARMOUR_STANDARD`,`PICKUP_CAMERA`,`PICKUP_CUSTOM_SCRIPT`,`PICKUP_GANG_ATTACK_MONEY`,`PICKUP_HEALTH_SNACK`,`PICKUP_HEALTH_STANDARD`,`PICKUP_MONEY_CASE`,`PICKUP_MONEY_DEP_BAG`,`PICKUP_MONEY_MED_BAG`,`PICKUP_MONEY_PAPER_BAG`,`PICKUP_MONEY_PURSE`,`PICKUP_MONEY_SECURITY_CASE`,`PICKUP_MONEY_VARIABLE`,`PICKUP_MONEY_WALLET`,`PICKUP_PARACHUTE`,`PICKUP_PORTABLE_CRATE_FIXED_INCAR`,`PICKUP_PORTABLE_CRATE_UNFIXED`,`PICKUP_PORTABLE_CRATE_UNFIXED_INCAR`,`PICKUP_PORTABLE_CRATE_UNFIXED_INCAR_SMALL`,`PICKUP_PORTABLE_CRATE_UNFIXED_LOW_GLOW`,`PICKUP_PORTABLE_DLC_VEHICLE_PACKAGE`,`PICKUP_PORTABLE_PACKAGE`,`PICKUP_SUBMARINE`,`PICKUP_VEHICLE_ARMOUR_STANDARD`,`PICKUP_VE |
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
| """ | |
| THIS IS NOW DEPRECATED, IN FAVOR OF THIS RESOURCE: https://github.com/VIRUXE/fivem-vehicle_loader | |
| Author: VIRUXE | |
| GitHub: https://gist.github.com/VIRUXE/9c56435627604338ad9c8a506648f7a8 | |
| This script compiles all the vehicles in the cwd onto a json file. To be used with my resource, that installs the vehicles into the game. | |
| It will create a file called vehicles.json in the cwd (if it's not created already), |
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
| dlc_labels = { | |
| 'mpbeach': 'Beach Bum', | |
| 'mpvalentines': 'Valentine\'s Day Massacre', | |
| 'mpbusiness': 'Business', | |
| 'mpbusiness2': 'High Life', | |
| 'mphipster': 'I\'m Not A Hipster', | |
| 'mpindependence': 'Independence Day', | |
| 'mppilot': 'San Andreas Flight School', | |
| 'mplts': 'Last Team Standing', | |
| 'mpchristmas2': 'Festive Surprise', |
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
| { | |
| "akula" : "mpchristmas2017", | |
| "alkonost" : "mpheist4", | |
| "alpha" : "mpbusiness", | |
| "alphaz1" : "mpsmuggler", | |
| "annihilator2" : "mpheist4", | |
| "apc" : "mpgunrunning", | |
| "arbitergt" : "mpg9ec", | |
| "ardent" : "mpgunrunning", | |
| "asbo" : "mpheist3", |
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: VIRUXE | |
| # github.com/VIRUXE | |
| # Scrape GTA V vehicle data from https://www.gtabase.com/grand-theft-auto-v/vehicles/ | |
| ############################################################################################################ | |
| import sys | |
| import os | |
| from decouple import config | |
| import requests |
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 random | |
| cards = { | |
| "tiger shark": {"price": 3.19, "cash": 250_000}, | |
| "bullshark" : {"price": 5.99, "cash": 600_000}, | |
| "great white": {"price": 11.99, "cash": 1_500_000}, | |
| "whale" : {"price": 30.99, "cash": 4_250_000}, | |
| "megalodon" : {"price": 59.99, "cash": 10_000_000}, | |
| } |
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 requests | |
| import time | |
| import json | |
| from selenium import webdriver | |
| from selenium.webdriver.chrome.options import Options | |
| base_url = "https://www.gtabase.com/grand-theft-auto-v/vehicles/" | |
| options = Options() |
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 sys | |
| import time | |
| from samp_client.client import SampClient # pip install samp-client | |
| server = sys.argv[1].split(':') | |
| players = [] | |
| with SampClient(server[0], int(server[1])) as client: | |
| max_players = client.get_server_info().max_players |
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 os | |
| import time | |
| class Colors: | |
| BLACK = "\033[0;30m" | |
| RED = "\033[0;31m" | |
| GREEN = "\033[0;32m" | |
| YELLOW = "\033[0;33m" | |
| BLUE = "\033[0;34m" | |
| MAGENTA = "\033[0;35m" |
OlderNewer