Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDT #22

Open
ScaryWolfies opened this issue Jul 20, 2024 · 5 comments
Open

MDT #22

ScaryWolfies opened this issue Jul 20, 2024 · 5 comments

Comments

@ScaryWolfies
Copy link

ScaryWolfies commented Jul 20, 2024

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
Copy link

m0rgan07 commented Aug 5, 2024

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
Copy link
Author

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
Copy link

m0rgan07 commented Aug 6, 2024

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
Copy link
Author

ScaryWolfies commented Aug 7, 2024

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
Copy link

m0rgan07 commented Aug 7, 2024

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 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants