@risinglife/redm-client-bundled
v0.2.2
Published
This package contains the type definitions for the RedM JS module shared types
Readme
RedM Client Bundled Types
This package contains "easy-to-use" types for RedM.
For example:
import * as client from '@risinglife/redm-client-bundled';
// Shut down the loading screen
client.nui.shutdownLoadingScreen();
// Create an ped
client.ped.create(2, 'MP_M_Freemode_01', new client.Vector3(0, 0, 0), 0, false, false);Usage
You can use https://nativedb.dotindustries.dev/rdr3/natives/ or https://docs.fivem.net/natives/ to look how you can use methods.
The only difference is that the package uses “namespaces” instead of “root methods.” This gives us the advantage of having clearly structured functions.
This package contains both native and client methods for RedM.
Other packages
- https://www.npmjs.com/package/@risinglife/redm-client
- https://www.npmjs.com/package/@risinglife/redm-natives
- https://www.npmjs.com/package/@risinglife/redm-server
- https://www.npmjs.com/package/@risinglife/redm-webview
- https://www.npmjs.com/package/@risinglife/redm-shared
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
