A constant value is expectedFixed
bigfoot129012

i went to this site to get the mod
https://umod.org/plugins/npc-drop-gun

i am using the Rust Server Manager v2 it did all the updates for me  but still getting the 
Error while compiling: NPCDropGun.cs(37,18): error CS0150: A constant value is expected

Could you show me the top of the plugin file with the version?

using System;
using System.Collections.Generic;
using System.Linq;
using Facepunch;
using Newtonsoft.Json;
using UnityEngine;
using Random = UnityEngine.Random;

namespace Oxide.Plugins

HDR Render Texture not supported, disabling HDR on reflection probe.
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Loading Oxide Core v2.0.4004...
Loading extensions...
Loaded extension CSharp v2.0.4046 by Oxide Team and Contributors
Loaded extension MySql v2.0.3760 by Oxide Team and Contributors
Loaded extension Rust v2.0.5392 by Oxide Team and Contributors
Loaded extension SQLite v2.0.3762 by Oxide Team and Contributors
Loaded extension Unity v2.0.3772 by Oxide Team and Contributors
Latest compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
Local compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
Using Covalence provider for game 'Rust'

bigfoot129012

using System;
using System.Collections.Generic;
using System.Linq;
using Facepunch;
using Newtonsoft.Json;
using UnityEngine;
using Random = UnityEngine.Random;

namespace Oxide.Plugins

HDR Render Texture not supported, disabling HDR on reflection probe.
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Missing shader in Main Camera (TOD_Scattering)
Loading Oxide Core v2.0.4004...
Loading extensions...
Loaded extension CSharp v2.0.4046 by Oxide Team and Contributors
Loaded extension MySql v2.0.3760 by Oxide Team and Contributors
Loaded extension Rust v2.0.5392 by Oxide Team and Contributors
Loaded extension SQLite v2.0.3762 by Oxide Team and Contributors
Loaded extension Unity v2.0.3772 by Oxide Team and Contributors
Latest compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
Local compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
Using Covalence provider for game 'Rust'

I'm not sure what you are showing me, but you'd need to look in the plugin file itself for the version number.

this what your talking about

Loaded plugin NPC Drop Gun v2.0.8 by 2CHEVSKII

bigfoot129012

this what your talking about

Loaded plugin NPC Drop Gun v2.0.8 by 2CHEVSKII

If the plugin is loaded, you aren't having the error from this thread.
Locked automatically