Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

dockfries/omp-wrapper-streamer

Repository files navigation

omp-wrapper-streamer

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

Getting started

npm i omp-wrapper-streamer

Example

import { OnGameModeInit } from "samp-node-lib";
import { CreateDynamicObject } from "omp-wrapper-streamer";

OnGameModeInit((): void => {
  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);
});

About

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

Topics

Resources

License

Stars

Watchers

Forks