Code Monkey home page Code Monkey logo

id_pickupjob's Introduction


About This Resource

Preview Resource

This resource is a great addition to any roleplay server, pick up job is NPC based job where you have to get a car and return it to NPC to earn money.

This is useful for players because it is time free and easy to earn some money.

Config

In the config file you are able to set:

  • Vehicle obtained for transport to pick up vehicle.
  • Random vehicles for pick up.
  • Random locations where the random vehicles will spawn.
  • Your server name (required for chatmessage).
  • Where the job starts.
  • Where the job ends.
  • Minimum and maximum amount of money that a player will receive after the job is completed.
  • NPC configuration.
  • Blip configuration.

Config.lua file

Config = {}

Config.Vehicles = { -- Vehicles for pickup (you can add as much as you want)
  "infernus",
  "sultan", 
  "blista",
  "t20",
  "burrito",
  "zentorno",
  "patriot",
  "mesa"
}

Config.TransferVehicle = "bati" -- Vehicle obtained for transport to pick-up vehicles

Config.RandomLocations = { -- Random locations where the random vehicles will spawn (you can add as much as you want)
  vector3(-98.3785, 6342.671, 31.490),
  vector3(500.0166, -2981.13, 5.3931)
}

Config.ServerName = "Server Name" -- Your servers name

Config.JobEnd = vector3(880.4930, -3100.54, 5.9007) -- Where the job starts
Config.JobStart = vector3(876.2905, -3105.64, 4.9008) -- Where the job starts

Config.MinAmount = 500 -- The minimum amount of money that a player will receive after the job is completed
Config.MaxAmount = 1000 -- The maximum amount of money that a player will receive after the job is completed

Config.EnableNPC = false
Config.NPCcoords = vector3(876.3229, -3106.54, 5.9008 - 1) -- Location (coords and heading) where the NPC will spawn
Config.NPCheading = 500

Config.EnableBlip = true
Config.BlipName = "Pickup Job"

id_pickupjob's People

Forkers

byserhatt

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.