Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: Luis_Labarca on Aug 27, 2016, 11:47 PM

Title: jail time
Post by: Luis_Labarca on Aug 27, 2016, 11:47 PM
Hello friends I could do or have prison system down time

thanks from already ;)
Title: Re: jail time
Post by: Kewun on Aug 30, 2016, 06:02 AM
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
Title: Re: jail time
Post by: Kewun on Aug 30, 2016, 06:04 AM
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..
Title: Re: jail time
Post by: Cool on Aug 30, 2016, 10:13 AM
Lol he asked for temp jail and you gives him arrest system
Title: Re: jail time
Post by: Kewun on Aug 30, 2016, 10:19 AM
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 )
Title: Re: jail time
Post by: MatheuS on Aug 30, 2016, 09:30 PM
http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1765.msg11894#msg11894
Title: Re: jail time
Post by: Luis_Labarca on Sep 15, 2016, 01:09 AM

thanks to all (;