πŸ”₯All scripts on our website are 50% off!πŸ”₯
Logo

Items

Required Items

Spray Can

Required for creating graffiti to mark gang territory.

['spray'] = {
    ['name'] = 'spray', 
    ['label'] = 'Spray', 
    ['weight'] = 10, 
    ['type'] = 'item', 
    ['image'] = 'spray.png', 
    ['unique'] = false, 
    ['useable'] = true, 
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Spray can for gang graffiti'
}

Spray Remover

Used to remove enemy gang graffiti from walls.

['spray_remover'] = {
    ['name'] = 'spray_remover',
    ['label'] = 'Spray Remover',
    ['weight'] = 10,
    ['type'] = 'item',
    ['image'] = 'spray_remover.png',
    ['unique'] = false,
    ['useable'] = true,
    ['shouldClose'] = true,
    ['combinable'] = nil,
    ['description'] = 'Remove graffiti from walls'
}

Usage

Creating Graffiti

  1. Equip a spray can
  2. Use command: /spray <word> (maximum 9 characters)
  3. Aim at a flat wall surface
  4. Follow the progress bar to complete the graffiti
  5. Earn 20 points for your gang

Removing Graffiti

  1. Equip a spray remover
  2. Stand near enemy graffiti
  3. Use the spray remover item
  4. Follow the progress bar to remove the graffiti

Spray Configuration

-- Spray persistence (hours)
Config.sprayPersist = 2

-- Time to create graffiti (milliseconds)
Config.progressBarDuration = 20000

-- Time to remove graffiti (milliseconds)
Config.sprayRemoveDuration = 20000

-- Blacklisted words (cannot be used in graffiti)
Config.blacklist = {'word1', 'word2', 'word3'}

Drug Items

The script supports selling various drugs to NPCs. Configure allowed drugs in the configuration:

AO.allowedDrugs = {'weed_white-widow', 'cocaine', 'lsd'}

Make sure these items exist in your inventory system for the drug dealing feature to work.

[!TIP] You can find spray can and spray remover images in the items gallery at https://items.bit-code.dev/