Coder Social home page Coder Social logo

pacificheist-vrp2-'s Introduction

Pacific Standard Bank Heist Script by utku

Made by utku#9999 (UTK)

Converting form ESX to vRP by AceDax#0394 and BradXY#5882

ESX version

vRP0.5 / Dunko vRP version

You can edit this freely. If you want to share an improved or edited version of this script, just please ask for my permission and credit me.

Changing the file names breaks the script. Just don't change it.

My Discord

I share my ideas and announce upcoming scripts here, join if you are interested. I also try to help people as long as I have time, but you are encouraged to ask for help in FiveM forum.

My Patreon

I share my scripts to my Patrons very early for them to test and provide feedback, so that I can fix issues before the public release. This script had lots of bugs, issues and missing features which I fixed with the helps of my Patrons. You can support my work here if you want.

Installation

This script is made for vRP2 not Dunko vRP or vRPEX.

Updating vRP Folder

  • Change __resource.lua file name to fxmanifest.lua

  • Inside fxmanifest.lua add these lines:

fx_version "adamant"

game "gta5"
  • Open vrp/client/map.lua and change the fallowing lines:
-- line 87
SetBlipSprite(self.blip, 29)

--line 144
SetBlipSprite(self.blip, 29)
  • Open vrp/client/garage.lua and add these lines accordingly:

add this:

local id = NetworkGetNetworkIdFromEntity(nveh)  
    SetNetworkIdCanMigrate(id, true)

after

local nveh = CreateVehicle(mhash, x,y,z+0.5, 0.0, true, false)

and comment out SetEntityAsMissionEntity(nveh, true, true)

After that, replace function Garage:despawnVehicle(model) with

function Garage:despawnVehicle(model)
    local veh = self.vehicles[model]
  
    if veh then
        vRP:triggerEvent("garageVehicleDespawn", model)
        SetEntityAsMissionEntity(veh, false, true)
        DeleteVehicle(veh)
        self.vehicles[model] = nil
        return true
    end
end
  • Also make sure you have provided a some sort of way of reaching the item "lockpick", "thermal_charge" and "laptop_h" to your players because they are essential to the heist.

  • Make sure to start utk_ornateprops before vrp2_utk_ornateheist

Configuration

  • There are lots of comment lines inside the code for you to understand better.

pacificheist-vrp2-'s People

Contributors

utkuali avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pacificheist-vrp2-'s Issues

Breaks vRP

Open vrp/client/map.lua and change the fallowing lines:
-- line 87
SetBlipSprite(self.blip, 29)

--line 144
SetBlipSprite(self.blip, 29)

This completely breaks vRP and makes no scense

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.