Skip to content

FiveM treasure system that allows treasure spawning in any place in map and adding items to it

Notifications You must be signed in to change notification settings

daZepelin/dzp_treasure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dzp_treasure

FiveM treasure system that allows treasure spawning in any place in map and adding items to it.

Features:

  • Ability to spawn boxes anywhere in map and items to them to be looted;
  • Ability to spawn vehicles anywhere in map and add key item as a requirement;
  • When car is found and required key is in inventory car will be given to player's garage

Preview:

Requirements:

  • esx_vehicleshop (only to use for cars, normal boxes will work without this)

Installation:

  1. Just download or use git clone [email protected]:daZepelin/dzp_treasure.git. And add it to your resources folder
  2. To your server.cfg file add the following lines, which will allow you to create treasure boxes and add loot to them:
start dzp_treasures
add_ace group.admin dzp allow

or

start dzp_treasures
add_ace identifier.steam.<steam-64-id> dzp allow
  1. Add sql.sql file query to your database.

Usage:

After you added your permissions you can create boxes or cars. To do so use the following chat commands:
/addbox <<item1-name> <item1-amount> <item2-name> <item2-amount> ... <itemN-name> <itemN-amount>>
e.g.
/addbox beer 5 black_money 2000

You can add as many items as you want.

To add car use the same command, but as an item name use car (to specify car model) and key (to specify key needed to get the car)
/addbox car <car-model> key <key-item-name>
e.g.
/addbox car elegy key carkey

About

FiveM treasure system that allows treasure spawning in any place in map and adding items to it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages