[vRP Framework]-[Psycho Edited - FX 3.5]-[23/07/17]

i think i’m find the notify police function
i’m get a try it if its works i’m make a litte update

1 Like
1 Like


In what form should these strips be transferred? I can not find, help

u see in download about different resolution of survival gui ? u need replace and test

The best position is at the bottom right

u can edit this in gui/progressbar.js

ProgressBar.prototype.frame = function(time)
{
  //update display in function of pbar anchor
  var anchor_name = this.data.anchor;
  var anchor = anchors[this.data.anchor];
  if(anchor){
    var anchor_index = anchor.indexOf(this);
    if(anchor_index >= 0){
      if(anchor_name == "minimap"){ //MINIMAP
        var width = cfg.anchor_minimap_width/anchor.length; //divide horizontal map space by number of pbars

        //set size
        this.div.style.width = this.div_label.style.width = (width-80)+"px";
        this.div_inner.style.height = this.div.style.height = this.div_label.style.height = (12)+"px";
        this.div_label.style.lineHeight = this.div_label.style.height;

        //set label font size
        this.div_label.style.fontSize = "0.8em";

        //set position
        this.div.style.left = (cfg.anchor_minimap_left+anchor_index*width)+"px";
        this.div.style.top = (document.body.offsetHeight-cfg.anchor_minimap_bottom)+"px";
      }
      else if(anchor_name == "botright"){ //BOTRIGHT
        //set size
        this.div.style.width = this.div_label.style.width = (200)+"px";
        this.div_inner.style.height = this.div.style.height = this.div_label.style.height = (20)+"px";
        this.div_label.style.lineHeight = this.div_label.style.height;

        //set label font size
        this.div_label.style.fontSize = "1em";

        //set position
        this.div.style.left = (document.body.offsetWidth-this.div.offsetWidth-1500)+"px";
        this.div.style.top = (document.body.offsetHeight-380-anchor_index*22)+"px";
      }
      else if(anchor_name == "center"){ //CENTER
        //set size
        this.div.style.width = this.div_label.style.width = (500)+"px";
        this.div_inner.style.height = this.div.style.height = this.div_label.style.height = (20)+"px";
        this.div_label.style.lineHeight = this.div_label.style.height;

        //set label font size
        this.div_label.style.fontSize = "1em";

        //set position
        this.div.style.left = Math.round(document.body.offsetWidth/2-this.div.offsetWidth/2)+"px";
        this.div.style.top = Math.round(document.body.offsetHeight-80-anchor_index*22)+"px";
      }
    }
  }

  //smooth display value
  this.disp_value += (this.value - this.disp_value)*0.2;

  //update inner bar
  this.div_inner.style.width = Math.round(this.div.offsetWidth*this.disp_value/100.0)+"px";
}

in botright u can set the position by u resolution

  //set position
        this.div.style.left = (document.body.offsetWidth-this.div.offsetWidth-1500)+"px";
        this.div.style.top = (document.body.offsetHeight-380-anchor_index*22)+"px";
      }

Progressbar.js here u can change options. But you need have knowledge js

u need edit only the -1500 and input u resolution

if u are in botright start options sure

I also wanted to offer this script for notifications. :smiley:

i need + coffe to working thanks all reply guys, love all

1 Like

i’m trying, wait, i need only get some coffe now to working that, the more complicated is done…
notify police its only question time to i’m update this

Look forward to! I hope coffee will be good! :wink:

perfect bro :)) very nice work I love you men <3

1 Like

if u want to make it u can use the download of @JinkLeft outlawalert
and try trigger the event in cfg/itens_transform
in line of bank rob and try to start the trigger
in onstart =
onstep =
onstop =

i u has sucess reply this

its only question about u read all files… try it, make a backup and try and try, u can i know, good luck bro

Once I get LS customs done I’ll work on outlaw alert if no one else touches it.

i’m think its easy to do for outlaw alert, i think u can import the resource of outlaw in vrp folder and try trigger it in rob bank system

see this @JinkLeft @Nana

  • fix police search wanted

Do that mean there is NPC cops ? someone killed my hope yesterday saying it was broken in vRP … i tried your framework mod with Cops 1.3.0 and it was a NO GO… 5 stars… nobody came.

We all play and host different kind of servers, but no cops kills what I want to do.