Jump to content

Error while compiling

Closed 1.0.3 1.0.4

Dropped the file into my plugins folder but got this error.

Error while compiling: JunkpileNPC.cs(309,34): error CS1501: No overload for method `Init' takes `14' arguments

 

New to rust and servers, do you know what I'm missing/how to fix?

 

Thanks

Share this comment


Link to comment

line 151, replace by this:

npc.Brain.Senses.Init(npc, npc.Brain, 5f, 30, 40f, 135f, true, true, true, 60f, false, false, true, EntityType.Player, true); 

and line 307, replace by this:

npc.Brain.Senses.Init(npc, npc.Brain, 5f, 50f, 50f, -1f, true, false, true, 60f, false, false, false, EntityType.Player, false);

😉

  • Like 1

Share this comment


Link to comment
481.5k

Downloads

Total number of downloads.

2.7k

Customers

Total customers served.

36k

Files Sold

Total number of files sold.

602.6k

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.