SA-MP Forums Archive
[Help] /jail - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] /jail (/showthread.php?tid=80997)



[Help] /jail - joeri55 - 07.06.2009

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?


Re: [Help] /jail - samgreen - 07.06.2009

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.


Re: [Help] /jail - joeri55 - 07.06.2009

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