AV Scripts
StoreDiscord
  • Documentation
  • Guides
    • Dealerships
      • Installation
      • Admin Panel
        • All Vehicles
        • Dealerships
        • Auctions
      • Dealership Panel
        • Overview
        • Auctions
        • Employees
        • Orders
        • Payments
        • Showroom
        • Warehouse
        • Pre Owned
        • Settings
      • Buy/Sell Vehicles
      • Catalogue
      • Exports
      • FAQ
    • House Robbery
      • Installation
      • Add Shells
      • Dispatch
      • Exports
      • Weather
      • Minigames
      • Notifications
      • New Houses
      • Object Types
      • Sell Items
    • Illegal Runs
      • Installation
      • Customization
      • Ox Inventory
      • QB Inventory
    • Multicharacter
      • Installation
      • Character Slots
      • Clothes
      • Scenes
        • Previews
      • Exports
      • Weather
    • Paleto Heist
      • Buy here
    • Refund System
      • Installation
        • Inventories
    • Tuning Script
      • Installation
      • Events and Controls
      • Exports
      • Price Multiplier
    • Vehicleshop
      • Installation
      • Admin Panel
      • Addon Vehicles
      • Functions
        • Fuel
        • Keys
        • VIP
        • Weather
      • Garages
      • HUD
      • Society
    • Weather Script
      • Installation
      • Breath Condensation
      • Fog
      • Real Time Sync
      • Exports
    • VIP Script
      • Installation
      • Exports
      • Categories
      • Admin
      • Tebex
      • Free Tokens
  • LAPTOP PACK V3
    • Laptop v3
      • Installation
        • Inventory
        • Cosmo
        • Permissions
        • QBCore
        • Custom Framework/Inventory
        • Phone
        • Translate
      • Browser
      • Terminal
      • Documents
      • APPs Config
      • Exports
    • Boosting
      • Create Profile
      • APP
      • Contracts
      • Dispatch
      • Lockpick Export
      • VIN Export
    • Business
      • Installation
        • Inventories
          • Origen Inventory
            • ESX
            • QBCore
          • OX Inventory
          • QB/PS/LJ Inventory
          • Quasar Inventory
            • ESX
            • QBCore
          • Codem Inventory
          • Tgiann Inventory
        • ESX
      • Admin Panel
        • Create Zones
        • Edit Zones
      • Config
        • Animations
        • Blips
        • Buttons
        • Crafting
        • Effects
        • Events
          • Items
          • Zones
        • Logs
          • Custom Logs
        • Permissions
      • Exports
      • Banking Scripts
      • Multijobs
    • Cameras
      • Installation
        • Vehicle Cameras
      • Place Camera
      • Job Cameras
    • Drugs
      • Installation
      • Admin Panel
      • APP
      • Tables
      • Labs
        • PC
        • Raids
      • Alert Cops
      • Shells
      • Exports
    • Gangs
      • Installation
      • Admin Panel
        • Gangs
        • Whitelist
      • Properties
      • Register Gang
      • APP
        • Members
        • Settings
        • Missions
        • Blackmarket
        • Properties
      • Graffitis
      • Missions
      • Gang NPC
      • Shells
      • Exports
      • Labs
    • Groups
      • Events
      • Exports
    • Music
      • Installation
      • Music Labels
      • APP
        • Search Music
        • Playlists
        • Headphones
      • CDs
    • Racing
      • Installation
        • Permissions
        • Discord Logs
        • Addon Vehicles
      • Admin Panel
      • Categories
      • Events
      • Exports
      • Personal Settings
      • The Underground
    • Custom APPs
    • Discord Support
Powered by GitBook
On this page
  • Create Graffitis
  • Spray Limitations
  • Use Spray
  • Spray Remover
  1. LAPTOP PACK V3
  2. Gangs

Graffitis

Last updated 3 months ago

Create Graffitis

  • Go to av_gangs\config\_graffiti.lua and add the gang name as key index and the spray texture name like this:

To get the gang name use the admin panel, select the gang from the dropdown menu and click the Copy button in the top right side:

  • You can now restart your server.

  • Spray and Spray Remover can be purchased with a NPC, the config for this can be found in config/shop.lua

  • Only gang members can talk to him, other people will be automatically rejected.

Spray Limitations

  • The spray item stores metadata: the gang name that bough it and an expiration time.

  • Only the gang who bought it can use it.

  • The expiration time is set to 6 hours by default. If the item is not used within this period, it will expire and become unusable. Check config/sprays.lua

  • There's a daily limit on how many sprays a gang can buy, default is 1.

Use Spray

  • Make sure to be close to the wall where you want to place the graffiti, use the spray item and the graffiti prop will be spawned in front of you, you can adjust the graffiti position using your game camera, using your left and right keys you can change rotation.

  • Once you confirm it will start the spray animation, graffiti will be synced server side and the gang zone will be generated on map.

Spray Remover

  • This item can be only used by gang members, you can edit the check in client/editable/spray.lua for ppl who wants to let cops remove graffitis, is on you to make the needed modifications for this.

  • If there are enough gang members online, you will be able to start the animation. Otherwise you will need to wait until there are sufficient members from the graffiti gang online, or you can lower the required number in config/sprays.lua

  • Gang members will receive a notification and a blip on map alerting about their graffiti being removed.