A wrapper of the popular SA-MP FCNPC plugin for samp-node.
npm install @infernus/fcnpc !npm !npm bundle size
A wrapper of the popular SA-MP FCNPC plugin for samp-node.
> ⚠ Not applicable to open.mp NPC Component.
> If you are interested in using it, it may work with legacy sa-mp server.
``sh`
pnpm add @infernus/core @infernus/fcnpc
`ts
import { FCNPC, FCNPCEvent } from "@infernus/fcnpc";
FCNPCEvent.onInit(({ next }) => {
const fcnpc = new FCNPC("npc_name").create();
fcnpc.spawn(0, 1697.7418, -1600.1525, 13.5469);
return next();
});
``