Giter Club home page Giter Club logo

am-scraptheft's Introduction

am-scraptheft

This script allows players to steal scrap materials from various objects on the map (i.e. air conditioning units).

Requirements

  • QBCore Framework
  • qb-target
  • ps-dispatch (optional for police alerts)

Features

  • Highly configurable
  • Protected against LUA injectors: Uses a server generated randomised token to authenticate before sending rewards to the clients (not tested) -
  • Support for ps-dispatch
  • Customisable random dispatch messages and callers -Configurable rewards for each object

Preview https://youtu.be/aHsVkWgBlr8

Installation

  • Drag & drop this resource into your resource folder
  • In qb-core/shared/items.lua, add this code under Tools

	['oxycutter'] 				 	 = {['name'] = 'oxycutter', 			    	['label'] = 'Oxy Cutter', 				['weight'] = 10000, 	['type'] = 'item', 		['image'] = 'oxycutter.png', 			['unique'] = false, 	['useable'] = false, 	['shouldClose'] = false,   ['combinable'] = nil,   ['description'] = 'A handy tool for cutting metal'},
  • Add the oxycutter.png from the images folder into in qb-inventory/html/images

Notes

This is my first actual resource and I am still learning, so if you have any constructive feedback, thoughts or suggestions please let me know or open a pull request. Feel free to modify, adapt and share this.

am-scraptheft's People

Contributors

nggcasey avatar

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.