Jump to content

NPC fixed userID

Pending 8.6.7

Steenamaroo
  • Administrator
Steenamaroo

Posted

Hey,

Having multiple npcs with the same userID causes major issues.

It's of particular importance now as Facepunch recently made changes to how npc user IDs are assigned.
They're no longer randomly selected. Instead they're given out sequentially and pooled on death for re-use.

That means there is always a vanilla npc with ID 21 on the map, in addition to your plugin's npc with ID 21.
 

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.2k

Files Sold

Total number of files sold.

3.2m

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.