jail time

Started by Luis_Labarca, Aug 27, 2016, 11:47 PM

Previous topic - Next topic

Luis_Labarca

Hello friends I could do or have prison system down time

thanks from already ;)
My server RP
IP: 51.222.28.159:8194

Kewun

im working on one, wait
[mergedate]1472372082[/mergedate]
try playing with http://forum.vc-mp.org/?topic=3517.0

maybe you can do anything with it

Kewun

function Arrest(player,target)
{
 if (target.WantedLevel <1) {
  MessagePlayer("This player is not wanted",player)
  return false;
 }
 if (target.WantedLevel > 0) {
  MessagePlayer("[#ffffff]Arrested "+target+" , you get $2500",player)
  player.Cash += 2500;
  target.WantedLevel = 0
  Message("[#ffffff]Police "+player+ " has arrested "+target)
 }
}

then you can change target's virtual world and freeze him and set his pos in prison or something like that..

Cool

Lol he asked for temp jail and you gives him arrest system

Kewun

Quote from: Kewun on Aug 30, 2016, 06:02 AMim working on one, wait
[mergedate]1472372082[/mergedate]
try playing with http://forum.vc-mp.org/?topic=3517.0

maybe you can do anything with it

you cant understand "try playing with" ? i didnt say i will give him temp arrest, i only wanted to suggest him to play with this and try making it
if he needs help, he can write here. but first i suggest him doing something with it

also LuisModsHD you can add a timer to free the prisoner ( setting his virtual world to 1 back, and unfreezing and setting his pos to police station )

MatheuS

if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

Luis_Labarca

My server RP
IP: 51.222.28.159:8194