SA-MP Forums Archive
[HELP] Putting in 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] Putting in jail (/showthread.php?tid=80405)



[HELP] Putting in jail - joeri55 - 04.06.2009

Here is my jail script:
http://pastebin.com/m268b26ae

How can I change to position of putting people in jail?
Because now it's inside the LSPD and I want that it is in the police garage.


Re: [HELP] Putting in jail - Weirdosport - 04.06.2009

Change this line: SetPlayerPos(giveplayerid,264.395200,77.564040,100 1.039000);


Re: [HELP] Putting in jail - joeri55 - 04.06.2009

Thanks.


Re: [HELP] Putting in jail - joeri55 - 04.06.2009

I changed it to 1527.3474,-1677.1046,5.8906 but if I go to that place it says one of you isn't close to the cells?
And when I gone to the cells it worked but I changed the cords?


Re: [HELP] Putting in jail - -eXo - 04.06.2009

Quote:
Originally Posted by joeri55
I changed it to 1527.3474,-1677.1046,5.8906 but if I go to that place it says one of you isn't close to the cells?
And when I gone to the cells it worked but I changed the cords?
You changed where they are set after they are jailed. I think you need to change this
Quote:

if (TestDistance(playerid,giveplayerid,264.395200,77. 564040,1001.039000,7))

{