Skip to content

vanishdevs/vanish_starterpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter Pack Script

This script provides a convenient way for players to receive starter packs containing predefined items by interacting with a designated NPC at a certain location. Below, you'll find everything you need to know about installing, configuring, and using this system effectively.

Preview

Watch the video

Features

  • Allows players to interact with an NPC to receive starter packs.
  • Customizable NPC ped, position, and animation.
  • Easily configurable starter pack contents.
  • Server-side functionality to check and mark players who have received starter packs.

Installation

  • Copy the downloaded script files into your server's resource folder.
  • Ensure the script is properly included in your server configuration file (server.cfg) to ensure it loads correctly when your server starts.
  • Run the install.sql query in your database, before starting the script.
  • Ensure that you have the necessary dependencies installed, ox_lib.

Configuration

Configure the following parameters in the config:

  • Coords: The position where the NPC will be located.
  • Ped: The model of the NPC (can be found in FiveM docs about peds).
  • PedAnim: The scenario the NPC will be performing while standing.
  • Items: The contents of the starter pack, defined as a table where the key is the item name and the value is the quantity.

Dependencies

Ensure that the following dependency is installed:

About

A simple script that gives players their starter pack upon first join and interaction with NPC.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages