0.11.0 • Published 3 months ago

@infernus/streamer v0.11.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@infernus/streamer

npm npm npm bundle size

A functional wrapper of the popular SA-MP streamer plugin (v2.9.6) for samp-node.

Notice

If you are using @infernus/core you should not use this package alone as core is already integrated internally.

Getting started

pnpm add @infernus/streamer

Example

import { CreateDynamicObject, GetDynamicObjectPos } from "@infernus/streamer";

// In a callback event, such as OnGameModeInit
samp.on("OnGameModeInit", () => {
  const exampleObj = CreateDynamicObject(
    2587,
    2001.195679,
    1547.113892,
    14.2834,
    0.0,
    0.0,
    96.0
  );
  const { x, y, z } = GetDynamicObjectPos(exampleObj);
  console.log(x, y, z);
});
0.11.0

3 months ago

0.10.3

3 months ago

0.10.1

5 months ago

0.10.2

3 months ago

0.10.0

6 months ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.1

1 year ago