[ESX][FREE] nw-containermission

Preview Link

nw-containermission.zip (10.0 KB)

Features:

  • You can customize the location of every container with just the coords and heading!
  • 2 synchronized scenes! (Container cutting and money picking)
  • Customize the time the player has to pick the money (Maximum 47933 miliseconds > 47.93 seconds), this is a really nice feature because if someone has to pick a container in the harbor and the police is there fast you can just lower the timer per location in the config!
  • Discord webhooks for paying and if a hacker gets kicked.
  • Script debugger, this can be handy if the script won’t start on a particular part. Press F8 and let us know the errors you are getting.
  • Police notification
  • Blip customisation

Dependencies:

  • Game build: 2944 VERY IMPORTANT
  • ESX Legacy
  • Ox-lib
  • Ox-target

Languages:

  • Configurable

Extra information:

  • Code accessible: Yes
  • Subscription based: No
  • Lines: 700+
  • Requirements: ESX legacy, ox_target, ox_lib, Game build 2944 or higher
  • Support: Yes
5 Likes

it would be nice if their any npc for shoot

Good idea, will maybe add that in future, haven’t coded in a while, just placed this script online so people can have a fun and nice script for free :slight_smile:

1 Like

Hello, thanks for making this release for the community!

I have some suggestions: considering you require ox_lib I suggest using the ox lib functions for loading models. (lib.requestModel).
Also: lib.versionCheck can be used on the server in place of what you have now which doesn’t really achieve anything (you have two of the same CheckVersion event)

Anyways, again thanks for the release! :slight_smile:

Hey StevoScripts! Thanks for your reply!

I will update the script with the lib.requestModel (thanks for the suggestion)

I know what you mean with the versioncheck, it’s not achieving anything… will update that or remove it completely :slight_smile:

Is there a possibility to arrange for the police to get a notification on cd_dispech.
A code that should be entered somewhere

RegisterNetEvent(“robberies_creator:alertedPolice”, function(coords, message)
local data = exports[‘cd_dispatch’]:GetPlayerInfo()
TriggerServerEvent(‘cd_dispatch:AddNotification’, {
job_table = {‘police’},
coords = coords,
title = ‘10-XXXX - ROP’,
message = ‘NEGDO POSKUŠA ROPATI’,
flash = 1,
unique_id = tostring(math.random(0000000,9999999)),
blip = {
sprite = 110,
scale = 1.2,
colour = 5,
flashes = true,
text = ‘911 - ROP’,
time = (5601000),
sound = 3,
}
})
end)

Connect me on discord and I’ll help you out. nowiex is my discord