SA-MP Forums Archive
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: Jail (/showthread.php?tid=270584)



Jail - Jeroen52 - 20.07.2011

Hi, I got a Jail system but it puts people randomly in cells and many times together, how can I do that the first player who gets jailed goes in cell one, the second player who gets jailed goes in cell 2, then player one goes free and player 3 gets jailed and goes in cell 3, I want the sells to be made on ID's from 1 to 32 (because I have a bot).


Re: Jail - Shockey HD - 21.07.2011

Quote:
Originally Posted by Jeroen52
Посмотреть сообщение
Hi, I got a Jail system but it puts people randomly in cells and many times together, how can I do that the first player who gets jailed goes in cell one, the second player who gets jailed goes in cell 2, then player one goes free and player 3 gets jailed and goes in cell 3, I want the sells to be made on ID's from 1 to 32 (because I have a bot).
Maybe random spawns?


Re: Jail - Jeroen52 - 21.07.2011

Quote:
Originally Posted by Shockey HD
Посмотреть сообщение
Maybe random spawns?
No that will make a lot of DM but I also accept some help with "Free Cells" like this:
Player One enters Cell 1, Player Two enters Cell 2, Player One leaves Cell 1, Player Three enters Cell 1.
I know it works with some kind of thing like cell01 = 320 (320 = the amount of seconds until the cell is marked "Cleared")