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.
Recommended Project Setup
We highly recommend using the official CitizenFX C# template to set up your resource:
- 🔗 FiveM Docs – C# Runtime Setup
- The template uses .NET Framework 4.5.2 by default, which is required for compatibility with the FiveM runtime.
Installing the Library
The recommended way to install FivemToolsLib is via NuGet:
Open your C# resource folder.
Run the following command in your project directory to install the package:
dotnet add package FivemToolsLib.Client
or
dotnet add package FivemToolsLib.Server
Alternatively, you can download
FivemToolsLib.Client.dll
(or for server sideFivemToolsLib.Server.dll
) from the latest GitHub release, and place it in a folder likelibs/
, and add the following to your.csproj
:
<ItemGroup>
<Reference Include="FivemToolsLib.Client" HintPath="libs/FivemToolsLib.Client.net.dll"/>
</ItemGroup>