A constant value is expectedFixed

Hi there can anyone help? The plugin is broken as of todays update, and I notice a few others on my serverf with exactly the same error message. I'm guessing they're all related.

Failed to compile: GatherRewards.cs(332,31): error CS0150: A constant value is expected

yep my server had this pluggin break today to if anyone knows of a fix or if anyone rewrote the code id much be greatfull since my servers setup for money and not rp 

Change line 330  from NPCMurderer to this

if (entity is ScientistNPC) { animal = "Murderer"; config.Rewards.TryGetValue(animal, out amount); }

will try that now ill let you know in a couple 

Legend thank you

Th3pIqmhPJIhzcs.png shady14u

Change line 330  from NPCMurderer to this

if (entity is ScientistNPC) { animal = "Murderer"; config.Rewards.TryGetValue(animal, out amount); }

That Worked Bro THANKS SO MUCH !was trying to figure out myself was getting pissed X

FFOVxHhGHwt4whU.png shady14u

Change line 330  from NPCMurderer to this

if (entity is ScientistNPC) { animal = "Murderer"; config.Rewards.TryGetValue(animal, out amount); }

this worked. thank you.

Locked automatically