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

Sa1tire

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

1.5m

Downloads

Total number of downloads.

7.1k

Customers

Total customers served.

105.8k

Files Sold

Total number of files sold.

2.1m

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.