Rename the banks for a custom map#
Config.BankNames = {
fleeca_pillbox = 'Fleeca, Martin Place',
paleto = 'Bank of Blaine',
}
Restart the resource, then reset the heist in /heisteditor so the new names replace saved ones.
Run the Collector without the criminal tablet#
Config.Tablet = { enabled = false, resource = 'glitch-criminaltablet' }
Config.Collector.coords = vector4(-1545.0, 125.0, 56.8, 220.0)
The ped spawns at Config.Collector.coords and trust is skipped.
Change the Collector's prices#
Config.Collector.prices.rare_stamp = { 4000, 6000 }
Config.Collector.rerollSeconds = 3600
Config.Collector.trustBonus = 0.15
Add a police job that cannot sell#
Config.PoliceJobs = { 'police', 'sheriff', 'bcso', 'sasp', 'parkranger' }
Find the Collector from another resource#
The Collector's position is published in a global state bag. Treat it as read-only, for example to draw a blip or run a test.
local spot = GlobalState['gbr:collector']
if spot then
print(('Collector at %.1f %.1f %.1f (%s)'):format(spot.x, spot.y, spot.z, spot.label))
end
The table holds x, y, z, w, model and label. It is nil when the Collector is off or the resource is stopped.
Check a new install#
- Start the server and look in the console for heist registration lines from glitch-heistEditor.
- Open
/heisteditorand confirm Fleeca, Paleto and Pacific Standard are listed. - Walk to the Collector at the configured coordinates and look at him with ox_target.
- Give yourself a
rare_coinand sell it. You should receiveblack_moneyand the sale message.
Stuck on a step?Ask in the Discord →