Jump to content

Human NPC

Not a Bug 2.0.4

MagnumSkyWolf
MagnumSkyWolf

Posted (edited)

I can't seem to get human npc to work. I copied the way i did it before but that was a good few years back so i don't know where i am going wrong

The old way was to add this 

// your npc ids here string[] npcIDs = {"7847228928", "7847228928", "7847228928"}; private void OnUseNPC(BasePlayer npc, BasePlayer player) { if (npcIDs.Contains($"{npc.userID}")) ATMCUI(player); }

as you can check in the file below

ATMSystem.cs

Edited by MagnumSkyWolf
David

Posted

I never shipped ATMSystem with this feature, what you referring to is custom change. Snippet you posted is pretty much correct except ATMCUI changed to OpenInterface. 

Please remove the file you attached from you comment since your ticket is public and anyone can download the file which is meant to be only for customers.

David

Posted

Changed Status from Pending to Not a Bug

2m

Downloads

Total number of downloads.

9.6k

Customers

Total customers served.

139.9k

Files Sold

Total number of files sold.

3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.