New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@infernus/gps

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infernus/gps

A wrapper of the popular SA-MP GPS plugin for samp-node.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

@infernus/gps

npm npm npm bundle size

A wrapper of the popular SA-MP GPS plugin for samp-node, built-in WazeGPS.

You must use an existing polyfill or compile the corresponding GameMode based on it before you can use it.

Getting started

pnpm add @infernus/core @infernus/gps

Example

import { WazeEvent, isValidWazeGPS, setPlayerWaze, stopWazeGPS } from "@infernus/gps";
import { PlayerEvent } from "@infernus/core";

PlayerEvent.onClickMap(({ player, fX, fY, fZ, next }) => {
  player.sendClientMessage(-1, "GPS set!");
  setPlayerWaze(player, fX, fY, fZ);
  return next();
});

PlayerEvent.onCommandText("stopgps", ({ player, next }) => {
  if (isValidWazeGPS(player)) {
    stopWazeGPS(player);
  }
  return next();
});

WazeEvent.onPlayerRouteFinish(({ player, finishedRoute, next }) => {
  player.sendClientMessage(
    -1,
    "Route finished!" + finishedRoute.tickPosition.toString(),
  );
  return next();
});

Keywords

samp

FAQs

Package last updated on 28 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts