[ESX/QBCore] Kidnapping/Chloroform Script

cant buy it, says 15cents, need to spend a minimum of 75cents lol

oops sorry

Your script has no lines?

I will count them tomorrow

No one here is stupid enough to think you would sell this for $100 and make it free. That kind of abuse of the system to try and make it escrowed.

1 Like

Very Nice <3

1 Like

so you changed it to $0.75 but cant buy it cuz ur site says has to be atleast $0.76

1 Like

Should be fixed sorry

how about items ready in readme for qbcore

1 Like

You just need to start the script the items will get registered automatically then you have to reload the inventory or restart the server to show the images of the items

im useing qbcore i need items in lua not sql for esx

Yea I know the file is only for people who are using esx but on qbcore the items get automatically if you start the script to get the items you just have to type /giveitem ID chloroform amount

  • Chloroform (Item ID: chloroform) (QBCore only)
  • Cloth (Item ID: cloth) (QBCore only)
  • Chloroform Cloth (Item ID: chloroform_cloth)
  • Water bucket (Item ID: waterbucket)

could i have the items and images for qbcore it didnt auto add mine, tried 5 storms

I dont understand what everyone is complaining about.

The developer is NOT selling this script for free. Just because it doesnt have a price doesnt mean its freeā€¦ Make sure you can read before buyingā€¦

On the other noteā€¦ The script is definitely unique and could add tons of good RP scenes from it.

What do you exactly need

just qbcore shared items lua and inventory images, none of mine added i assume maybe cuz my files are so big lol. if not i can just go make the items for those 4 items but i figured copy and paste would be much easier

Here is what you requested sir. If you want to change the animations check this site out Animation List
Items:

['chloroform']                      = {['name'] = 'chloroform',                        ['label'] = 'Chloroform',                ['weight'] = 10,           ['type'] = 'item',         ['image'] = 'chloroform.png',             ['unique'] = false,         ['useable'] = true,      ['shouldClose'] = true,     ['combinable'] = {accept = {'cloth'}, reward = 'chloroform_cloth', anim = {['dict'] = 'amb@world_human_bum_slumped@male@laying_on_left_side@base', ['lib'] = 'base', ['text'] = 'Mixing chloroform..', ['timeOut'] = 10000}},   ['description'] = 'Chloroform'},
['cloth']                           = {['name'] = 'cloth',                             ['label'] = 'Cloth',                     ['weight'] = 5,            ['type'] = 'item',         ['image'] = 'cloth.png',                  ['unique'] = false,         ['useable'] = true,      ['shouldClose'] = true,     ['combinable'] = {accept = {'chloroform'}, reward = 'chloroform_cloth', anim = {['dict'] = 'amb@world_human_bum_slumped@male@laying_on_left_side@base', ['lib'] = 'base', ['text'] = 'Mixing chloroform..', ['timeOut'] = 10000}},   ['description'] = 'Cloth'},
['chloroform_cloth']                = {['name'] = 'chloroform_cloth',                  ['label'] = 'Chloroform Cloth',          ['weight'] = 15,           ['type'] = 'item',         ['image'] = 'chloroform_cloth.png',       ['unique'] = false,         ['useable'] = true,      ['shouldClose'] = true,     ['combinable'] = nil,   ['description'] = 'Chloroform Cloth'},
['waterbucket']                     = {['name'] = 'waterbucket',                       ['label'] = 'Water Bucket',              ['weight'] = 15,           ['type'] = 'item',         ['image'] = 'waterbucket.png',            ['unique'] = false,         ['useable'] = true,      ['shouldClose'] = true,     ['combinable'] = nil,   ['description'] = 'A bucket of water'},

Images:

chloroform
chloroform_cloth
cloth
waterbucket

much love

1 Like

Iā€™m very interested in this script. It is unique and can see it being used great in RP. My question is however, is it possible to change the TV static video & audio post purchase? What portions are encrypted? Love it otherwise. TIA.

1 Like

You can change the video by going inside the ui folder whichs is found in the resource folder. There is a file named video.mp4 replace it with your video. If your video already have the audio you donā€™t need to produce the next steps. If you got a video without audio create a file named audio.mp3 and put it inside the same folder where video.mp4 is located then open the index.html file and replace everything with this:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>FiveM Nui</title>
    <style>
        .app {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
        }
        #video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    <div id="app">
        <video id="video" src="./video.mp4" style="display: none;"></video>
        <audio id="audio" src="./audio.mp3"></audio>
    </div>
    <script>
        window.addEventListener('message', function(event) {
            if (event.data.type == "knockout") {
                var video = document.getElementById("video");
                var audio = document.getElementById("audio");
                
                video.style.display = "block";
                video.currentTime = 0;
                video.play();
                
                audio.currentTime = 0;
                audio.play();
            } else if (event.data.type == "knockoutEnd") {
                var video = document.getElementById("video");
                var audio = document.getElementById("audio");
                
                video.style.display = "none";
                video.pause();
                
                audio.pause();
            }
        });
    </script>
</body>
</html>

then open to the fxmanifest.lua file go to the files section and add following data

from this:

files {
    'ui/*.html',
    'ui/*.js',
    'ui/*.css',
    'ui/*.png',
    'ui/*.mp4',
}

to

files {
    'ui/*.html',
    'ui/*.js',
    'ui/*.css',
    'ui/*.png',
    'ui/*.mp4',
    'ui/*.mp3'
}
1 Like