🖋️FUNCTIONS

Features

Hacking Features

  • PIN Restoration: Allows restoring the PIN if forgotten

  • Create Fake Card: Create fake cards to find yourself in pure RP situations, manage every metadata value

  • TIME heist Restoration: Optimize time and hack time restore for heists removing cooldown with hack tool

  • Crafting Tools: Create tools dedicated to robberies and hacking using the 3D printer

  • Tools Shop: Support Shop Items in ox to Buy Tool

  • Steal NPC: Credit card clone provider

Multi Core Support

  • Supports: lgf, esx, qb

Multi Notify System Support

  • Supports: lgf, esx, qb, ox

SQL Table Execution and Creation

  • Execute and create SQL table: CB.RunSqlTable

Using convar you can decide whether or not to run the function to create the tables, if you want to insert them manually they are here

Banking SQL

CREATE TABLE IF NOT EXISTS `lgf_banking` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(255) NOT NULL,
  `pin` varchar(255) NOT NULL,
  `last_updated` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

Printer SQL

CREATE TABLE IF NOT EXISTS `lgf_printer` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(255) NOT NULL,
  `serialNumber` longtext NOT NULL,
  `batteryStatus` bigint(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

Credit Card Configuration

  • Credit Card Item:

    • CB.ItemCreditCard

  • Credit Card Purchase Price:

    • CB.PriceCreditCard

  • Fake Credit Card Item:

    • CB.ItemFakeCreditCard

Progress Bar Type

  • Type: CB.TypeProgressBar (circle or label)

ATM Prop Models

  • Models: CB.PropAtm

Bank Zones and Configuration

  • Zones: CB.BankingZone

SkillCheck

  • Difficulty Levels:

    • easy, normal, hard, insane

  • SkillCheck Type:

    • CB.SkillCheckType

Enable Camera for Ped

  • Enable: CB.EnableCam


Fake Credit Card Configuration

  • Configuration: CB.FakeCreditCard

  • Fake Credit Card Sellers:

    • Position: PedPosSell

    • Model: PedModelSell

    • Scenario: PedScenarioSell

    • Price:

      • Fake Card: PriceFakeCard

      • Hack Pin: PriceHackPin

    • SkillCheck: SkillCheck

    • Customization Options:

      • Choose Name

      • Choose Image

      • Manage Metadata

      • Set Weight


Dispatch Configuration

  • Configuration: CB.UseDispatchInternal

    • Use Dispatch Internal for Robbery

      • Job: CB.DistPatchJob

        • Choice of MultiJob {'police', 'ambulance'}

      • Duration: DurationBlipDispatch

  • Configuration: CB.UseCustomDispatch

    • Get player id, coordinates, job

    • Custom Dispatch:

      • Return playerId, coords, job

      CB.UseCustomDispatch = true
      CB.CustomDistPatch = function(playerId, coords, job)
          print(playerId, coords, job)
      end

Robbery Configuration

  • Configuration: CB.BankingZone

    • Zone for Starting the Robbery: RobberyZone

    • Item Requested for Robbery: ItemRequestedRobbery

    • Quantity of Item Requested for Robbery: QntItemRequested

    • Robbery Drop Items: RobberyDrop

      • Minimum and Maximum Quantity for Drop Items

        • Example:

         RobberyDrop = {
             ['money'] = { min = 20, max = 50 },
             ['water'] = { min = 4, max = 10 },
         },
    • Skill Check Configuration: SkillCheck

      • Enable or Disable Skill Check: Enable

      • Skill Check Difficulty

      • Skill Check Type

    • Hacking Provide

      • Optimize time and hack time restore for heists removing cooldown with hack tool

      • Make tools to rob or hack with 3d printer tool


Printer Configuration

  • 3D Printer Configuration: CB.CraftingPrinter

    • Weather System

      • when there is rain the printer will have two more description options with the current weather, and if it rains it cannot be used, and a further option will be shown with a warning,

    • Label

      • (Label in 3D printer menu)

    • itemHash

      • (Hash Items)

    • itemRequested

      • (Item requested for Craft Tool or Weapon)

    • ItemRequestedQnt

      • (Quantity requested for Craft Tool or Weapon)

    • Description

      • (Provide Description in menu)

    • CraftingTime

      • (Crafting Time with Progress Bar)

    • propHash

      • (Hash Prop for Create object in 3D Printer. Prop Object: thttps://gtahash.ru/)

        • Minimum and Maximum Quantity for Craft Tools

    • Battery

      • Recharge the battery via item

      Example Determine Items in Printer:

   CB.CraftingPrinter = {
    { Label = 'Weapon Pistol',  itemHash = 'WEAPON_PISTOL',       ItemRequestedPrint = 'water', ItemRequestedQnt = 3, Description = 'A standard issue pistol with moderate damage and accuracy.', CraftingTime = 20, propHash = 'w_pi_pistol' },
    { Label = 'Carabine Rifle', itemHash = 'WEAPON_CARBINERIFLE', ItemRequestedPrint = 'water', ItemRequestedQnt = 5, Description = 'A submachine gun with high fire rate and decent damage.',    CraftingTime = 20, propHash = 'w_ar_carbinerifle' }
}

Admin Panel Printer

LGF_Banking includes an Admin Panel Printer feature that allows authorized users to manage 3D printers in real-time. This feature is essential for server administrators to control and maintain the printer entities efficiently.

Key Features:

  • Delete Object in Real-Time all sync: Admins can instantly remove a 3D printer object from the game world.

  • Delete Object in Real-Time all sync: Admins can restore a 3D printer object, making it functional again in the game world.

    • Admin Panel Printer: convars

      • Printer Data

        • Get data like name, battery, serial code

          • Delete Printer for player (if the object is spawned it will be eliminated wherever it is)

          • Restore Specific Printer


NPC Robbery System

LGF_Banking now includes a feature for robbing NPCs, adding a dynamic and interactive element to your server. This allows players to engage in robbery scenarios with NPCs, providing rewards and consequences based on their actions.

Key Features:

  • Interactive Progress Bar: A visible progress bar indicates the time required to complete the robbery.

  • Distance Checks: Ensures the player stays within a specific distance of the NPC during the robbery.

  • NPC Reaction: NPCs will react aggressively if the player gets too close or too far, creating a challenging and immersive experience.

Stealing NPC Configuration

Customize the settings for the NPC robbery system to tailor the experience to your server's needs.

  • CardstealItem: Specify the item used for stealing from NPCs.

  • TimeStealing: Set the duration, in seconds, for completing the robbery.

  • DistanceCancelSteal: Define the distance, in meters, that triggers the cancellation of the robbery if the player moves away.

  • DistanceStartAngryorScaried: Determine the proximity, in meters, at which the player can trigger the NPC's aggressive or frightened reaction.

  • Price:

    • min: Set the minimum value of the stolen loot.

    • max: Set the maximum value of the stolen loot.


Bank Robbery Configuration

LGF_Banking supports customizable bank robberies, enabling players to engage in heists with randomized loot items. You can adjust various aspects of bank robberies, including loot items, hacking challenges, and the dispatch system.

Initiating a Bank Robbery

To initiate a bank robbery, players must interact with a designated object within the bank area. Once the robbery commences, players may encounter hacking challenges or other obstacles that they must overcome to succeed in the heist.

Robbery Loot Items

You have the option to configure the loot items available to players during bank robberies. These items can be randomized to introduce variety and excitement to the robbery experience, offering players a chance to obtain different rewards each time they engage in a heist.

Dispatch System

LGF_Banking provides two alternatives for handling robbery notifications: internal dispatch and custom dispatch.

  • Internal Dispatch: Automatically sends robbery notifications to all players, complete with blip and position indicators.

  • Custom Dispatch: Grants you the flexibility to customize how robbery notifications are managed, allowing for more control over the notification process. With custom dispatch, you can define specific actions or alerts triggered when a robbery occurs, such as notifying law enforcement or broadcasting messages to nearby players. This option offers a tailored approach to managing robbery events on your game server.

Hacktool Item for Cooldown Deviation

In addition to the standard cooldown mechanism, LGF_Banking allows players to deviate the cooldown using a special hacktool item. When used, this item can bypass or reduce the cooldown period, providing players with more strategic options during bank heists.


Society Funds Management (Boss Exclusive)

  • Feature: Ability to manage society funds

    • The feature enables the management of society funds, allowing actions such as deposit or withdraw.

  • Access: Restricted to boss roles within each framework

    • Restricted to boss roles within each framework, ensuring control and preventing misuse by limiting access to authorized personnel.

Last updated