Code Monkey home page Code Monkey logo

buddy-zones's Introduction

BUDDY ZONES [QB/STANDALONE] - FREE

Buy Me a Coffee at ko-fi.com

8053c801f7b9eea8e17943e16c4671d81aa9f7f7_2_690x302

A Standalone resources for drawing zones on the map easily: This resources creates blips using AddBlipForArea and adds commands for showing and hiding the zones from the map. you can add as many zones as you want from the config file:

Config = {}

-- Main Config
Config.Debug = true 
Config.Notify = "QB" -- QB / Standalone / Custom
Config.EnableCommand = true
Config.Command = "zones" -- Toggle zones command (/[command] show/hide)
Config.CommandArgShow = "show" -- Argument needed to show the zones (/[command] [arg])
Config.CommandArgHide = "hide" -- Argument needed to hide the zones (/[command] [arg])


-- Lang
Config.AlreadyOnError = "Zones are already displayed!"
Config.AlreadyOffError = "Zones are already hidden!"

-- Zones
Config.Zones = {
    {
        Name = "GSF", -- vector2(-73.5, -1566.26)
        Pos = { 
            x = -80.5,
            y = -1568.26,
            z = 56.23,
        },
        Width = 350.0,
        Height = 150.0,
        Display = 4,
        Colour = 25,
        Alpha = 50,
        Rotation = 50,
    },
    { -- vector2(303.09, -2012.24)
        Name = "Vagos",
        Pos = {
            x = 360.09,
            y = -2060.24,
            z = 34.2,
        },
        Width = 175.0,
        Height = 168.0,
        Display = 4,
        Colour = 46,
        Alpha = 50,
        Rotation = 48,
    },
}

Zones will be displayed on the main map if enabled:

image|485x273

Zones will also be seen on the minimap if enabled: image|303x224 image|353x236

Download : Github Other scripts / Support : Tebex

buddy-zones's People

Contributors

buddynotfound avatar neengame avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.