SA-MP Forums Archive
A litte help if anyone knows how to - 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: A litte help if anyone knows how to (/showthread.php?tid=99313)



A litte help if anyone knows how to - kman - 26.09.2009

so im adding a anti jail leave so if they leave jail when arrested they get teled to another jail thats unleave able until admins says so


Re: A litte help if anyone knows how to - brett7 - 26.09.2009

how do you tell if a player is in jail ie. jail[playerid]

or what ever you have got


Re: A litte help if anyone knows how to - CJ101 - 26.09.2009

Quote:
Originally Posted by kman
so im adding a anti jail leave so if they leave jail when arrested they get teled to another jail thats unleave able until admins says so
Dont let them use commands.
Freeze them.


Re: A litte help if anyone knows how to - Jay_ - 27.09.2009

Use GetPlayerPos to check if they're not inside the jail cell and SetPlayerPos to respawn them back inside.