1.5.1 • Published 2 years ago

qbcore.js v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

QBCore.js

About

This is a JavaScript/TypeScript wrapper for the QBCore framework in FiveM, based on esx.js by itschip.

If you experience any issues, please post them in the Issues.

Guide

Installation

Run npm i qbcore.js to install the package. When this is done you are ready to use it.

Usage

So how do you use it?

First you need to import either the Client class or Server class.

Client

import { Client } from 'qbcore.js'

let QBCore: Client = exports['qb-core'].GetCoreObject()

Server

import { Server } from 'qbcore.js'

let QBCore: Server = exports['qb-core'].GetCoreObject()

You can also import a single type:

import { Player } from 'qbcore.js/@types/server'

const Player: Player

Contributions and Additions are always welcome!

1.5.1

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.2.4

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.2.3

3 years ago

1.1.4

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago