Table of Contents

Getting Started

Welcome! This guide will help you get up and running with FivemToolsLib.

This project is still in early development. Expect breaking changes and evolving APIs.


Prerequisites

Before you start, ensure your C# FiveM resource is set up correctly and your server uses the QBCore framework.

We highly recommend using the official CitizenFX C# template to set up your resource:


Installing the Library

The recommended way to install FivemToolsLib is via NuGet:

  1. Open your C# resource folder.

  2. Run the following command in your project directory to install the package:

    dotnet add package FivemToolsLib.Client
    

    or

    dotnet add package FivemToolsLib.Server
    
  3. Alternatively, you can download FivemToolsLib.Client.dll (or for server side FivemToolsLib.Server.dll) from the latest GitHub release, and place it in a folder like libs/, and add the following to your .csproj:

<ItemGroup>
    <Reference Include="FivemToolsLib.Client" HintPath="libs/FivemToolsLib.Client.net.dll"/>
</ItemGroup>