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

😉

  • Like 1
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

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

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.