Jump to content

Error while compiling

Closed 1.0.3 1.0.4

pandemonium

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

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
Link to comment
1.2m

Downloads

Total number of downloads.

6.1k

Customers

Total customers served.

90.3k

Files Sold

Total number of files sold.

1.8m

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.