Roleplay Items
22 small props and toys that share one bridge, from dice to a boombox.
Dependencies
ox_liboxmysqlgig-roleplayItems-assets(props for the speakers, torch and umbrella, plus the sound set)- Qbox, QB-Core or ESX
screenshot-basic, only for the polaroid camera- pma-voice or SaltyChat, only for the megaphone
ensure gig-roleplayItems-assets
ensure gig-roleplayItemsWhat's inside
Dice and coin flip, mop with a dirt system, rappel kit, binoculars, fireworks in four sizes, news camera and microphone, polaroid camera, umbrella, ten chairs, three speakers, megaphone, calculator, Rubik's cube, vapes in six colours, cigarettes and lighter, spray can and thinner for graffiti, torch, whistles, fidget spinners and a tow rope.
Every module has an enabled flag in cfg.lua. Turn off what you do not want and its files are skipped entirely. Every item also has a /command equivalent, configurable per module, so you can ship a subset of the items.
Speaker music
The three speakers play tracks from the musics/ folder inside the resource; players cannot paste links. Drop .ogg, .mp3 or .wav files in, then run refresh and restart the resource. The file name without its extension is the title players see and search, and underscores are shown as spaces, so Artist - Title.ogg works well. .ogg is the safest format; if a track does not play, the reason is printed in the player's F8 console.
The owner of a speaker opens its menu to pick a track from a searchable list, pause, seek, skip to the previous or next track and set the volume. When a track ends the next one starts, and everyone nearby hears the same position.
Only add music you have the rights to use on your server.
Icons
The icons/ folder has one icon per item, named gig_<item>.png. Copy them into your inventory's image folder and drop the gig_ prefix so the file name matches the item name:
# from the icons folder
for f in gig_*.png; do cp "$f" "/path/to/inventory/images/${f#gig_}"; doneGet-ChildItem gig_*.png | ForEach-Object { Copy-Item $_ "C:\path\to\inventory\images\$($_.Name -replace '^gig_','')" }Items
You only need the items for the modules you keep enabled. lighter is only needed with cfg.cigarette.requireLighter = true, polaroid_film only with cfg.polaroid.film.required = true. Weights are suggestions.
['dice'] = {
label = 'Dice',
weight = 50,
stack = true,
close = true,
description = 'A single six-sided die.',
},
['dice2'] = {
label = 'Double Dice',
weight = 100,
stack = true,
close = true,
description = 'A pair of six-sided dice.',
},
['dice3'] = {
label = 'Triple Dice',
weight = 150,
stack = true,
close = true,
description = 'Three six-sided dice.',
},
['dice4'] = {
label = 'Quad Dice',
weight = 200,
stack = true,
close = true,
description = 'Four six-sided dice.',
},
['coin'] = {
label = 'Coin',
weight = 10,
stack = true,
close = true,
description = 'Flip it and let fate decide.',
},
['mop'] = {
label = 'Mop',
weight = 2000,
stack = true,
close = true,
description = 'For scrubbing dirty floors.',
},
['rappel'] = {
label = 'Rappel Kit',
weight = 3000,
stack = true,
close = true,
description = 'Rope and harness for rappelling down a wall.',
},
['binoculars'] = {
label = 'Binoculars',
weight = 800,
stack = true,
close = true,
description = 'For getting a closer look.',
},
['firework_small'] = {
label = 'Small Firework',
weight = 1000,
stack = true,
close = true,
description = 'A small firework rocket.',
},
['firework_medium'] = {
label = 'Medium Firework',
weight = 1500,
stack = true,
close = true,
description = 'A medium firework rocket.',
},
['firework_large'] = {
label = 'Large Firework',
weight = 2000,
stack = true,
close = true,
description = 'A large firework rocket.',
},
['firework_mega'] = {
label = 'Mega Firework',
weight = 2500,
stack = true,
close = true,
description = 'The biggest firework money can buy.',
},
['cam'] = {
label = 'News Camera',
weight = 4000,
stack = true,
close = true,
description = 'Weazel News broadcast camera.',
},
['mic'] = {
label = 'News Microphone',
weight = 500,
stack = true,
close = true,
description = 'Weazel News handheld microphone.',
},
['polaroid'] = {
label = 'Polaroid Camera',
weight = 1200,
stack = true,
close = true,
description = 'Instant camera. Say cheese.',
},
['polaroid_film'] = {
label = 'Polaroid Film',
weight = 100,
stack = true,
close = true,
description = 'A film cartridge for the polaroid camera.',
},
['photo'] = {
label = 'Photo',
weight = 10,
stack = false,
close = true,
description = 'A developed polaroid photo.',
},
['umbrella'] = {
label = 'Umbrella',
weight = 700,
stack = true,
close = true,
description = 'Keeps the Los Santos rain off.',
},
['chair1'] = {
label = 'Camping Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair2'] = {
label = 'Director\'s Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair3'] = {
label = 'Wooden Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair4'] = {
label = 'Wooden Chair (Dark)',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair5'] = {
label = 'Office Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair6'] = {
label = 'Lounge Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair7'] = {
label = 'Deck Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair8'] = {
label = 'Plastic Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair9'] = {
label = 'Plastic Chair (Blue)',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['chair10'] = {
label = 'Clubhouse Chair',
weight = 2500,
stack = true,
close = true,
description = 'A foldable chair you can place anywhere.',
},
['boombox'] = {
label = 'Boombox',
weight = 5000,
stack = true,
close = true,
description = 'Portable speaker. Place it and play a track.',
},
['speaker2'] = {
label = 'Speaker',
weight = 6000,
stack = true,
close = true,
description = 'Portable speaker. Place it and play a track.',
},
['speaker_ar'] = {
label = 'AR Speaker',
weight = 6000,
stack = true,
close = true,
description = 'Portable speaker. Place it and play a track.',
},
['megaphone'] = {
label = 'Megaphone',
weight = 900,
stack = true,
close = true,
description = 'Makes sure everyone hears you.',
},
['calculator'] = {
label = 'Calculator',
weight = 150,
stack = true,
close = true,
description = 'Crunch the numbers.',
},
['rubikcube'] = {
label = 'Rubik\'s Cube',
weight = 200,
stack = true,
close = true,
description = 'Six sides, one solution.',
},
['vape'] = {
label = 'Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of white vapour.',
},
['vape_red'] = {
label = 'Red Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of red vapour.',
},
['vape_blue'] = {
label = 'Blue Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of blue vapour.',
},
['vape_green'] = {
label = 'Green Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of green vapour.',
},
['vape_purple'] = {
label = 'Purple Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of purple vapour.',
},
['vape_pink'] = {
label = 'Pink Vape',
weight = 100,
stack = true,
close = true,
description = 'Exhales a cloud of pink vapour.',
},
['cigarette'] = {
label = 'Cigarette',
weight = 10,
stack = true,
close = true,
description = 'Light it up and take a drag.',
},
['lighter'] = {
label = 'Lighter',
weight = 50,
stack = true,
close = true,
description = 'For lighting cigarettes.',
},
['spraycan'] = {
label = 'Spray Can',
weight = 400,
stack = true,
close = true,
description = 'Tag a wall with your own artwork.',
},
['thinner'] = {
label = 'Paint Thinner',
weight = 400,
stack = true,
close = true,
description = 'Wipes graffiti off a wall.',
},
['torch'] = {
label = 'Torch',
weight = 1000,
stack = true,
close = true,
description = 'A burning torch. Lights the way.',
},
['whistle'] = {
label = 'Whistle',
weight = 50,
stack = true,
close = true,
description = 'A referee whistle.',
},
['whistle2'] = {
label = 'Whistle (Blue)',
weight = 50,
stack = true,
close = true,
description = 'A referee whistle.',
},
['whistle3'] = {
label = 'Whistle (Gold)',
weight = 50,
stack = true,
close = true,
description = 'A referee whistle.',
},
['whistle4'] = {
label = 'Whistle (Red)',
weight = 50,
stack = true,
close = true,
description = 'A referee whistle.',
},
['fidgetspinner'] = {
label = 'Fidget Spinner',
weight = 80,
stack = true,
close = true,
description = 'Spin it. Then spin it again.',
},
['fidgetspinner2'] = {
label = 'Fidget Spinner (Blue)',
weight = 80,
stack = true,
close = true,
description = 'Spin it. Then spin it again.',
},
['fidgetspinner3'] = {
label = 'Fidget Spinner (Red)',
weight = 80,
stack = true,
close = true,
description = 'Spin it. Then spin it again.',
},
['fidgetspinner4'] = {
label = 'Fidget Spinner (Gold)',
weight = 80,
stack = true,
close = true,
description = 'Spin it. Then spin it again.',
},
['rope'] = {
label = 'Tow Rope',
weight = 3000,
stack = true,
close = true,
description = 'For towing a stuck vehicle.',
},['dice'] = { ['name'] = 'dice', ['label'] = 'Dice', ['weight'] = 50, ['type'] = 'item', ['image'] = 'dice.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A single six-sided die.' },
['dice2'] = { ['name'] = 'dice2', ['label'] = 'Double Dice', ['weight'] = 100, ['type'] = 'item', ['image'] = 'dice2.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A pair of six-sided dice.' },
['dice3'] = { ['name'] = 'dice3', ['label'] = 'Triple Dice', ['weight'] = 150, ['type'] = 'item', ['image'] = 'dice3.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Three six-sided dice.' },
['dice4'] = { ['name'] = 'dice4', ['label'] = 'Quad Dice', ['weight'] = 200, ['type'] = 'item', ['image'] = 'dice4.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Four six-sided dice.' },
['coin'] = { ['name'] = 'coin', ['label'] = 'Coin', ['weight'] = 10, ['type'] = 'item', ['image'] = 'coin.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Flip it and let fate decide.' },
['mop'] = { ['name'] = 'mop', ['label'] = 'Mop', ['weight'] = 2000, ['type'] = 'item', ['image'] = 'mop.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'For scrubbing dirty floors.' },
['rappel'] = { ['name'] = 'rappel', ['label'] = 'Rappel Kit', ['weight'] = 3000, ['type'] = 'item', ['image'] = 'rappel.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Rope and harness for rappelling down a wall.' },
['binoculars'] = { ['name'] = 'binoculars', ['label'] = 'Binoculars', ['weight'] = 800, ['type'] = 'item', ['image'] = 'binoculars.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'For getting a closer look.' },
['firework_small'] = { ['name'] = 'firework_small', ['label'] = 'Small Firework', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'firework_small.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A small firework rocket.' },
['firework_medium'] = { ['name'] = 'firework_medium', ['label'] = 'Medium Firework', ['weight'] = 1500, ['type'] = 'item', ['image'] = 'firework_medium.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A medium firework rocket.' },
['firework_large'] = { ['name'] = 'firework_large', ['label'] = 'Large Firework', ['weight'] = 2000, ['type'] = 'item', ['image'] = 'firework_large.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A large firework rocket.' },
['firework_mega'] = { ['name'] = 'firework_mega', ['label'] = 'Mega Firework', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'firework_mega.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'The biggest firework money can buy.' },
['cam'] = { ['name'] = 'cam', ['label'] = 'News Camera', ['weight'] = 4000, ['type'] = 'item', ['image'] = 'cam.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Weazel News broadcast camera.' },
['mic'] = { ['name'] = 'mic', ['label'] = 'News Microphone', ['weight'] = 500, ['type'] = 'item', ['image'] = 'mic.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Weazel News handheld microphone.' },
['polaroid'] = { ['name'] = 'polaroid', ['label'] = 'Polaroid Camera', ['weight'] = 1200, ['type'] = 'item', ['image'] = 'polaroid.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Instant camera. Say cheese.' },
['polaroid_film'] = { ['name'] = 'polaroid_film', ['label'] = 'Polaroid Film', ['weight'] = 100, ['type'] = 'item', ['image'] = 'polaroid_film.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A film cartridge for the polaroid camera.' },
['photo'] = { ['name'] = 'photo', ['label'] = 'Photo', ['weight'] = 10, ['type'] = 'item', ['image'] = 'photo.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A developed polaroid photo.' },
['umbrella'] = { ['name'] = 'umbrella', ['label'] = 'Umbrella', ['weight'] = 700, ['type'] = 'item', ['image'] = 'umbrella.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Keeps the Los Santos rain off.' },
['chair1'] = { ['name'] = 'chair1', ['label'] = 'Camping Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair1.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair2'] = { ['name'] = 'chair2', ['label'] = 'Director\'s Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair2.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair3'] = { ['name'] = 'chair3', ['label'] = 'Wooden Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair3.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair4'] = { ['name'] = 'chair4', ['label'] = 'Wooden Chair (Dark)', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair4.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair5'] = { ['name'] = 'chair5', ['label'] = 'Office Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair5.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair6'] = { ['name'] = 'chair6', ['label'] = 'Lounge Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair6.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair7'] = { ['name'] = 'chair7', ['label'] = 'Deck Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair7.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair8'] = { ['name'] = 'chair8', ['label'] = 'Plastic Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair8.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair9'] = { ['name'] = 'chair9', ['label'] = 'Plastic Chair (Blue)', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair9.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['chair10'] = { ['name'] = 'chair10', ['label'] = 'Clubhouse Chair', ['weight'] = 2500, ['type'] = 'item', ['image'] = 'chair10.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A foldable chair you can place anywhere.' },
['boombox'] = { ['name'] = 'boombox', ['label'] = 'Boombox', ['weight'] = 5000, ['type'] = 'item', ['image'] = 'boombox.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Portable speaker. Place it and play a track.' },
['speaker2'] = { ['name'] = 'speaker2', ['label'] = 'Speaker', ['weight'] = 6000, ['type'] = 'item', ['image'] = 'speaker2.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Portable speaker. Place it and play a track.' },
['speaker_ar'] = { ['name'] = 'speaker_ar', ['label'] = 'AR Speaker', ['weight'] = 6000, ['type'] = 'item', ['image'] = 'speaker_ar.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Portable speaker. Place it and play a track.' },
['megaphone'] = { ['name'] = 'megaphone', ['label'] = 'Megaphone', ['weight'] = 900, ['type'] = 'item', ['image'] = 'megaphone.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Makes sure everyone hears you.' },
['calculator'] = { ['name'] = 'calculator', ['label'] = 'Calculator', ['weight'] = 150, ['type'] = 'item', ['image'] = 'calculator.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Crunch the numbers.' },
['rubikcube'] = { ['name'] = 'rubikcube', ['label'] = 'Rubik\'s Cube', ['weight'] = 200, ['type'] = 'item', ['image'] = 'rubikcube.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Six sides, one solution.' },
['vape'] = { ['name'] = 'vape', ['label'] = 'Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of white vapour.' },
['vape_red'] = { ['name'] = 'vape_red', ['label'] = 'Red Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape_red.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of red vapour.' },
['vape_blue'] = { ['name'] = 'vape_blue', ['label'] = 'Blue Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape_blue.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of blue vapour.' },
['vape_green'] = { ['name'] = 'vape_green', ['label'] = 'Green Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape_green.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of green vapour.' },
['vape_purple'] = { ['name'] = 'vape_purple', ['label'] = 'Purple Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape_purple.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of purple vapour.' },
['vape_pink'] = { ['name'] = 'vape_pink', ['label'] = 'Pink Vape', ['weight'] = 100, ['type'] = 'item', ['image'] = 'vape_pink.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Exhales a cloud of pink vapour.' },
['cigarette'] = { ['name'] = 'cigarette', ['label'] = 'Cigarette', ['weight'] = 10, ['type'] = 'item', ['image'] = 'cigarette.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Light it up and take a drag.' },
['lighter'] = { ['name'] = 'lighter', ['label'] = 'Lighter', ['weight'] = 50, ['type'] = 'item', ['image'] = 'lighter.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'For lighting cigarettes.' },
['spraycan'] = { ['name'] = 'spraycan', ['label'] = 'Spray Can', ['weight'] = 400, ['type'] = 'item', ['image'] = 'spraycan.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Tag a wall with your own artwork.' },
['thinner'] = { ['name'] = 'thinner', ['label'] = 'Paint Thinner', ['weight'] = 400, ['type'] = 'item', ['image'] = 'thinner.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Wipes graffiti off a wall.' },
['torch'] = { ['name'] = 'torch', ['label'] = 'Torch', ['weight'] = 1000, ['type'] = 'item', ['image'] = 'torch.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A burning torch. Lights the way.' },
['whistle'] = { ['name'] = 'whistle', ['label'] = 'Whistle', ['weight'] = 50, ['type'] = 'item', ['image'] = 'whistle.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A referee whistle.' },
['whistle2'] = { ['name'] = 'whistle2', ['label'] = 'Whistle (Blue)', ['weight'] = 50, ['type'] = 'item', ['image'] = 'whistle2.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A referee whistle.' },
['whistle3'] = { ['name'] = 'whistle3', ['label'] = 'Whistle (Gold)', ['weight'] = 50, ['type'] = 'item', ['image'] = 'whistle3.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A referee whistle.' },
['whistle4'] = { ['name'] = 'whistle4', ['label'] = 'Whistle (Red)', ['weight'] = 50, ['type'] = 'item', ['image'] = 'whistle4.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A referee whistle.' },
['fidgetspinner'] = { ['name'] = 'fidgetspinner', ['label'] = 'Fidget Spinner', ['weight'] = 80, ['type'] = 'item', ['image'] = 'fidgetspinner.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spin it. Then spin it again.' },
['fidgetspinner2'] = { ['name'] = 'fidgetspinner2', ['label'] = 'Fidget Spinner (Blue)', ['weight'] = 80, ['type'] = 'item', ['image'] = 'fidgetspinner2.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spin it. Then spin it again.' },
['fidgetspinner3'] = { ['name'] = 'fidgetspinner3', ['label'] = 'Fidget Spinner (Red)', ['weight'] = 80, ['type'] = 'item', ['image'] = 'fidgetspinner3.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spin it. Then spin it again.' },
['fidgetspinner4'] = { ['name'] = 'fidgetspinner4', ['label'] = 'Fidget Spinner (Gold)', ['weight'] = 80, ['type'] = 'item', ['image'] = 'fidgetspinner4.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'Spin it. Then spin it again.' },
['rope'] = { ['name'] = 'rope', ['label'] = 'Tow Rope', ['weight'] = 3000, ['type'] = 'item', ['image'] = 'rope.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'For towing a stuck vehicle.' },Polaroid camera
Photos are uploaded to Fivemanage. Start screenshot-basic, create an API key under Media, API keys, and put it in cfg_sv.lua:
cfg.fivemanageToken = 'YOUR_TOKEN_HERE'If you host photos elsewhere, add the domain to cfg.polaroid.allowedImageHosts. Only listed hosts render above a player's head. An empty token disables photo capture and nothing else.
Permissions
- News camera and microphone:
cfg.news.jobs. Empty means everyone;{ 'reporter' }restricts it. - Graffiti: players always clean their own tags. To let staff clean any tag, grant the ace in
server.cfg:
add_ace group.admin gig.graffiti allowcfg.graffiti.adminCanCleanAll = false turns that override off.
Config worth knowing
| Key | What it does |
|---|---|
cfg.hideHud / cfg.showHud | functions called when the news camera or megaphone overlay opens and closes. Wire your HUD in here. |
cfg.boombox.allowPlacement | false stops players placing boomboxes |
cfg.boombox.removeAfterUsage | placing a speaker takes the item and pickup gives it back; true consumes it instead |
cfg.graffiti.maxPerPlayer | tags kept per player; the oldest is dropped past this |
cfg.mop.dirt.enabled | the muddy footprint system players can mop up |
cfg.rope.blacklistedClasses | vehicle classes the tow rope refuses |
GIG Scripts