Integration

This is an entire page on what you can integrate with

circle-exclamation

Payphone

circle-info

There is many different types of phones out there so this event is open for you to incorporate whatever you could possibly need!

RegisterNetEvent("DHS-PrisonSim:client:UsePayphone", function()
    if Config.Phone == "lb-phone" then
        local phoneNumber = lib.inputDialog("Enter Phone Number", {
            { type = "input", label = "Phone Number", default = "1234567890" }
        })
        if phoneNumber then
            TriggerServerEvent("DHS-PrisonSim:server:UsePayphoneLB", phoneNumber)
        end
    elseif Config.Phone == "custom" then
        -- Custom Phone Function Here
    end
end)

Convoy Start,End, and InConvoy Functions

circle-info

Sometimes you may need to do something on Convoy Start, End or even the minute they are in the convoy, this could be useful for a seatbelt script or something else you might need to do!


Gate Door Minigame

circle-info

By default we use ox_lib for the Gate Door minigame however, in the DHS-PrisonSim/client/editablefunctions_cl.lua you can edit this to match whatever minigame you want.


Workout Minigame

circle-info

By default we use ox_lib for the workout minigame however, in the DHS-PrisonSim/client/editablefunctions_cl.lua you can edit this to match whatever minigame you want.


Medical Script Functionality

circle-info

As their is many medical scripts we felt the best way to provide support for healing prisoners was to have a completely open function where you can do absolutely anything you need to make sure your medical script hooks perfectly into PrisonSim if you have any issues open a ticket and we will be glad to help you!


Dispatch Function

circle-info

By default we use qbcore built in system however we have support for both:

  • ps-dispatch

  • cd-dispatch

however if you know what you are doing you can implement your own as well.

  • DHS-PrisonSim/client/editablefunctions_cl.lua


Notify System

circle-info

By default we use the built in qbcore notify system however we also support ox_lib notify but if you know what you are doing you can integrate this as well.

  • DHS-PrisonSim/client/editablefunctions_cl.lua


Reset Clothing

circle-info

By Default we use Illenium appearance however you can change this to whatever you use

  • DHS-PrisonSim/client/editablefunctions_cl.lua


Fuel System

circle-info

We support many different fuel systems and we make it quite easy to add your own


Custom Vehicle Function

circle-info

If your needing to do something specific like paint or change the livery of the convoy vehicles do so here


Give Keys Function

circle-info

If your using a different vehicle key system put it here


Gate Door Minigame

circle-info

For those that use the gate door escape you can change the minigame for hacking the gate here


On Prisoner Sentenced Function

circle-info

When the prisoner is sentenced you can have something happen like notifying the whole server or whatever it is you want to do


Last updated