no problem! glad i could help you
Good Morning,
itâs no realy Clear for me,
where exactly can add the script in ?
I followed all the steps, but unfortunately it does not work,
I tried with the main file for MoravianLionâs, I received errors.
can just check my file and add the script if you can.?
many thanks in advance.
Best Regards
Yo
main.lua (61.8 KB)
send me code where you put code, i can check and help. in i am not gonna put the code in for ya
i said put the code in the script so i can help you, but you wonât listen and send me 3 times same file, not going to answer your posts anymore. I am fed up with your questions if you donât even do what i asked. you didnât even try like @MoravianLion and show some error or anything else.
Anyone else got questions or have some problems with the script trying it before asking ans listening to my advises ?
Thank you, @Jager_Bom, for updated instructions on GitHub. This is way better now
Weâve finally test it successfully with friend and itâs really awesome! This will get our RP on another level (not joking). At least, for us itâs crucial resource, so thank you again!
One question, would be possible to change somehow timer, so you can add only minutes for easier misconducts? Like 20 minutes, instead of full 1 hour, which seems to be minimum atm. Or did I overlooked something? When I add â0001â, thatâs one hour, right?
Thank you MoravialLion,
the menu work fine, but when i jail somone, itâs me who goes to prison and not the prisoner.
Try to delete policejob (2 files in total) from serverâs cache
yea i did per hour. you should try to enter 0.5 = 30 min or otherwise in client script youâll see timer 6060
do just timer *60 adn this will jail per minute
are you going to make it so we can write a reason for the arrest and show the jailing officer globally that would be nice.
unfortunatly i wont do that because donât have time a the moment, but you could do it and push your request
How to open Menu? ]]]]]]]
Rename to this âopenJailMenu(GetPlayerServerId(player))â
âopenJailMenu(GetPlayerServerId(player))â put me in jail⌠âopenJailMenu(GetPlayerServerId(closestplayer))â put the player in jail for me !
Okay, I changed the client, but under what button?
added jailoutfit ! update your scripts!!