Jump to content

Error while compiling

Closed 1.0.3 1.0.4

pandemonium
pandemonium

Posted

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

Tanki

Posted

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);

😉

pandemonium

Posted

Fixed! Now to figure out how to set spawns..

Krungh Crow

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.4

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.7m
Total downloads
Customers
11.5k
Customers served
Files Sold
164k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.