0.2.2 • Published 1 year ago

omp-wrapper v0.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

omp-wrapper

npm npm bundle size

A functional wrapper of the omp new scripting api (natives and callbacks) for samp-node.

Getting started

pnpm add omp-wrapper

Example

import { GetPlayerRawIp, GetPlayerRotationQuat } from "omp-wrapper";

// In an event

const ip = GetPlayerRawIp(playerid);
console.log(`${playerid} with raw ip ${ip} has connected to the server`);

const { w, x, y, z } = GetPlayerRotationQuat(p.playerid);
console.log(w, x, y, z);
0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago