{
  "name": "Tyze Regular Money Bag Drop",
  "author": "Tyze",
  "version": "1.3",
  "description": "Regularny drop toreb z kasą co ~8.5 sekundy (500k)",
  "type": "lua_script_preset",
  "settings": {
    "enabled": false,
    "amount": 500000,
    "delay": 8500,
    "bags_per_tick": 2,
    "drop_type": "PICKUP_MONEY_MED_BAG"
  },
  "hotkey": "F6",
  "code": "local enabled = false\nlocal amount = 500000\nlocal delay = 8500\n\nfunction ToggleDrop()\n    enabled = not enabled\n    if enabled then\n        util.notify('Money Bag Drop WŁĄCZONY (500k)', 'success')\n    else\n        util.notify('Money Bag Drop WYŁĄCZONY', 'error')\n    end\nend\n\nutil.create_tick_handler(function()\n    if not enabled then return true end\n\n    local ped = PLAYER.PLAYER_PED_ID()\n    if ped == 0 then return true end\n\n    local coords = ENTITY.GET_ENTITY_COORDS(ped, true)\n\n    for i = 1, 2 do\n        OBJECT.CREATE_AMBIENT_PICKUP(\n            joaat('PICKUP_MONEY_MED_BAG'),\n            coords.x + math.random(-5, 5),\n            coords.y + math.random(-5, 5),\n            coords.z + 1.0,\n            0,\n            amount,\n            1,\n            false,\n            true\n        )\n    end\n\n    return true\nend)\n\nmenu.add_action('Toggle Money Bag Drop (500k)', ToggleDrop)\n\nutil.notify('Tyze Money Drop Preset załadowany', 'info')",
  "category": "Recovery"
}