[Help] /jail
#1

Hello guys,

I've got a problem.
I want that I can jail from the Police Garage in Los Santos.
This is the /jail script.
http://pastebin.com/m1f744c1d

This are the cords of the police jail:
AddPlayerClass(283,264.7072,77.5876,1001.0391,272. 5658,0,0,0,0,0,0); // Police Jail


And this is the place where the officers must /jail [id]
AddPlayerClass(283,1526.5688,-1677.8977,5.8906,88.7256,0,0,0,0,0,0); // Officers /jail


Can anyone say how to put those cords in my script?
Reply
#2

Quote:
Originally Posted by joeri55
Hello guys,

I've got a problem.
I want that I can jail from the Police Garage in Los Santos.
This is the /jail script.
http://pastebin.com/m1f744c1d

This are the cords of the police jail:
AddPlayerClass(283,264.7072,77.5876,1001.0391,272. 5658,0,0,0,0,0,0); // Police Jail


And this is the place where the officers must /jail [id]
AddPlayerClass(283,1526.5688,-1677.8977,5.8906,88.7256,0,0,0,0,0,0); // Officers /jail


Can anyone say how to put those cords in my script?
This code is untested, but I only changed a few parameters. If it was working before it should still work.

http://pastebin.com/pastebin.php?diff=m6932d7d8

I have linked you to a version using the pastebin diff tool. This tool will highlight altered lines, and show you the previous version as well. This is a must have for serious developers.
Reply
#3

Thanks samgreen I hope it works now.
If it doesn't I will contact you.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)