@risinglife/fivem-client
v0.2.4
Published
This package contains the type definitions for the FiveM JS module shared types
Readme
FiveM Client Types
This package contains "easy-to-use" types for FiveM.
For example:
import * as client from '@risinglife/fivem-client';
client.shutdownLoadingScreenNui();For native access see this package You can see all functions, and how they can be use at https://nativedb.dotindustries.dev/gta5/natives/ The package must be included when compile the code for example with esbuild.
Since v0.2.0
All root methods (e.g. client.shutdownLoadingScreenNui()) were removed.
The reason for this is clearly that namespaced methods are better and clearer.
If you want them, you must switch to version 0.1.1-legacy
Looking for a bundled variant?
Install the package @risinglife/fivem-client-bundled to have both the client and Game Natives directly in one package.
This package will also be kept up to date, just like the standalone packages.
Contribute
As this package content is being generated from a json file, we do not accept direct pull requests. If you have issues, please create a Issue
