Jump to content

Failed to compile last update game

Closed 1.5.0 1.5.1

shturval
shturval

Posted (edited)

PoliceVehicles - Failed to compile: 'IFuelSystem' does not contain a definition for 'AddStartingFuel' and no accessible extension method 'AddStartingFuel' accepting a first argument of type 'IFuelSystem' could be found (are you missing a using directive or an assembly reference?) | Line: 286, Pos: 50

Edited by shturval
title add
MK_

Posted

same issue due to rust updates

OMGaming

Posted (edited)

I have the same issue, however I do have a quick fix to get Police Vehicles back into your servers, but you will need to fuel up some of the vehicles because of  removing these lines.
If you are using version 1.5.0 comment out the following lines by placing // at the beginning of the line: 286, 394, 427, 494, 628, 786, 1201.  The keyword you are looking for is AddStartingFuel and GetFuelContainer.

Hopefully the Dev will get a proper fix soon.

Edited by Sa1tire
HexOptimal

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.5.1

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.6k
Marketplace sales
Payments
3.3m
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.