SA-MP Forums Archive
How to make a 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)
+--- Thread: How to make a jail (/showthread.php?tid=513318)



How to make a jail - Johnson_Brooks - 15.05.2014

I would like to know how can i make an arrested player go to the default jail after he has been arrested. and remain to the jail for 1 minute.
I would also like to know how to make a proper /arrest command , since mine is giving me alot of errors :S .
But in-order to make the /arrest command a full /arrest command i need to know how can i make him go to the default jail.
Im making alot of questions today because i've never worked on a Cops and Robbers script and i can't work it out without help . Thanks .
Also if someone is interested , im looking for a co-owner scripter.


Re: How to make a jail - Campbell- - 15.05.2014

You will have to use SetPlayerPos() to teleport the player to the cell of your choice.


Re: How to make a jail - Johnson_Brooks - 15.05.2014

Quote:
Originally Posted by Campbell-
Посмотреть сообщение
You will have to use SetPlayerPos() to teleport the player to the cell of your choice.
If i script a jail , could that work ?
EDIT: Also can someone make an /arrest command ?