Skip to content

G-GiveCar is a script for QBCore providing a command to give a new car to a citizen

License

Notifications You must be signed in to change notification settings

Giana/g-givecar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

G-GiveCar

G-GiveCar is a script for FiveM QBCore providing a command to give a new car to an online citizen by putting it in their garage.

INSTALLATION GUIDE

  1. Drop the g-givecar folder into your [standalone] folder (or whichever other ensured folder you want to use)
  2. Execute the query from g-givecar.sql in your server's database
  3. Use "add_ace" in your server.cfg to give desired access to the command
    1. Ex: add_ace group.admin "can.givecar" allow
    2. Ex. add_ace identifier.steam:xxxxxxxxxxxxxxx "can.givecar" allow
    3. For more info: https://forum.cfx.re/t/basic-aces-principals-overview-guide/90917

FEATURES

  • /admingivecar [id] [carname] used to give player (by server ID) specified car
    • Ex. /admingivecar 1 adder
  • Know which admin gave a car away via the "giver_admin" field in the player_vehicles table
  • Configure which garage the car goes to
  • Configure notifications on car send & receipt via text messages or pop-up notifications

IMAGES

/admingivecar Command

DEPENDENCIES

CREDIT

The code for generating a new license plate is from qb-vehicleshop.

About

G-GiveCar is a script for QBCore providing a command to give a new car to a citizen

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages