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
| QBCore = exports['qb-core']:GetCoreObject() | |
| config = {} | |
| config.realestate_job = 'realestate' -- job that can manage the sale of bunkers | |
| config.police_job = 'police' -- job that can 'raid' bunkers, false to disable | |
| config.storage_maxweight = 4000000 | |
| config.storage_slots = 25 |
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 vs = {} | |
| function GetHashName(hash) | |
| for k,v in pairs(vs) do | |
| if tostring(v[1]) == tostring(hash) then | |
| return v[2] | |
| end | |
| end | |
| end |
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 classes = { | |
| ['A+'] = {'Super'}, | |
| ['A'] = {'Sports', 'Off-Road'}, | |
| ['B'] = {'SUVs', 'Motorcycles'}, | |
| ['C'] = {'Sedans', 'Vans'}, | |
| ['D'] = {'Utility'} | |
| } | |
| local boostable = { | |
| Adder={"3078201489","Adder","Car","Super"}, |
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
| # found this useful at work, probably will be useful again | |
| declare -a http_code | |
| http_code[000]="Unknown" | |
| http_code[100]="Continue" | |
| http_code[101]="Switching Protocols" | |
| http_code[200]="OK" | |
| http_code[201]="Created" | |
| http_code[202]="Accepted" | |
| http_code[203]="Non-Authoritative Information" | |
| http_code[204]="No Content" |