Skip to content

chefrz/rz-atmrobbery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

rz-atmrobbery

  • Atm Robbery [QBCORE]
  • New QBCore

Showcase

Discord

Updtate

  • Dispatch installation edited and new ps-dispatch adapted.

Features

  • Basic Config
  • Low Resmon
  • Script using full qb-target
  • Easy editable language file

Dependencies

Installation

Dispatch

  • Add the following code to your ps-dispatch/client/alerts.lua
local function AtmRobbery()
    local coords = GetEntityCoords(cache.ped)
    local dispatchData = {
        message = locale('atmrobbery'),
        codeName = 'atmrobbery',
        code = '10-10',
        icon = 'fab fa-artstation',
        priority = 2,
        coords = coords,
        gender = GetPlayerGender(),
        street = GetStreetAndZone(coords),
        alertTime = nil,
        jobs = { 'leo'}
    }

    TriggerServerEvent('ps-dispatch:server:notify', dispatchData)
end
exports('AtmRobbery', AtmRobbery)
  • Add the following code to your ps-dispatch/shared/config.lua/Config.Blips
    ['atmrobbery'] = {
        radius = 0,
        sprite = 52,
        color = 1,
        scale = 1.5,
        length = 2,
        sound = 'Lose_1st',
        sound2 = 'robberysound',
        offset = false,
        flash = false
    },
  • Add the following code to your ps-dispatch/locales
"atmrobbery": "Atm Robbery",

Script

  • Download the script and put it in the [qb] directory.
  • Add the following code to your server.cfg/resouces.cfg
ensure rz-atmrobbery

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages