PickleModifications / pickle_prisons

A multi-framework prisons system. Jail System, Work & Activities, Breakouts, and more!
https://picklemods.com
71 stars 42 forks source link

MDT #22

Open ScaryWolfies opened 1 month ago

ScaryWolfies commented 1 month ago

hi, first of all, thanks for the amazing script. second of all, is there a way to link pickle_prisons with ps-mdt? jailing someone with mdt doesnt show up the works like working out and cleaning, ect... as jailing someone with /jail .

thanks in advance

m0rgan07 commented 1 month ago

I have the same question I was wondering if there was some way to configure the PS-MDT jail button to work pickles-prisons

ScaryWolfies commented 1 month ago

I have the same question I was wondering if there was some way to configure the PS-MDT jail button to work pickles-prisons

i found a way to link it - ish

m0rgan07 commented 1 month ago

I have the same question I was wondering if there was some way to configure the PS-MDT jail button to work pickles-prisons

i found a way to link it - ish

Would you mind sharing how?

ScaryWolfies commented 1 month ago

I have the same question I was wondering if there was some way to configure the PS-MDT jail button to work pickles-prisons

i found a way to link it - ish

Would you mind sharing how?

sure, what i did is ;

in qb-policejob /server/main.lua change line 226 into this:

TriggerClientEvent('pickle_prisons:jailPlayer', src)

and line 826 into this :

RegisterNetEvent('pickle_prisons:jailPlayer', function(playerId, time)

and in ps-mdt/client/cl_mugshot.lua at line 229 i changed into:

TriggerServerEvent('pickle_prisons:jailPlayer', targetSourceId, sentence)

that worked out for me, lemme know it that worked out for u too

m0rgan07 commented 1 month ago

I have the same question I was wondering if there was some way to configure the PS-MDT jail button to work pickles-prisons

i found a way to link it - ish

Would you mind sharing how?

sure, what i did is ;

in qb-policejob /server/main.lua change line 226 into this:

TriggerClientEvent('pickle_prisons:jailPlayer', src)

and line 826 into this :

RegisterNetEvent('pickle_prisons:jailPlayer', function(playerId, time)

and in ps-mdt/client/cl_mugshot.lua at line 229 i changed into:

TriggerServerEvent('pickle_prisons:jailPlayer', targetSourceId, sentence)

that worked out for me, lemme know it that worked out for u too

I appreciate it a lot works fine for me 🙂