- ServUO Version
- Publish 57
- Ultima Expansion
- Endless Journey
Tring to add a new script i found, but when compiling i get this error
CS1056: Line 53: Unexpected character '$'
CS1056: Line 53: Unexpected character '$'
Well i tried this, But now the darn thing just says {iCount} and {gCount} when used in game instead of giving the number of houses in danger and such. Guess this will take a bit more work.Well just remove the $...
PrivateOverheadMessage(MessageType.Regular, 453, false, $"There are currently {count} placed houses with {iCount} in danger of collapsing and {gCount} that are greatly worn.", m.NetState);
PrivateOverheadMessage(MessageType.Regular, 453, false, string.Format("There are currently {0} placed houses with {1} in danger of collapsing and {2} that are greatly worn.", count, iCount, gCount), m.NetState);
We use essential cookies to make this site work, and optional cookies to enhance your experience.