Amount laundered | Percentage taken | Laundered per second |
---|---|---|
0-100k | 25% | 150 |
100k-500k | 20% | 300 |
over 500k | 15% | 600 |
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 zoneNames = { | |
AIRP = "Los Santos International Airport", | |
ALAMO = "Alamo Sea", | |
ALTA = "Alta", | |
ARMYB = "Fort Zancudo", | |
BANHAMC = "Banham Canyon Dr", | |
BANNING = "Banning", | |
BAYTRE = "Baytree Canyon", | |
BEACH = "Vespucci Beach", | |
BHAMCA = "Banham Canyon", |
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 test = { | |
foo = { | |
bar = { | |
boz = 42, | |
}, | |
}, | |
} | |
function pHashPathOk(hash,...) | |
if hash == nil or type(hash) ~= 'table' 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
function removeStopZone(heap,player) | |
if heap.stopZones[player] then | |
local zone = heap.stopZones[player] | |
local success = RemoveSpeedZone(zone.id) | |
if success then | |
log('Speed zone',zone.id,'removed') | |
else | |
log('Failed to remove speed zone',zone.id) | |
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
function pSwichLocation(location,heading,groundCoord) | |
local camPitch = GetGameplayCamRelativePitch() | |
local camHeading = GetGameplayCamRelativeHeading() | |
local ped = PlayerPedId() | |
local origin = GetEntityCoords(ped) | |
if groundCoord then | |
location = vector3(location.x,location.y,location.z + 1.0) |
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 BINDSTRING = { | |
--[[ TODO: All the controller stuff | |
b_0 = '', | |
b_1 = '', | |
b_2 = '', | |
b_3 = '', | |
b_4 = '', | |
b_5 = '', | |
b_6 = '', | |
b_7 = '', |
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 zZoom = { | |
current = tonumber(Game.GetCVar('fov') or 90), | |
target = 90, | |
step = 10, | |
min = 20, | |
max = 90, | |
reset = 90, | |
verbose = false, | |
} |
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 on_server = IsDuplicityVersion() | |
local resource = GetCurrentResourceName() | |
local callbacks = {} | |
local eventName = resource..':night-callback' | |
if on_server then | |
local callbacks = {} | |
function DefineNightCallback(name, funcref) | |
if callbacks[name] then | |
return false |
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
---@class PickOne | |
---@field header string The text above the buttons | |
---@field begin vector2 Top left of menu when it opens | |
---@field fontSize number Size of the menu font | |
---@field widest number The width of the widest element in the menu | |
---@field verticalSpace number The vertical spacing between menu items | |
---@field verticalOffset number The vertical offset for the cursor location | |
---@field itemHeight number The number of each item | |
---@field textOffset number The offset between the button location and where text is drawn, vertically. | |
---@field buttons table A table of the buttons to draw |
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
RegisterNetEvent('night-tools:superman') | |
AddEventHandler ('night-tools:superman', function() | |
serverlog('is flying!') | |
SetPlayerParachutePackTintIndex(PlayerId(),3) | |
SetPlayerParachuteTintIndex(PlayerId(),6) | |
Citizen.CreateThread(function() | |
GiveWeaponToPed(PlayerPedId(),`GADGET_PARACHUTE`,1,false,true) |