Jump to content

Failed compiling 'MedicalItems.cs'

Pending 1.0.3

xNoT4Lk
xNoT4Lk

Posted

  1. A constant value is expected [CS0150]
     (Internal 24 line 343)

 

  • Curator
imthenewguy

Posted

I tested on my server and the plugin compiles fine.

It looks like you've either changed the cs file (which should never be done unless you know what you are doing), or an invalid config (which would probably through a different error.

Delete the plugin, delete the config, download a new copy and pop it on your server.

 

xNoT4Lk

Posted

Hello, no... Quite the opposite. I downloaded the plugin and installed it directly on the server...
I don't even have a clue what I should change.
The main thing is that the thing shows me the fuel level...

I'll give it a try anyway.

Kind regards

 

xNoT4Lk

Posted

This message continues:



Failed compiling 'MedicalItems.cs':
  1. A constant value is expected [CS0150]
     (Internal 24 line 343)

  • Curator
imthenewguy

Posted

Im not sure mate. I have downloaded the copy from here, tried on a fresh server etc. It works fine.

MAybe delete data file and config file? Not sure if that will help, but the plugin functions/compiles fine. The issue may be with your server.

 

xNoT4Lk

Posted

It's a shame to hear it could be Carbon?
A config file isn't being created because it's not even loading.

I deleted everything and just downloaded it, but unfortunately, I got this message.

 

  • Curator
imthenewguy

Posted

5 hours ago, xNoT4Lk said:

It's a shame to hear it could be Carbon?
A config file isn't being created because it's not even loading.

I deleted everything and just downloaded it, but unfortunately, I got this message.

 

Potentially could be carbon. I don't have an environment setup for Carbon at the moment as I am using Oxide. Might be worth trying on oxide to see if the issue resolves?

xNoT4Lk

Posted

You've stated that it's compatible with Carbon. I think you have a duty to act now. I don't generally use Oxide and would have to set up a completely new server for that, and all my plugins are optimized for Carbon. I apologize for that! And I'll hope for a solution.

Bild_2025-09-25_225206501.png

  • Curator
imthenewguy

Posted

Ill ask Raul what the situation is. I spooled up a carbon server and im having the same issue. 

xNoT4Lk

Posted

Okay, I hope you can see that I'm not interested in other people's plugins 🙂
Greetings and thanks

xNoT4Lk

Posted

Is there any news yet?

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

136.5k

Files Sold

Total number of files sold.

2.9m

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.